Conversation
| await expect( | ||
| page.locator( `role=option[name="${ testData.optionText }"i]` ) | ||
| ).toBeVisible(); |
There was a problem hiding this comment.
A locator.click is auto-awaited; there's no need to check for visibility.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.74 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 1edf3de. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/24396197167
|
What?
Closes #48569.
PR fixes some of the remaining flaky tests by updating locators and ensuring the correct value is selected before inserting autocompletion via the Enter key.
Testing Instructions
CI checks are green, or: