From adf92230c5ed4a02e92f2cdea1ff79d834a9ae55 Mon Sep 17 00:00:00 2001 From: Matthew Leslie <67387027+MattyLeslie@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:56:55 +0000 Subject: [PATCH 1/3] removing the noReload parameter from WebDriverExtensions.Navigate --- .../Infrastructure/WebDriverExtensions/WebDriverExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/WebDriverExtensions.cs b/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/WebDriverExtensions.cs index 885adaf1eb71..e7b2771f6514 100644 --- a/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/WebDriverExtensions.cs +++ b/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/WebDriverExtensions.cs @@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest; internal static class WebDriverExtensions { - public static void Navigate(this IWebDriver browser, Uri baseUri, string relativeUrl, bool noReload) + public static void Navigate(this IWebDriver browser, Uri baseUri, string relativeUrl) { var absoluteUrl = new Uri(baseUri, relativeUrl); From 003e42b9fa069b244dcf814eee88107da740db0c Mon Sep 17 00:00:00 2001 From: Matthew Leslie <67387027+MattyLeslie@users.noreply.github.com> Date: Mon, 15 Apr 2024 11:18:19 +0000 Subject: [PATCH 2/3] Removing the noReload argument from all references of ServerTestBase.Navigate which directly calls WebDriverExtensions.Navigate --- .../test/E2ETest/Infrastructure/ServerTestBase.cs | 4 ++-- .../BasicTestAppAuthenticationWebDriverExtensions.cs | 4 ++-- .../ServerExecutionTests/CircuitContextTest.cs | 2 +- .../CircuitGracefulTerminationTests.cs | 2 +- .../E2ETest/ServerExecutionTests/HotReloadTest.cs | 2 +- .../ServerInteropTestDefaultExceptionsBehavior.cs | 2 +- ...ServerInteropTestJsInvocationsTimeoutsBehavior.cs | 2 +- .../ServerExecutionTests/ServerReconnectionTest.cs | 2 +- .../test/E2ETest/Tests/BinaryHttpClientTest.cs | 2 +- src/Components/test/E2ETest/Tests/BindTest.cs | 2 +- .../test/E2ETest/Tests/CascadingValueTest.cs | 2 +- src/Components/test/E2ETest/Tests/CircuitTests.cs | 2 +- .../test/E2ETest/Tests/ComponentRenderingTestBase.cs | 2 +- .../test/E2ETest/Tests/CustomElementsTest.cs | 2 +- .../E2ETest/Tests/DynamicComponentRenderingTest.cs | 2 +- .../test/E2ETest/Tests/ErrorBoundaryTest.cs | 2 +- .../test/E2ETest/Tests/ErrorNotificationTest.cs | 2 +- .../test/E2ETest/Tests/EventBubblingTest.cs | 2 +- .../test/E2ETest/Tests/EventCallbackTest.cs | 2 +- .../test/E2ETest/Tests/EventCustomArgsTest.cs | 2 +- src/Components/test/E2ETest/Tests/EventTest.cs | 2 +- .../test/E2ETest/Tests/FormsInputDateTest.cs | 2 +- src/Components/test/E2ETest/Tests/FormsTest.cs | 2 +- .../test/E2ETest/Tests/HeadModificationTest.cs | 2 +- .../E2ETest/Tests/HostedInAlternativeBasePathTest.cs | 2 +- .../test/E2ETest/Tests/HostedInAspNetTest.cs | 2 +- src/Components/test/E2ETest/Tests/HttpClientTest.cs | 2 +- .../test/E2ETest/Tests/InputActionsTest.cs | 2 +- src/Components/test/E2ETest/Tests/InputFileTest.cs | 2 +- src/Components/test/E2ETest/Tests/InteropTest.cs | 2 +- .../test/E2ETest/Tests/JSRootComponentsTest.cs | 2 +- .../test/E2ETest/Tests/JsonSerializationTest.cs | 2 +- src/Components/test/E2ETest/Tests/KeyTest.cs | 2 +- .../test/E2ETest/Tests/MultipleHostedAppTest.cs | 2 +- src/Components/test/E2ETest/Tests/PerformanceTest.cs | 2 +- .../test/E2ETest/Tests/PropertyInjectionTest.cs | 2 +- .../Tests/ProtectedBrowserStorageInjectionTest.cs | 2 +- src/Components/test/E2ETest/Tests/RoutingTest.cs | 12 ++++++------ src/Components/test/E2ETest/Tests/SectionsTest.cs | 4 ++-- .../Tests/SectionsWithCascadingParametersTest.cs | 2 +- .../E2ETest/Tests/SectionsWithErrorBoundaryTest.cs | 2 +- .../test/E2ETest/Tests/StandaloneAppTest.cs | 2 +- .../E2ETest/Tests/StartupErrorNotificationTest.cs | 2 +- src/Components/test/E2ETest/Tests/SvgTest.cs | 2 +- .../test/E2ETest/Tests/ThreadingAppHostedTest.cs | 2 +- .../test/E2ETest/Tests/ThreadingAppTest.cs | 2 +- .../test/E2ETest/Tests/VirtualizationTest.cs | 2 +- .../Tests/WebAssemblyConfigurationHostedTest.cs | 2 +- .../E2ETest/Tests/WebAssemblyConfigurationTest.cs | 2 +- .../E2ETest/Tests/WebAssemblyConfigureRuntimeTest.cs | 2 +- .../E2ETest/Tests/WebAssemblyGlobalizationTest.cs | 2 +- .../test/E2ETest/Tests/WebAssemblyICUShardingTest.cs | 4 ++-- .../test/E2ETest/Tests/WebAssemblyLazyLoadTest.cs | 2 +- .../E2ETest/Tests/WebAssemblyLocalizationTest.cs | 2 +- .../test/E2ETest/Tests/WebAssemblyLoggingTest.cs | 2 +- .../test/E2ETest/Tests/WebAssemblyPrerenderedTest.cs | 2 +- 56 files changed, 65 insertions(+), 65 deletions(-) diff --git a/src/Components/test/E2ETest/Infrastructure/ServerTestBase.cs b/src/Components/test/E2ETest/Infrastructure/ServerTestBase.cs index bcbb3462389a..841cecb32695 100644 --- a/src/Components/test/E2ETest/Infrastructure/ServerTestBase.cs +++ b/src/Components/test/E2ETest/Infrastructure/ServerTestBase.cs @@ -26,9 +26,9 @@ public ServerTestBase( _serverFixture = serverFixture; } - public void Navigate(string relativeUrl, bool noReload = false) + public void Navigate(string relativeUrl) { - Browser.Navigate(_serverFixture.RootUri, relativeUrl, noReload); + Browser.Navigate(_serverFixture.RootUri, relativeUrl); } protected override void InitializeAsyncCore() diff --git a/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/BasicTestAppAuthenticationWebDriverExtensions.cs b/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/BasicTestAppAuthenticationWebDriverExtensions.cs index 0e1fa42c0c48..99447204fd19 100644 --- a/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/BasicTestAppAuthenticationWebDriverExtensions.cs +++ b/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/BasicTestAppAuthenticationWebDriverExtensions.cs @@ -22,14 +22,14 @@ public static void SignInAs(this IWebDriver browser, Uri baseUri, string usernam // original page, but this adds several seconds of delay var originalWindow = browser.CurrentWindowHandle; browser.SwitchTo().NewWindow(WindowType.Tab); - browser.Navigate(baseUri, baseRelativeUri, noReload: false); + browser.Navigate(baseUri, baseRelativeUri); browser.Exists(By.CssSelector("h1#authentication")); browser.Close(); browser.SwitchTo().Window(originalWindow); } else { - browser.Navigate(baseUri, baseRelativeUri, noReload: false); + browser.Navigate(baseUri, baseRelativeUri); browser.Exists(By.CssSelector("h1#authentication")); } } diff --git a/src/Components/test/E2ETest/ServerExecutionTests/CircuitContextTest.cs b/src/Components/test/E2ETest/ServerExecutionTests/CircuitContextTest.cs index d14759152303..0a1eb6306a30 100644 --- a/src/Components/test/E2ETest/ServerExecutionTests/CircuitContextTest.cs +++ b/src/Components/test/E2ETest/ServerExecutionTests/CircuitContextTest.cs @@ -24,7 +24,7 @@ public CircuitContextTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Equal("Circuit Context", () => Browser.Exists(By.TagName("h1")).Text); } diff --git a/src/Components/test/E2ETest/ServerExecutionTests/CircuitGracefulTerminationTests.cs b/src/Components/test/E2ETest/ServerExecutionTests/CircuitGracefulTerminationTests.cs index 51fbc7085d29..ff7e56f9a363 100644 --- a/src/Components/test/E2ETest/ServerExecutionTests/CircuitGracefulTerminationTests.cs +++ b/src/Components/test/E2ETest/ServerExecutionTests/CircuitGracefulTerminationTests.cs @@ -38,7 +38,7 @@ public override async Task InitializeAsync() protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Equal("Graceful Termination", () => Browser.Exists(By.TagName("h1")).Text); diff --git a/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs b/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs index 45e21667f04f..65ec8b0c75ee 100644 --- a/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs +++ b/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs @@ -29,7 +29,7 @@ public override async Task InitializeAsync() protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase; Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestDefaultExceptionsBehavior.cs b/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestDefaultExceptionsBehavior.cs index d1c40817798a..d9330074f6aa 100644 --- a/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestDefaultExceptionsBehavior.cs +++ b/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestDefaultExceptionsBehavior.cs @@ -24,7 +24,7 @@ public ServerInteropTestDefaultExceptionsBehavior( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: true); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestJsInvocationsTimeoutsBehavior.cs b/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestJsInvocationsTimeoutsBehavior.cs index 1522431c7867..d5c05903c193 100644 --- a/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestJsInvocationsTimeoutsBehavior.cs +++ b/src/Components/test/E2ETest/ServerExecutionTests/ServerInteropTestJsInvocationsTimeoutsBehavior.cs @@ -23,7 +23,7 @@ public ServerInteropTestJsInvocationsTimeoutsBehavior( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: true); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/ServerExecutionTests/ServerReconnectionTest.cs b/src/Components/test/E2ETest/ServerExecutionTests/ServerReconnectionTest.cs index e5331034832d..d072a9101e68 100644 --- a/src/Components/test/E2ETest/ServerExecutionTests/ServerReconnectionTest.cs +++ b/src/Components/test/E2ETest/ServerExecutionTests/ServerReconnectionTest.cs @@ -23,7 +23,7 @@ public ServerReconnectionTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Exists(By.Id("count")); } diff --git a/src/Components/test/E2ETest/Tests/BinaryHttpClientTest.cs b/src/Components/test/E2ETest/Tests/BinaryHttpClientTest.cs index 9bf70e44a7d1..a8b06bcab09a 100644 --- a/src/Components/test/E2ETest/Tests/BinaryHttpClientTest.cs +++ b/src/Components/test/E2ETest/Tests/BinaryHttpClientTest.cs @@ -35,7 +35,7 @@ public BinaryHttpClientTest( protected override void InitializeAsyncCore() { - Browser.Navigate(_devHostServerFixture.RootUri, "/subdir", noReload: true); + Browser.Navigate(_devHostServerFixture.RootUri, "/subdir"); _appElement = Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/BindTest.cs b/src/Components/test/E2ETest/Tests/BindTest.cs index 30ccbd1a71be..f64edb1b514e 100644 --- a/src/Components/test/E2ETest/Tests/BindTest.cs +++ b/src/Components/test/E2ETest/Tests/BindTest.cs @@ -26,7 +26,7 @@ public BindTest( protected override void InitializeAsyncCore() { // On WebAssembly, page reloads are expensive so skip if possible - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Exists(By.Id("bind-cases")); } diff --git a/src/Components/test/E2ETest/Tests/CascadingValueTest.cs b/src/Components/test/E2ETest/Tests/CascadingValueTest.cs index d539f3029eea..64ac04be00cd 100644 --- a/src/Components/test/E2ETest/Tests/CascadingValueTest.cs +++ b/src/Components/test/E2ETest/Tests/CascadingValueTest.cs @@ -22,7 +22,7 @@ public CascadingValueTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/CircuitTests.cs b/src/Components/test/E2ETest/Tests/CircuitTests.cs index cc243dba9d80..c7b0e351c2ac 100644 --- a/src/Components/test/E2ETest/Tests/CircuitTests.cs +++ b/src/Components/test/E2ETest/Tests/CircuitTests.cs @@ -24,7 +24,7 @@ public CircuitTests( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); } [Theory] diff --git a/src/Components/test/E2ETest/Tests/ComponentRenderingTestBase.cs b/src/Components/test/E2ETest/Tests/ComponentRenderingTestBase.cs index 108529ce1bb3..c27d04d06ec2 100644 --- a/src/Components/test/E2ETest/Tests/ComponentRenderingTestBase.cs +++ b/src/Components/test/E2ETest/Tests/ComponentRenderingTestBase.cs @@ -27,7 +27,7 @@ public ComponentRenderingTestBase( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } [Fact] diff --git a/src/Components/test/E2ETest/Tests/CustomElementsTest.cs b/src/Components/test/E2ETest/Tests/CustomElementsTest.cs index 171cbae92e16..dd2801e855b1 100644 --- a/src/Components/test/E2ETest/Tests/CustomElementsTest.cs +++ b/src/Components/test/E2ETest/Tests/CustomElementsTest.cs @@ -32,7 +32,7 @@ public CustomElementsTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); app = Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/DynamicComponentRenderingTest.cs b/src/Components/test/E2ETest/Tests/DynamicComponentRenderingTest.cs index 9c8d692b1e03..7f4d2643b5e9 100644 --- a/src/Components/test/E2ETest/Tests/DynamicComponentRenderingTest.cs +++ b/src/Components/test/E2ETest/Tests/DynamicComponentRenderingTest.cs @@ -27,7 +27,7 @@ public DynamicComponentRenderingTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); app = Browser.MountTestComponent(); testCasePicker = new SelectElement(app.FindElement(By.Id("dynamic-component-case-picker"))); } diff --git a/src/Components/test/E2ETest/Tests/ErrorBoundaryTest.cs b/src/Components/test/E2ETest/Tests/ErrorBoundaryTest.cs index 9ff97acdb14c..a31ef73a9f62 100644 --- a/src/Components/test/E2ETest/Tests/ErrorBoundaryTest.cs +++ b/src/Components/test/E2ETest/Tests/ErrorBoundaryTest.cs @@ -21,7 +21,7 @@ public ErrorBoundaryTest(BrowserFixture browserFixture, ToggleExecutionModeServe protected override void InitializeAsyncCore() { // Many of these tests trigger fatal exceptions, so we always have to reload - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/ErrorNotificationTest.cs b/src/Components/test/E2ETest/Tests/ErrorNotificationTest.cs index e3120c29405b..30903dd22eb6 100644 --- a/src/Components/test/E2ETest/Tests/ErrorNotificationTest.cs +++ b/src/Components/test/E2ETest/Tests/ErrorNotificationTest.cs @@ -25,7 +25,7 @@ public ErrorNotificationTest( protected override void InitializeAsyncCore() { // On WebAssembly, page reloads are expensive so skip if possible - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Exists(By.Id("blazor-error-ui")); Browser.Exists(By.Id("throw-simple-exception")); diff --git a/src/Components/test/E2ETest/Tests/EventBubblingTest.cs b/src/Components/test/E2ETest/Tests/EventBubblingTest.cs index 63d89fb2aa3b..3d19ba508728 100644 --- a/src/Components/test/E2ETest/Tests/EventBubblingTest.cs +++ b/src/Components/test/E2ETest/Tests/EventBubblingTest.cs @@ -28,7 +28,7 @@ public EventBubblingTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Exists(By.Id("event-bubbling")); } diff --git a/src/Components/test/E2ETest/Tests/EventCallbackTest.cs b/src/Components/test/E2ETest/Tests/EventCallbackTest.cs index 7186706699bf..1459b968b59b 100644 --- a/src/Components/test/E2ETest/Tests/EventCallbackTest.cs +++ b/src/Components/test/E2ETest/Tests/EventCallbackTest.cs @@ -23,7 +23,7 @@ public EventCallbackTest( protected override void InitializeAsyncCore() { // On WebAssembly, page reloads are expensive so skip if possible - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/EventCustomArgsTest.cs b/src/Components/test/E2ETest/Tests/EventCustomArgsTest.cs index 4cedfd4cb07b..55f22d9cc4d0 100644 --- a/src/Components/test/E2ETest/Tests/EventCustomArgsTest.cs +++ b/src/Components/test/E2ETest/Tests/EventCustomArgsTest.cs @@ -24,7 +24,7 @@ public EventCustomArgsTest( protected override void InitializeAsyncCore() { // Always do a full page reload because these tests need to start with no custom event registrations - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/EventTest.cs b/src/Components/test/E2ETest/Tests/EventTest.cs index f5b20f681597..5f112a11bec5 100644 --- a/src/Components/test/E2ETest/Tests/EventTest.cs +++ b/src/Components/test/E2ETest/Tests/EventTest.cs @@ -26,7 +26,7 @@ public EventTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: true); + Navigate(ServerPathBase); } [Fact] diff --git a/src/Components/test/E2ETest/Tests/FormsInputDateTest.cs b/src/Components/test/E2ETest/Tests/FormsInputDateTest.cs index 12d5bed99ecb..0e034d019e6f 100644 --- a/src/Components/test/E2ETest/Tests/FormsInputDateTest.cs +++ b/src/Components/test/E2ETest/Tests/FormsInputDateTest.cs @@ -30,7 +30,7 @@ public FormsInputDateTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } [Fact] diff --git a/src/Components/test/E2ETest/Tests/FormsTest.cs b/src/Components/test/E2ETest/Tests/FormsTest.cs index 9cba5e1f65d0..c82706d04e50 100644 --- a/src/Components/test/E2ETest/Tests/FormsTest.cs +++ b/src/Components/test/E2ETest/Tests/FormsTest.cs @@ -25,7 +25,7 @@ public FormsTest( protected override void InitializeAsyncCore() { // On WebAssembly, page reloads are expensive so skip if possible - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } protected virtual IWebElement MountSimpleValidationComponent() diff --git a/src/Components/test/E2ETest/Tests/HeadModificationTest.cs b/src/Components/test/E2ETest/Tests/HeadModificationTest.cs index 97f601a82750..5ecc3d377e52 100644 --- a/src/Components/test/E2ETest/Tests/HeadModificationTest.cs +++ b/src/Components/test/E2ETest/Tests/HeadModificationTest.cs @@ -22,7 +22,7 @@ public HeadModificationTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } [Fact] diff --git a/src/Components/test/E2ETest/Tests/HostedInAlternativeBasePathTest.cs b/src/Components/test/E2ETest/Tests/HostedInAlternativeBasePathTest.cs index f20d5583644a..a513fda50fb5 100644 --- a/src/Components/test/E2ETest/Tests/HostedInAlternativeBasePathTest.cs +++ b/src/Components/test/E2ETest/Tests/HostedInAlternativeBasePathTest.cs @@ -24,7 +24,7 @@ public HostedInAlternativeBasePathTest( protected override void InitializeAsyncCore() { - Navigate("/app/", noReload: true); + Navigate("/app/"); WaitUntilLoaded(); } diff --git a/src/Components/test/E2ETest/Tests/HostedInAspNetTest.cs b/src/Components/test/E2ETest/Tests/HostedInAspNetTest.cs index 92fc268b6f39..8f6e1775990c 100644 --- a/src/Components/test/E2ETest/Tests/HostedInAspNetTest.cs +++ b/src/Components/test/E2ETest/Tests/HostedInAspNetTest.cs @@ -23,7 +23,7 @@ public HostedInAspNetTest( protected override void InitializeAsyncCore() { - Navigate("/", noReload: true); + Navigate("/"); WaitUntilLoaded(); } diff --git a/src/Components/test/E2ETest/Tests/HttpClientTest.cs b/src/Components/test/E2ETest/Tests/HttpClientTest.cs index 07584b63277d..df388907dac8 100644 --- a/src/Components/test/E2ETest/Tests/HttpClientTest.cs +++ b/src/Components/test/E2ETest/Tests/HttpClientTest.cs @@ -37,7 +37,7 @@ protected override void InitializeAsyncCore() { base.InitializeAsyncCore(); - Browser.Navigate(_serverFixture.RootUri, "/subdir", noReload: true); + Browser.Navigate(_serverFixture.RootUri, "/subdir"); _appElement = Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/InputActionsTest.cs b/src/Components/test/E2ETest/Tests/InputActionsTest.cs index 0fe86e226009..b59c71dec8aa 100644 --- a/src/Components/test/E2ETest/Tests/InputActionsTest.cs +++ b/src/Components/test/E2ETest/Tests/InputActionsTest.cs @@ -24,7 +24,7 @@ public InputFocusTest( protected override void InitializeAsyncCore() { // On WebAssembly, page reloads are expensive so skip if possible - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } protected virtual IWebElement MountInputActionsComponent() diff --git a/src/Components/test/E2ETest/Tests/InputFileTest.cs b/src/Components/test/E2ETest/Tests/InputFileTest.cs index f4695741267e..bfeb682482fa 100644 --- a/src/Components/test/E2ETest/Tests/InputFileTest.cs +++ b/src/Components/test/E2ETest/Tests/InputFileTest.cs @@ -31,7 +31,7 @@ protected override void InitializeAsyncCore() _tempDirectory = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString("N")); Directory.CreateDirectory(_tempDirectory); - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/InteropTest.cs b/src/Components/test/E2ETest/Tests/InteropTest.cs index af5f69580065..45ea9805fd0e 100644 --- a/src/Components/test/E2ETest/Tests/InteropTest.cs +++ b/src/Components/test/E2ETest/Tests/InteropTest.cs @@ -23,7 +23,7 @@ public InteropTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: true); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs b/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs index 1cb62202a787..9e1739b31987 100644 --- a/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs +++ b/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs @@ -25,7 +25,7 @@ public JSRootComponentsTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); app = Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/JsonSerializationTest.cs b/src/Components/test/E2ETest/Tests/JsonSerializationTest.cs index ccf5f0c01bab..73025c8abe86 100644 --- a/src/Components/test/E2ETest/Tests/JsonSerializationTest.cs +++ b/src/Components/test/E2ETest/Tests/JsonSerializationTest.cs @@ -22,7 +22,7 @@ public JsonSerializationTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Exists(By.Id("json-serialization-cases")); } diff --git a/src/Components/test/E2ETest/Tests/KeyTest.cs b/src/Components/test/E2ETest/Tests/KeyTest.cs index 8e2240af8c71..a67ac3aae5b4 100644 --- a/src/Components/test/E2ETest/Tests/KeyTest.cs +++ b/src/Components/test/E2ETest/Tests/KeyTest.cs @@ -25,7 +25,7 @@ public KeyTest( protected override void InitializeAsyncCore() { // On WebAssembly, page reloads are expensive so skip if possible - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } [Fact] diff --git a/src/Components/test/E2ETest/Tests/MultipleHostedAppTest.cs b/src/Components/test/E2ETest/Tests/MultipleHostedAppTest.cs index 08cc80a6e3c2..230b1bc11a68 100644 --- a/src/Components/test/E2ETest/Tests/MultipleHostedAppTest.cs +++ b/src/Components/test/E2ETest/Tests/MultipleHostedAppTest.cs @@ -24,7 +24,7 @@ public MultipleHostedAppTest( protected override void InitializeAsyncCore() { - Navigate("/", noReload: true); + Navigate("/"); WaitUntilLoaded(); } diff --git a/src/Components/test/E2ETest/Tests/PerformanceTest.cs b/src/Components/test/E2ETest/Tests/PerformanceTest.cs index c3947bf8c969..c237c8fd4aa6 100644 --- a/src/Components/test/E2ETest/Tests/PerformanceTest.cs +++ b/src/Components/test/E2ETest/Tests/PerformanceTest.cs @@ -22,7 +22,7 @@ public PerformanceTest( protected override void InitializeAsyncCore() { - Navigate("/", noReload: true); + Navigate("/"); } public override Task InitializeAsync() => base.InitializeAsync(Guid.NewGuid().ToString()); diff --git a/src/Components/test/E2ETest/Tests/PropertyInjectionTest.cs b/src/Components/test/E2ETest/Tests/PropertyInjectionTest.cs index aa9167cea606..c3a1eec84c46 100644 --- a/src/Components/test/E2ETest/Tests/PropertyInjectionTest.cs +++ b/src/Components/test/E2ETest/Tests/PropertyInjectionTest.cs @@ -24,7 +24,7 @@ public PropertyInjectionTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/ProtectedBrowserStorageInjectionTest.cs b/src/Components/test/E2ETest/Tests/ProtectedBrowserStorageInjectionTest.cs index db651d9a7311..4c7ea4dbd74a 100644 --- a/src/Components/test/E2ETest/Tests/ProtectedBrowserStorageInjectionTest.cs +++ b/src/Components/test/E2ETest/Tests/ProtectedBrowserStorageInjectionTest.cs @@ -23,7 +23,7 @@ public ProtectedBrowserStorageInjectionTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/RoutingTest.cs b/src/Components/test/E2ETest/Tests/RoutingTest.cs index 6faad58b1801..2fa4025d7b5d 100644 --- a/src/Components/test/E2ETest/Tests/RoutingTest.cs +++ b/src/Components/test/E2ETest/Tests/RoutingTest.cs @@ -28,7 +28,7 @@ public RoutingTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.WaitUntilTestSelectorReady(); } @@ -859,7 +859,7 @@ public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_PushS // Add a navigation lock that blocks internal navigations Browser.FindElement(By.Id("add-navigation-lock")).Click(); Browser.FindElement(By.CssSelector("#navigation-lock-0 > input.block-internal-navigation")).Click(); - + var uriBeforeBlockedNavigation = Browser.FindElement(By.Id("test-info")).Text; var relativeCanceledUri = "/mycanceledtestpath"; var expectedCanceledAbsoluteUri = $"{_serverFixture.RootUri}subdir{relativeCanceledUri}"; @@ -955,7 +955,7 @@ public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_Progr // Add a navigation lock that blocks internal navigations Browser.FindElement(By.Id("add-navigation-lock")).Click(); Browser.FindElement(By.CssSelector("#navigation-lock-0 > input.block-internal-navigation")).Click(); - + var uriBeforeBlockedNavigation = Browser.FindElement(By.Id("test-info")).Text; var expectedCanceledRelativeUri = $"/subdir/some-path-0"; @@ -1000,7 +1000,7 @@ public void NavigationLock_OverlappingNavigationsCancelExistingNavigations_Inter // Add a navigation lock that blocks internal navigations Browser.FindElement(By.Id("add-navigation-lock")).Click(); Browser.FindElement(By.CssSelector("#navigation-lock-0 > input.block-internal-navigation")).Click(); - + var uriBeforeBlockedNavigation = Browser.FindElement(By.Id("test-info")).Text; var expectedCanceledAbsoluteUri = $"{_serverFixture.RootUri}subdir/some-path-0"; @@ -1182,7 +1182,7 @@ public void NavigationLock_CanRenderUIForExceptions_ProgrammaticNavigation() // Add a navigation lock that blocks internal navigations Browser.FindElement(By.Id("add-navigation-lock")).Click(); Browser.FindElement(By.CssSelector("#navigation-lock-0 > input.block-internal-navigation")).Click(); - + var uriBeforeBlockedNavigation = Browser.FindElement(By.Id("test-info")).Text; Browser.FindElement(By.Id("programmatic-navigation")).Click(); @@ -1211,7 +1211,7 @@ public void NavigationLock_CanRenderUIForExceptions_InternalLinkNavigation() // Add a navigation lock that blocks internal navigations Browser.FindElement(By.Id("add-navigation-lock")).Click(); Browser.FindElement(By.CssSelector("#navigation-lock-0 > input.block-internal-navigation")).Click(); - + var uriBeforeBlockedNavigation = Browser.FindElement(By.Id("test-info")).Text; Browser.FindElement(By.Id("internal-link-navigation")).Click(); diff --git a/src/Components/test/E2ETest/Tests/SectionsTest.cs b/src/Components/test/E2ETest/Tests/SectionsTest.cs index 7dcfc25e2d2d..e93c0d9bac20 100644 --- a/src/Components/test/E2ETest/Tests/SectionsTest.cs +++ b/src/Components/test/E2ETest/Tests/SectionsTest.cs @@ -26,7 +26,7 @@ public SectionsTest protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); _appElement = Browser.MountTestComponent(); } @@ -256,7 +256,7 @@ public void SectionContentSectionNameChanges_MatchingSectionOutletWithSectionIdR [Fact] public void SectionOutletGetsDisposed_NoContentsRendered() { - // Render Counter and TextComponent SectionContents with same Name + // Render Counter and TextComponent SectionContents with same Name _appElement.FindElement(By.Id("counter-render-section-content")).Click(); _appElement.FindElement(By.Id("text-render-section-content")).Click(); diff --git a/src/Components/test/E2ETest/Tests/SectionsWithCascadingParametersTest.cs b/src/Components/test/E2ETest/Tests/SectionsWithCascadingParametersTest.cs index a0a010122c16..bd69e484a5f8 100644 --- a/src/Components/test/E2ETest/Tests/SectionsWithCascadingParametersTest.cs +++ b/src/Components/test/E2ETest/Tests/SectionsWithCascadingParametersTest.cs @@ -24,7 +24,7 @@ public SectionsWithCascadingParametersTest protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/SectionsWithErrorBoundaryTest.cs b/src/Components/test/E2ETest/Tests/SectionsWithErrorBoundaryTest.cs index 3bd735cac6f7..3509030754af 100644 --- a/src/Components/test/E2ETest/Tests/SectionsWithErrorBoundaryTest.cs +++ b/src/Components/test/E2ETest/Tests/SectionsWithErrorBoundaryTest.cs @@ -24,7 +24,7 @@ public SectionsWithErrorBoundaryTest protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/StandaloneAppTest.cs b/src/Components/test/E2ETest/Tests/StandaloneAppTest.cs index fb97a35655b4..abdc012a2482 100644 --- a/src/Components/test/E2ETest/Tests/StandaloneAppTest.cs +++ b/src/Components/test/E2ETest/Tests/StandaloneAppTest.cs @@ -22,7 +22,7 @@ public StandaloneAppTest( protected override void InitializeAsyncCore() { - Navigate("/", noReload: true); + Navigate("/"); WaitUntilLoaded(); } diff --git a/src/Components/test/E2ETest/Tests/StartupErrorNotificationTest.cs b/src/Components/test/E2ETest/Tests/StartupErrorNotificationTest.cs index ac575e0876d2..37c70e381e29 100644 --- a/src/Components/test/E2ETest/Tests/StartupErrorNotificationTest.cs +++ b/src/Components/test/E2ETest/Tests/StartupErrorNotificationTest.cs @@ -28,7 +28,7 @@ public void DisplaysNotificationForStartupException(bool errorIsAsync) { var url = $"{ServerPathBase}?error={(errorIsAsync ? "async" : "sync")}"; - Navigate(url, noReload: true); + Navigate(url); var errorUiElem = Browser.Exists(By.Id("blazor-error-ui"), TimeSpan.FromSeconds(10)); Assert.NotNull(errorUiElem); diff --git a/src/Components/test/E2ETest/Tests/SvgTest.cs b/src/Components/test/E2ETest/Tests/SvgTest.cs index 9d341dabd90c..5a429784a573 100644 --- a/src/Components/test/E2ETest/Tests/SvgTest.cs +++ b/src/Components/test/E2ETest/Tests/SvgTest.cs @@ -23,7 +23,7 @@ public SvgTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } [Fact] diff --git a/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs b/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs index d5fbcb451365..96c2ca66f964 100644 --- a/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs +++ b/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs @@ -28,7 +28,7 @@ public ThreadingHostedAppTest(BrowserFixture browserFixture, ThreadingAppServerS protected override void InitializeAsyncCore() { - Navigate("/", noReload: true); + Navigate("/"); WaitUntilLoaded(); } diff --git a/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs b/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs index 3afb26163483..abde9156c057 100644 --- a/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs +++ b/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs @@ -23,7 +23,7 @@ public ThreadingAppTest( protected override void InitializeAsyncCore() { - Navigate("/", noReload: true); + Navigate("/"); WaitUntilLoaded(); } diff --git a/src/Components/test/E2ETest/Tests/VirtualizationTest.cs b/src/Components/test/E2ETest/Tests/VirtualizationTest.cs index 46e55d6318a8..d9a29aa8b6c2 100644 --- a/src/Components/test/E2ETest/Tests/VirtualizationTest.cs +++ b/src/Components/test/E2ETest/Tests/VirtualizationTest.cs @@ -25,7 +25,7 @@ public VirtualizationTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: _serverFixture.ExecutionMode == ExecutionMode.Client); + Navigate(ServerPathBase); } [Fact] diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationHostedTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationHostedTest.cs index 0757a8128eb9..ddc83cef68e2 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationHostedTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationHostedTest.cs @@ -26,7 +26,7 @@ protected override void InitializeAsyncCore() { base.InitializeAsyncCore(); - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); _appElement = Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationTest.cs index a3888b9e9778..aee9648a4109 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyConfigurationTest.cs @@ -27,7 +27,7 @@ protected override void InitializeAsyncCore() { base.InitializeAsyncCore(); - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); _appElement = Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyConfigureRuntimeTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyConfigureRuntimeTest.cs index 701b81e31c25..b0c831641cfe 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyConfigureRuntimeTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyConfigureRuntimeTest.cs @@ -25,7 +25,7 @@ protected override void InitializeAsyncCore() { base.InitializeAsyncCore(); - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); } diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyGlobalizationTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyGlobalizationTest.cs index ac5e85cb73cc..47cd99a7ed0f 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyGlobalizationTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyGlobalizationTest.cs @@ -24,7 +24,7 @@ public WebAssemblyGlobalizationTest( protected override void SetCulture(string culture) { - Navigate($"{ServerPathBase}/?culture={culture}", noReload: false); + Navigate($"{ServerPathBase}/?culture={culture}"); // That should have triggered a page load, so wait for the main test selector to come up. Browser.MountTestComponent(); diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyICUShardingTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyICUShardingTest.cs index 128886e4a22d..5af5780d5b48 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyICUShardingTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyICUShardingTest.cs @@ -106,7 +106,7 @@ public void LoadingApp_DynamicallySetLanguageThrows() { // Arrange // This verifies that we complain if the app programtically configures a language. - Navigate($"{ServerPathBase}/?culture=fr&dotNetCulture=es", noReload: false); + Navigate($"{ServerPathBase}/?culture=fr&dotNetCulture=es"); var errorUi = Browser.Exists(By.Id("blazor-error-ui")); Browser.Equal("block", () => errorUi.GetCssValue("display")); @@ -119,6 +119,6 @@ public void LoadingApp_DynamicallySetLanguageThrows() private void Initialize(CultureInfo culture) { - Navigate($"{ServerPathBase}/?culture={culture}", noReload: false); + Navigate($"{ServerPathBase}/?culture={culture}"); } } diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyLazyLoadTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyLazyLoadTest.cs index ae891345e1fb..52366ae76f7b 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyLazyLoadTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyLazyLoadTest.cs @@ -28,7 +28,7 @@ public WebAssemblyLazyLoadTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Exists(By.Id("blazor-error-ui")); diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyLocalizationTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyLocalizationTest.cs index 7170572b6c1b..2265de49da5f 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyLocalizationTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyLocalizationTest.cs @@ -25,7 +25,7 @@ public WebAssemblyLocalizationTest( [InlineData("fr-FR", "Bonjour!")] public void CanSetCultureAndReadLocalizedResources(string culture, string message) { - Navigate($"{ServerPathBase}/?culture={culture}", noReload: false); + Navigate($"{ServerPathBase}/?culture={culture}"); Browser.MountTestComponent(); diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyLoggingTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyLoggingTest.cs index ae9777934b66..e2674e44e76d 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyLoggingTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyLoggingTest.cs @@ -22,7 +22,7 @@ public WebAssemblyLoggingTest( protected override void InitializeAsyncCore() { - Navigate(ServerPathBase, noReload: false); + Navigate(ServerPathBase); Browser.MountTestComponent(); Browser.Exists(By.Id("blazor-error-ui")); diff --git a/src/Components/test/E2ETest/Tests/WebAssemblyPrerenderedTest.cs b/src/Components/test/E2ETest/Tests/WebAssemblyPrerenderedTest.cs index 6c54fcd1c56a..e0c0dd0c8a74 100644 --- a/src/Components/test/E2ETest/Tests/WebAssemblyPrerenderedTest.cs +++ b/src/Components/test/E2ETest/Tests/WebAssemblyPrerenderedTest.cs @@ -35,7 +35,7 @@ public WebAssemblyPrerenderedTest( [Fact] public void CanPrerenderAndAddHeadOutletRootComponent() { - Navigate("/", noReload: true); + Navigate("/"); // Verify that the title is updated during prerendering Browser.Equal("Current count: 0", () => Browser.Title); From 5c00481dd70de2cb1b0b0a212cdcca09e2778449 Mon Sep 17 00:00:00 2001 From: Matthew Leslie <67387027+MattyLeslie@users.noreply.github.com> Date: Mon, 15 Apr 2024 11:20:24 +0000 Subject: [PATCH 3/3] Fixing missing bracket --- .../test/E2ETest/ServerExecutionTests/HotReloadTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs b/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs index 65ec8b0c75ee..e17c426583b9 100644 --- a/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs +++ b/src/Components/test/E2ETest/ServerExecutionTests/HotReloadTest.cs @@ -29,7 +29,7 @@ public override async Task InitializeAsync() protected override void InitializeAsyncCore() { - Navigate(ServerPathBase; + Navigate(ServerPathBase); Browser.MountTestComponent(); }