Skip to content

Commit dcbc438

Browse files
authored
Unblock NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation (#63357)
Make sure we finished navigated back before checking the css selectors.
1 parent 47e468a commit dcbc438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/test/E2ETest/Tests/RoutingTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,6 @@ public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_PushS
970970
}
971971

972972
[Fact]
973-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/61080")]
974973
public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation()
975974
{
976975
SetUrlViaPushState("/");
@@ -994,6 +993,7 @@ public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_Histo
994993
Browser.Navigate().Back();
995994

996995
// The navigation lock has initiated its "location changing" handler and is displaying navigation controls
996+
Browser.Equal(expectedStartingAbsoluteUri, () => app.FindElement(By.Id("test-info")).Text);
997997
Browser.Exists(By.CssSelector("#navigation-lock-0 > div.blocking-controls"));
998998

999999
// The location was reverted to what it was before the navigation started

0 commit comments

Comments
 (0)