Skip to content

Commit f9464dc

Browse files
authored
Quarantine some 'ThreadingAppTest' and 'ThreadingHostedAppTest` tests (#54755)
* Quarantine 'ThreadingAppTest.HasHeading' and 'ThreadingAppTest.IsStarted' - Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted - Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.HasHeading Issue: #54754 * Quarantine ThreadingHostedAppTest.{HasHeading,CounterPageCanUseThreads,NavMenuHighlightsCurrentLocation} Issue: #54761 * fix build
1 parent de3d28a commit f9464dc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
55
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
66
using Microsoft.AspNetCore.E2ETesting;
7+
using Microsoft.AspNetCore.InternalTesting;
78
using OpenQA.Selenium;
89
using Xunit.Abstractions;
910

@@ -32,12 +33,14 @@ protected override void InitializeAsyncCore()
3233
}
3334

3435
[Fact]
36+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
3537
public void HasHeading()
3638
{
3739
Assert.Equal("Hello, world!", Browser.Exists(By.TagName("h1")).Text);
3840
}
3941

4042
[Fact]
43+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
4144
public void NavMenuHighlightsCurrentLocation()
4245
{
4346
var activeNavLinksSelector = By.CssSelector(".sidebar a.active");
@@ -64,6 +67,7 @@ public void NavMenuHighlightsCurrentLocation()
6467
}
6568

6669
[Fact]
70+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54761")]
6771
public void CounterPageCanUseThreads()
6872
{
6973
// Navigate to "Counter"

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public void HasTitle()
3434
}
3535

3636
[Fact]
37+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54754")]
3738
public void HasHeading()
3839
{
3940
Assert.Equal("Hello, world!", Browser.Exists(By.TagName("h1")).Text);
@@ -105,6 +106,7 @@ public void HasFetchDataPage()
105106
}
106107

107108
[Fact]
109+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/54754")]
108110
public void IsStarted()
109111
{
110112
// Read from property

0 commit comments

Comments
 (0)