public InteropTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { }
public ProtectedBrowserStorageUsageTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <BasicTestApp.Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { }
public DownloadAnchorTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { }
public WebAssemblyICUShardingTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { }
public ErrorNotificationTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { }
public CascadingValueTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { }
public ComponentRenderingTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture <DevHostServerProgram> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { Navigate(ServerPathBase, noReload: !serverFixture.UsingAspNetHost); }
public JsonSerializationTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { }
public ComponentRenderingTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { }
public ServerInteropTestDefaultExceptionsBehavior( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { }
public AuthTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : this(browserFixture, serverFixture, output, ExecutionMode.Client) { }
public CircuitGracefulTerminationTests( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { }
public ValidateSelectTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture <DevHostServerProgram> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { Navigate(ServerPathBase, noReload: !serverFixture.UsingAspNetHost); MountTestComponent <ValidateSelectComponent>(); }
public BasicTestAppTestBase( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { serverFixture.PathBase = ServerPathBase; }
public RoutingTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { Navigate(ServerPathBase, noReload: false); WaitUntilTestSelectorReady(); }
public CascadingValueTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { Navigate(ServerPathBase, noReload: !serverFixture.UsingAspNetHost); MountTestComponent <BasicTestApp.CascadingValueTest.CascadingValueSupplier>(); }
public FormsTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { // On WebAssembly, page reloads are expensive so skip if possible Navigate(ServerPathBase, noReload: !serverFixture.UsingAspNetHost); }
// Note that currently we only support custom events if they have bubble:true. // That's because the event delegator doesn't know which custom events bubble and which don't, // so it doesn't know whether to register a normal handler or a capturing one. If this becomes // a problem, we could consider registering both types of handler and just bailing out from // the one that doesn't match the 'bubbles' flag on the received event object. public EventBubblingTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { Navigate(ServerPathBase, noReload: !serverFixture.UsingAspNetHost); MountTestComponent <EventBubblingComponent>(); }
public InteropTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { Navigate(ServerPathBase, noReload: true); MountTestComponent <InteropComponent>(); }
public HttpClientTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <BasicTestApp.Program> devHostServerFixture, AspNetSiteServerFixture apiServerFixture, ITestOutputHelper output) : base(browserFixture, devHostServerFixture, output) { apiServerFixture.BuildWebHostMethod = TestServer.Program.BuildWebHost; _apiServerFixture = apiServerFixture; }
public EventCallbackTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { // On WebAssembly, page reloads are expensive so skip if possible Navigate(ServerPathBase, noReload: !serverFixture.UsingAspNetHost); MountTestComponent <BasicTestApp.EventCallbackTest.EventCallbackCases>(); }
public AuthTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { // Normally, the E2E tests use the Blazor dev server if they are testing // client-side execution. But for the auth tests, we always have to run // in "hosted on ASP.NET Core" mode, because we get the auth state from it. serverFixture.UseAspNetHost(TestServer.Program.BuildWebHost); }
public BinaryHttpClientTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <BasicTestApp.Program> devHostServerFixture, AspNetSiteServerFixture apiServerFixture, ITestOutputHelper output) : base(browserFixture, devHostServerFixture, output) { apiServerFixture.BuildWebHostMethod = TestServer.Program.BuildWebHost; _apiServerFixture = apiServerFixture; Navigate(ServerPathBase, noReload: true); _appElement = MountTestComponent <BinaryHttpRequestsComponent>(); }
protected AuthTest( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output, ExecutionMode executionMode) : base(browserFixture, serverFixture, output) { // Normally, the E2E tests use the Blazor dev server if they are testing // client-side execution. But for the auth tests, we always have to run // in "hosted on ASP.NET Core" mode, because we get the auth state from it. switch (executionMode) { case ExecutionMode.Client: serverFixture.UseAspNetHost(TestServer.Program.BuildWebHost <TestServer.AuthenticationStartup>); break; case ExecutionMode.Server: serverFixture.UseAspNetHost(TestServer.Program.BuildWebHost <TestServer.ServerAuthenticationStartup>); break; default: break; } }
public ServerAuthTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture <BasicTestApp.Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output, ExecutionMode.Server) { }
public FormsTestWithExperimentalValidator( BrowserFixture browserFixture, ToggleExecutionModeServerFixture <BasicTestApp.Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture, output) { }
public ServerInteropTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution().WithAdditionalArguments(GetAdditionalArguments()), output) { }
public static ToggleExecutionModeServerFixture <T> WithServerExecution <T, TStartup>(this ToggleExecutionModeServerFixture <T> serverFixture) where TStartup : class { serverFixture.UseAspNetHost(Program.BuildWebHost <TStartup>); serverFixture.ExecutionMode = ExecutionMode.Server; return(serverFixture); }
public ServerVirtualizationTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { }
public ServerEventCallbackTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture <Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { }