Skip to content

Commit 5d5db32

Browse files
Copilotoroztocil
andcommitted
Apply reviewer feedback: Add QuarantinedTest attribute directly to RoutingTest method
Co-authored-by: oroztocil <[email protected]>
1 parent baa2329 commit 5d5db32

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/Components/test/E2ETest/ServerExecutionTests/TestSubclasses.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
66
using Microsoft.AspNetCore.Components.E2ETest.Tests;
77
using Microsoft.AspNetCore.E2ETesting;
8-
using Microsoft.AspNetCore.InternalTesting;
9-
using Xunit;
108
using Xunit.Abstractions;
119

1210
namespace Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests;
@@ -44,13 +42,6 @@ public ServerRoutingTest(BrowserFixture browserFixture, ToggleExecutionModeServe
4442
: base(browserFixture, serverFixture.WithServerExecution(), output)
4543
{
4644
}
47-
48-
[Fact]
49-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/61080")]
50-
public override void NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation()
51-
{
52-
base.NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation();
53-
}
5445
}
5546

5647
public class ServerCascadingValueTest : CascadingValueTest

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

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

972972
[Fact]
973-
public virtual void NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation()
973+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/61080")]
974+
public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation()
974975
{
975976
SetUrlViaPushState("/");
976977

0 commit comments

Comments
 (0)