-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Fix flaky DataViews list arraow nav e2e tests #68503
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
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.84 MB ℹ️ View Unchanged
|
Flaky tests detected in 554bf8d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12633441690
|
I'm going to land this. The e2e test in question has been reported as flaky 600+ times. |
Thanks, George. |
…ry/interactivity-lazy-hydration * 'trunk' of https://github.com/WordPress/gutenberg: (143 commits) Update: Bundle upload media. (#68522) Add: Media field changing ui to Dataviews and content preview field to posts and pages (#67278) Bump the react-native group with 2 updates (#68095) Check Storybook build on CI for PRs (#68466) Bump the github-actions group across 1 directory with 2 updates (#68436) Classic theme preview: remove admin-bar class name (#68519) Remove geriux as code owner (#68523) Post Featured Image: Adds control to clear the the overlay color (#68525) Components: Standardize reduced motion handling using media queries (#68421) Upgrade Playwright to v1.49 (#68504) Document Outline: Use block client ID as unique 'key' (#68502) Storybook: Add UnitControl story (#67346) Details: Add allowedBlocks and TemplateLock attributes (#68489) Post Comment Link: Show Border Control By Default (#68506) Query Total: Show Border Controls By Default (#68507) RSS: Added Colour support (#66419) Refactor: Separate input form styles to a dedicated stylesheet (#68501) Code quality: Fix typos (#67304) Page List: Added color support (#66430) Fix flaky DataViews list arraow nav e2e tests (#68503) ...
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
What?
Fixes #64334.
PR fixes
Navigates the items list via UP/DOWN arrow keys
flaky e2e test indataviews-list-layout-keyboard.spec.js
.Why?
It has been failing a lot lately.
How?
Update cleanup for "Command Center" e2e tests and delete pages it creates, which is generally a good practice, especially for pages.
Ideally, the "Dataviews List Layout" would delete pages in
beforeAll
, but this can cause a race condition withrequestUtils.createPage
.P.S. I think we should refactor the
dataviews-list-layout-keyboard.spec.js
tests and avoid exact label matching for items; we could assert the focused item's position instead.Testing Instructions
Let's observe flaky test notices.