-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix flaky Site Editor command center e2e test #62454
Conversation
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: 1.75 MB ℹ️ View Unchanged
|
Flaky tests detected in 0d14d3e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9454284241
|
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
What?
Fixes #62403.
Fixes flaky test in
site-editor/command-center.spec.js
suite.Why?
It looks like in testing environment left sidebar's and top toolbar's heading can are available on page for a second and PW pick ups both locators.
I narrowed down the locators to avoid the failures.
Testing Instructions
npm run test:e2e -- test/e2e/specs/site-editor/command-center.spec.js
.Testing Instructions for Keyboard
Same.
Screenshots or screencast
CleanShot.2024-06-10.at.23.16.22.mp4