Example #1
0
 public RoutingTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _server = serverFixture;
     Navigate(ServerPathBase, noReload: true);
     WaitUntilDotNetRunningInBrowser();
 }
Example #2
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Blazor.E2EPerformance.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Example #3
0
 public StandaloneAppTest(BrowserFixture browserFixture, DevHostServerFixture <StandaloneApp.Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _serverFixture = serverFixture;
     Navigate("/", noReload: true);
     WaitUntilLoaded();
 }
Example #4
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Wasm.Performance.TestApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Example #5
0
 public StandaloneAppTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <StandaloneApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Example #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);
 }
Example #9
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Blazor.E2EPerformance.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate("/", noReload: true);
 }
Example #10
0
 public WebAssemblyConfigurationTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <BasicTestApp.Program> serverFixture,
     ITestOutputHelper output) :
     base(browserFixture, serverFixture, output)
 {
     _serverFixture.PathBase = "/subdir";
 }
Example #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();
 }
Example #12
0
 public InteropTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate(ServerPathBase, noReload: true);
     MountTestComponent <InteropComponent>();
 }
Example #13
0
 public StandaloneAppTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <StandaloneApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate("/", noReload: true);
     WaitUntilLoaded();
 }
Example #14
0
 public SignalRClientTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <BasicTestApp.Program> devHostServerFixture,
     BasicTestAppServerSiteFixture <CorsStartup> apiServerFixture,
     ITestOutputHelper output)
     : base(browserFixture, devHostServerFixture, output)
 {
     _serverFixture.PathBase = "/subdir";
     _apiServerFixture       = apiServerFixture;
 }
Example #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;
        }
Example #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;
 }
Example #19
0
 public BindTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     Navigate(ServerPathBase, noReload: true);
     MountTestComponent <BindCasesComponent>();
 }