Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes intermittent error in cypress "Index Text Block" test #6755

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

wesleybl
Copy link
Member

Waits for the slate editor to be visible before attempting to insert text.

This fixes the error:

  1) Block Indexing Tests
       Index Text Block:
     AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Noam Avram Chomsky' within the element: <div> but never did.
      at Context.eval (webpack://@plone/volto/./cypress/tests/core/blocks/blocks-indexing.js:19:51)

See: https://github.com/plone/volto/actions/runs/13332572803/job/37240061119?pr=6754#step:4:445

Caution

The Volto Team has suspended its review of new pull requests from first-time contributors until the release of Plone 7, which is preliminarily scheduled for the second quarter of 2026.
Read details.



If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Closes #

Copy link

netlify bot commented Feb 14, 2025

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit 46e43c8
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67b08eed09208c000867ddb8

@wesleybl wesleybl force-pushed the fix_test_blocks-indexing branch 2 times, most recently from 020c830 to 46e43c8 Compare February 15, 2025 12:56
Waits for the slate editor to be visible before attempting to insert
text.
@davisagli davisagli merged commit 995bdbd into main Feb 15, 2025
78 of 79 checks passed
@davisagli davisagli deleted the fix_test_blocks-indexing branch February 15, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants