Skip to content

Unblock NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation #63357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2025

Conversation

ilonatommy
Copy link
Member

The test was quarantined but I cannot reproduce the failure. The issue log indicates that the failure occurred on checking css element selector that was not present. It looks like a timing issue that could have happened if the page was not fully loaded at the time of the check. We can avoid it by adding another check that waits for the page to be loaded.

Description

  • Unblock the test.
  • Make sure we finished navigating back before checking the css selectors.

Fixes #61080

@ilonatommy ilonatommy added this to the 10.0-rc2 milestone Aug 21, 2025
@ilonatommy ilonatommy self-assigned this Aug 21, 2025
@Copilot Copilot AI review requested due to automatic review settings August 21, 2025 09:59
@ilonatommy ilonatommy requested a review from a team as a code owner August 21, 2025 09:59
@ilonatommy ilonatommy added area-blazor Includes: Blazor, Razor Components test-fixed labels Aug 21, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR unblocks a quarantined test NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation that was experiencing timing-related failures. The fix addresses a race condition where CSS element selectors were being checked before the page was fully loaded after navigation.

  • Removes the [QuarantinedTest] attribute to unblock the test
  • Adds a synchronization check to ensure navigation completion before verifying CSS selectors

@javiercn
Copy link
Member

@ilonatommy have you looked at the quarantined test data to see the pass rate?

@ilonatommy
Copy link
Member Author

@ilonatommy have you looked at the quarantined test data to see the pass rate?

That test is not listed among failing tests in the last 30 days.

@ilonatommy ilonatommy enabled auto-merge (squash) August 21, 2025 15:01
@ilonatommy ilonatommy merged commit dcbc438 into dotnet:main Aug 22, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components test-fixed
Projects
None yet
3 participants