From ccd2b6fc824031d548465d782853b03653c6d120 Mon Sep 17 00:00:00 2001 From: Ilona Tomkowicz Date: Thu, 21 Aug 2025 11:54:08 +0200 Subject: [PATCH] Make sure we finished navigated back before checking the css selectors. --- src/Components/test/E2ETest/Tests/RoutingTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/test/E2ETest/Tests/RoutingTest.cs b/src/Components/test/E2ETest/Tests/RoutingTest.cs index 3457ca4cd4d1..45ff979605d4 100644 --- a/src/Components/test/E2ETest/Tests/RoutingTest.cs +++ b/src/Components/test/E2ETest/Tests/RoutingTest.cs @@ -970,7 +970,6 @@ public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_PushS } [Fact] - [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/61080")] public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation() { SetUrlViaPushState("/"); @@ -994,6 +993,7 @@ public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_Histo Browser.Navigate().Back(); // The navigation lock has initiated its "location changing" handler and is displaying navigation controls + Browser.Equal(expectedStartingAbsoluteUri, () => app.FindElement(By.Id("test-info")).Text); Browser.Exists(By.CssSelector("#navigation-lock-0 > div.blocking-controls")); // The location was reverted to what it was before the navigation started