Skip to content

Commit f8b30c8

Browse files
Make E2E tests actually prove something
1 parent 17e9790 commit f8b30c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public StartupErrorNotificationTest(
2020
ITestOutputHelper output)
2121
: base(browserFixture, serverFixture, output)
2222
{
23+
_serverFixture.PathBase = ServerPathBase;
2324
}
2425

2526
[Theory]

src/Components/test/testassets/BasicTestApp/wwwroot/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
<body>
1515
<root>Loading...</root>
1616

17-
<div id="blazor-error-ui">
17+
<!-- Explicit display:none required so StartupErrorNotificationTest can observe it change -->
18+
<div id="blazor-error-ui" style="display: none;">
1819
An unhandled error has occurred.
1920
<a href class='reload'>Reload</a>
2021
<a class='dismiss' style="cursor: pointer;">🗙</a>

0 commit comments

Comments
 (0)