Repository navigation
Repair wp/6.4 branch Actions: Fix flaky interactivity router navigate e2e test - #561
Closed
desrosj wants to merge 1 commit into
Conversation
desrosj
added this pull request to stack #555
September 28, 2026 18:32
desrosj
marked this pull request as ready for review
September 28, 2026 18:36
|
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. |
desrosj
removed this pull request from stack #555
September 28, 2026 18:59
desrosj
changed the base branch from
fix-actions-6.4/stabilize-site-editor-perf-tests
to
wp/6.4
September 28, 2026 18:59
desrosj
force-pushed
the
fix-actions-6.4/fix-flaky-router-navigate-test
branch
from
September 28, 2026 19:00
032959d to
057f27c
Compare
desrosj
changed the base branch from
wp/6.4
to
fix-actions-6.4/stabilize-site-editor-perf-tests
September 28, 2026 19:01
desrosj
added this pull request to stack #565
September 28, 2026 19:01
Owner
Author
|
Moved to WordPress#83692. The branch is left in place. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Makes the "should update the HTML only for the latest navigation" test in
test/e2e/specs/interactivity/router-navigate.spec.tswait until the browser has requested both linked pages before letting either request through.Why?
The test holds each page request in a
page.route()handler, and the functions that let a request through (resolveLink1andresolveLink2) are only assigned once those handlers run. The test only waited for the page's own navigation counter, which can reach 2 before Playwright has run the handlers, so callingresolveLink2()could fail withTypeError: resolveLink2 is not a function. This branch has the same race in its copy of the test, so the fix is included for consistency with thewp/7.1–wp/6.8stacks.Upstream
A straight cherry-pick of
e693c18(WordPress#80178) fromtrunk.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