File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/Components/test/E2ETest
Infrastructure/ServerFixtures Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ public class BlazorWasmTestAppFixture<TProgram> : WebHostServerFixture
25
25
public string PathBase { get ; set ; }
26
26
public string ContentRoot { get ; private set ; }
27
27
28
+ public bool RequiresMultithreadingHeaders { get ; set ; }
29
+
28
30
protected override IHost CreateWebHost ( )
29
31
{
30
32
if ( TestTrimmedOrMultithreadingApps )
@@ -61,7 +63,7 @@ protected override IHost CreateWebHost()
61
63
args . Add ( Environment ) ;
62
64
}
63
65
64
- if ( WebAssemblyTestHelper . MultithreadingIsEnabled ( ) )
66
+ if ( RequiresMultithreadingHeaders || WebAssemblyTestHelper . MultithreadingIsEnabled ( ) )
65
67
{
66
68
args . Add ( "--apply-cop-headers" ) ;
67
69
}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ public ThreadingAppTest(
19
19
ITestOutputHelper output )
20
20
: base ( browserFixture , serverFixture , output )
21
21
{
22
+ serverFixture . RequiresMultithreadingHeaders = true ;
22
23
}
23
24
24
25
protected override void InitializeAsyncCore ( )
@@ -28,12 +29,14 @@ protected override void InitializeAsyncCore()
28
29
}
29
30
30
31
[ Fact ]
32
+ [ QuarantinedTest ( "https://github.com/dotnet/aspnetcore/issues/54761" ) ]
31
33
public void HasTitle ( )
32
34
{
33
35
Assert . Equal ( "Blazor standalone" , Browser . Title ) ;
34
36
}
35
37
36
38
[ Fact ]
39
+ [ QuarantinedTest ( "https://github.com/dotnet/aspnetcore/issues/54761" ) ]
37
40
public void HasHeading ( )
38
41
{
39
42
Assert . Equal ( "Hello, world!" , Browser . Exists ( By . TagName ( "h1" ) ) . Text ) ;
@@ -85,6 +88,7 @@ public void CounterPageCanUseThreads()
85
88
}
86
89
87
90
[ Fact ]
91
+ [ QuarantinedTest ( "https://github.com/dotnet/aspnetcore/issues/54761" ) ]
88
92
public void HasFetchDataPage ( )
89
93
{
90
94
// Navigate to "Fetch data"
@@ -106,6 +110,7 @@ public void HasFetchDataPage()
106
110
}
107
111
108
112
[ Fact ]
113
+ [ QuarantinedTest ( "https://github.com/dotnet/aspnetcore/issues/54761" ) ]
109
114
public void IsStarted ( )
110
115
{
111
116
// Read from property
You can’t perform that action at this time.
0 commit comments