Repository navigation
[release/11.0] Synchronize navigation lock E2E test with browser prompt updates - #70490
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.
🔵 Needs a closer look
The timing-sensitive browser/Blazor interop backport still needs release/11.0 Server and WebAssembly E2E validation, which was blocked by the missing pinned SDK and cannot be established by upstream results.
No open issues 🎉
What changed in this PR
Backports the navigation-lock E2E synchronization fix to release/11.0, addressing intermittent failures caused by navigating before asynchronous prompt registration or unregistration completes.
Changes:
- Tracks completed browser prompt updates and waits for the expected active-lock count before navigation.
- Preserves quarantine attributes, alert handling, and final URL assertions.
Focused E2E execution remains unverified: the PR reports that the pinned SDK is unavailable, so integration validation requires CI.
| File | Description |
|---|---|
src/Components/test/E2ETest/Tests/RoutingTest.cs |
Observes prompt registration changes and waits for completion before testing external navigation. |
Review effort: Balanced
Member
|
/review |
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/11.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 existing quarantine, alert handling, and final URL assertions.
The thirty-day PR audit found this failure in at least 10 release/11.0 builds. This is the root synchronization fix, complementing the quarantine already merged in #70464.
Validation:
git diff --checkverified.11.0.100-rc.3.26522.148is not installed. Isolated checks are not an E2E pass; branch integration validation requires CI.