Repository navigation
Repair wp/6.7 branch Actions: Fix flaky DataViews list-layout keyboard e2e tests - #83641
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Size Change: 0 B Total Size: 1.77 MB ℹ️ View Unchanged
|
|
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. |
f6512ae to
8105150
Compare
8105150 to
58e1496
Compare
58e1496 to
8e97a08
Compare
8e97a08 to
70efb65
Compare
70efb65 to
c483082
Compare
c483082 to
2b58d20
Compare
Part of #82783.
What?
Stabilizes
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.jswith two upstream fixes:beforeEachfor the Pages list to finish loading (the "Add filter" button and the grid) before any keyboard input, and drops the per-test grid waits this replaces.Why?
This spec hasn't failed in the last 65 end-to-end runs on this stack, but it has the same setup as on
wp/7.0, where it failed 8 of 100 runs. It's included here for consistency.The Pages list on this branch sorts by date, not title (upstream never had to address that, because
trunksorts by title). So the spec gives its two pages explicit dates, as onwp/6.6's #83627, so their order doesn't depend on creation timing. It also deletes existing pages in itsbeforeAll, because pages left behind by earlier specs (such as the draftsmeta-attribute-block.spec.jssaves) would otherwise sort above both.Upstream
Ports
99043f7(#78054) andbdb1750(#78503) fromtrunk, one commit each. On this branchbeforeEachcomes afterafterAll, so the wait is added there, and #78503's renames in the "Search input retains focus while typing" test are left out because this branch doesn't have that test.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.
🤖 Generated with Claude Code