Skip to content

Commit 03be9e9

Browse files
github-actions[bot]Copilotjaviercn
authored
[release/10.0] [Blazor] Skip tests in ThreadingHostedAppTest and ThreadingAppTest (#63537)
* Initial plan * Skip Threading tests due to unreliability - replace QuarantinedTest with Skip attributes Co-authored-by: javiercn <[email protected]> * Simplify skip messages to use only URL as requested Co-authored-by: javiercn <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: javiercn <[email protected]>
1 parent 97efc09 commit 03be9e9

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ protected override void InitializeAsyncCore()
3232
WaitUntilLoaded();
3333
}
3434

35-
[Fact]
36-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
35+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
3736
public void HasHeading()
3837
{
3938
Assert.Equal("Hello, world!", Browser.Exists(By.TagName("h1")).Text);
4039
}
4140

42-
[Fact]
43-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
41+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
4442
public void NavMenuHighlightsCurrentLocation()
4543
{
4644
var activeNavLinksSelector = By.CssSelector(".sidebar a.active");
@@ -66,8 +64,7 @@ public void NavMenuHighlightsCurrentLocation()
6664
item => Assert.Equal("Home", item.Text.Trim()));
6765
}
6866

69-
[Fact]
70-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
67+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
7168
public void CounterPageCanUseThreads()
7269
{
7370
// Navigate to "Counter"
@@ -84,8 +81,7 @@ public void CounterPageCanUseThreads()
8481
Browser.NotEqual("Current count: 0", () => Browser.Exists(By.CssSelector("h1 + p")).Text);
8582
}
8683

87-
[Fact]
88-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
84+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
8985
public void HasFetchDataPage()
9086
{
9187
// Navigate to "Fetch data"

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

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,19 @@ protected override void InitializeAsyncCore()
2828
WaitUntilLoaded();
2929
}
3030

31-
[Fact]
32-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
31+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
3332
public void HasTitle()
3433
{
3534
Assert.Equal("Blazor standalone", Browser.Title);
3635
}
3736

38-
[Fact]
39-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
37+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
4038
public void HasHeading()
4139
{
4240
Assert.Equal("Hello, world!", Browser.Exists(By.TagName("h1")).Text);
4341
}
4442

45-
[Fact]
46-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54497")]
43+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
4744
public void NavMenuHighlightsCurrentLocation()
4845
{
4946
var activeNavLinksSelector = By.CssSelector(".sidebar a.active");
@@ -69,8 +66,7 @@ public void NavMenuHighlightsCurrentLocation()
6966
item => Assert.Equal("Home", item.Text.Trim()));
7067
}
7168

72-
[Fact]
73-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/58242")]
69+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
7470
public void CounterPageCanUseThreads()
7571
{
7672
// Navigate to "Counter"
@@ -87,8 +83,7 @@ public void CounterPageCanUseThreads()
8783
Browser.NotEqual("Current count: 0", () => Browser.Exists(By.CssSelector("h1 + p")).Text);
8884
}
8985

90-
[Fact]
91-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
86+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
9287
public void HasFetchDataPage()
9388
{
9489
// Navigate to "Fetch data"
@@ -109,8 +104,7 @@ public void HasFetchDataPage()
109104
}
110105
}
111106

112-
[Fact]
113-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
107+
[Fact(Skip = "https://github.com/dotnet/aspnetcore/issues/63524")]
114108
public void IsStarted()
115109
{
116110
// Read from property

0 commit comments

Comments
 (0)