Repository navigation
[release/10.0] Synchronize navigation lock E2E test with browser prompt updates - #70486
Merged
Merged
Conversation
…pt updates Backport of #70382. (cherry picked from commit f0e16a1) Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, though focused E2E verification is still pending CI because the pinned SDK is unavailable.
No open issues 🎉
What changed in this PR
Backports the navigation-lock E2E synchronization fix to release/10.0, making the test wait for browser prompt registration changes before attempting navigation.
Changes:
- Tracks completed prompt registration and unregistration through JavaScript wrappers.
- Waits for the expected active-lock count after each checkbox click, preserving existing quarantine, alert handling, and final URL assertions.
Focused E2E execution remains unverified because the pinned SDK is unavailable; CI validation is still required.
| File | Description |
|---|---|
src/Components/test/E2ETest/Tests/RoutingTest.cs |
Adds prompt-registration tracking and waits to synchronize external-navigation-lock testing. |
Review effort: Balanced
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.
Backport of #70382 to
release/10.0.Wait for completed browser navigation-prompt registration/unregistration before attempting navigation, rather than treating a checkbox click as proof that asynchronous JS interop has completed. Preserve the branch's existing quarantine, alert handling, and final URL assertions.
The thirty-day PR audit found external-navigation-lock failures in at least six release/10.0 builds, including
NoAlertPresentException. The original patch did not apply with a plain patch check, but Git's three-way cherry-pick applied the upstream changes without manual code edits.Validation:
git diff --checkverified.10.0.114is not installed. Isolated checks are not an E2E pass; branch integration validation requires CI.