Beispiel #1
0
 public RoutingTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _server = serverFixture;
     Navigate(ServerPathBase, noReload: true);
     WaitUntilDotNetRunningInBrowser();
 }
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Blazor.E2EPerformance.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
 public StandaloneAppTest(BrowserFixture browserFixture, DevHostServerFixture <StandaloneApp.Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _serverFixture = serverFixture;
     Navigate("/", noReload: true);
     WaitUntilLoaded();
 }
Beispiel #4
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Wasm.Performance.TestApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Beispiel #5
0
 public StandaloneAppTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <StandaloneApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Beispiel #6
0
 public BasicTestAppTestBase(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     serverFixture.PathBase = ServerPathBase;
 }
 public StartupErrorNotificationTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     _serverFixture.PathBase = ServerPathBase;
 }
 public ComponentRenderingTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate(ServerPathBase, noReload: true);
 }
Beispiel #9
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Blazor.E2EPerformance.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate("/", noReload: true);
 }
Beispiel #10
0
 public WebAssemblyConfigurationTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <BasicTestApp.Program> serverFixture,
     ITestOutputHelper output) :
     base(browserFixture, serverFixture, output)
 {
     _serverFixture.PathBase = "/subdir";
 }
Beispiel #11
0
 public LiveReloadingTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _serverFixture            = serverFixture;
     serverFixture.Environment = "Development"; // Otherwise the server won't accept live reloading connections
     serverFixture.PathBase    = ServerPathBase;
     Navigate(ServerPathBase);
     WaitUntilLoaded();
 }
Beispiel #12
0
 public InteropTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate(ServerPathBase, noReload: true);
     MountTestComponent <InteropComponent>();
 }
Beispiel #13
0
 public StandaloneAppTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <StandaloneApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate("/", noReload: true);
     WaitUntilLoaded();
 }
Beispiel #14
0
 public SignalRClientTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <BasicTestApp.Program> devHostServerFixture,
     BasicTestAppServerSiteFixture <CorsStartup> apiServerFixture,
     ITestOutputHelper output)
     : base(browserFixture, devHostServerFixture, output)
 {
     _serverFixture.PathBase = "/subdir";
     _apiServerFixture       = apiServerFixture;
 }
Beispiel #15
0
        //IWebElement _appElement;
        //IWebElement _responseStatus;
        //IWebElement _responseStatusText;
        //IWebElement _testOutcome;

        public BinaryHttpClientTest(
            DevHostServerFixture <BasicTestApp.Program> devHostServerFixture,
            BasicTestAppServerSiteFixture <CorsStartup> apiServerFixture,
            ITestOutputHelper output)
            : base(output)
        {
            _devHostServerFixture          = devHostServerFixture;
            _devHostServerFixture.PathBase = "/subdir";
            _apiServerFixture = apiServerFixture;
        }
Beispiel #16
0
        public HttpClientTest(
            BrowserFixture browserFixture,
            DevHostServerFixture <BasicTestApp.Program> devHostServerFixture,
            AspNetSiteServerFixture apiServerFixture)
            : base(browserFixture, devHostServerFixture)
        {
            apiServerFixture.BuildWebHostMethod = TestServer.Program.BuildWebHost;
            _apiServerFixture = apiServerFixture;

            Navigate(ServerPathBase, noReload: true);
            _appElement = MountTestComponent <HttpRequestsComponent>();
        }
 public ComponentRenderingTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     Navigate("/", noReload: true);
 }
 public BasicTestAppTestBase(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     serverFixture.PathBase = ServerPathBase;
 }
Beispiel #19
0
 public BindTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     Navigate(ServerPathBase, noReload: true);
     MountTestComponent <BindCasesComponent>();
 }