Skip to content

[release/11.0] Synchronize navigation lock E2E test with browser prompt updates - #70490

Merged
wtgodbe merged 1 commit into
release/11.0from
wtgodbe/backport-navigation-sync-release11
Nov 11, 2026
Merged

wtgodbe merged 1 commit into
release/11.0from
wtgodbe/backport-navigation-sync-release11

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Nov 10, 2026

Copy link
Copy Markdown
Member

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:

  • Exact upstream additions/deletions, changed-file scope, C# syntax, unchanged quarantine attributes, and git diff --check verified.
  • Embedded JavaScript syntax and registration-observer logic checked in isolation with Node.
  • Focused E2E execution blocked before compilation: pinned SDK 11.0.100-rc.3.26522.148 is not installed. Isolated checks are not an E2E pass; branch integration validation requires CI.

…pt updates

Backport of #70382.

(cherry picked from commit f0e16a1)

Co-authored-by: Copilot <[email protected]>
@wtgodbe
wtgodbe requested a review from a team as a code owner November 10, 2026 23:23
Copilot AI balanced review requested due to automatic review settings November 10, 2026 23:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@PureWeen

Copy link
Copy Markdown
Member

/review

@wtgodbe
wtgodbe merged commit f8871b1 into release/11.0 Nov 11, 2026
32 checks passed
@wtgodbe
wtgodbe deleted the wtgodbe/backport-navigation-sync-release11 branch November 11, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants