File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/Components/test/E2ETest/ServerRenderingTests Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,22 @@ public override Task InitializeAsync()
2727 => InitializeAsync ( BrowserFixture . StreamingContext ) ;
2828
2929 [ Fact ]
30- public async Task CanRenderNotFound ( )
30+ public async Task CansSetNotFoundStatus ( )
3131 {
3232 var url = $ "{ ServerPathBase } /render-not-found-ssr";
3333 Navigate ( url ) ;
3434 var statusCode = await GetStatusCodeAsync ( url ) ;
3535 Assert . Equal ( 404 , statusCode ) ;
3636 }
37+
3738 private async Task < int > GetStatusCodeAsync ( string relativeUrl )
3839 {
3940 using var client = new HttpClient ( ) ;
4041 string absoluteUrl = $ "{ _serverFixture . RootUri } /{ relativeUrl } ";
4142 var response = await client . GetAsync ( absoluteUrl ) ;
4243 return ( int ) response . StatusCode ;
4344 }
45+
4446 [ Fact ]
4547 public void NavigationManagerCanRefreshSSRPageWhenInteractivityNotPresent ( )
4648 {
You can’t perform that action at this time.
0 commit comments