Esempio n. 1
0
 public E2ETest(
     BrowserFixture browserFixture,
     AspNetSiteServerFixture serverFixture,
     ITestOutputHelper output,
     CosmosDBFixture comosDbFixture)
     : base(browserFixture, serverFixture, comosDbFixture, output)
 {
     Navigate("/", noReload: true);
     WaitUntilLoaded();
     _webDriveWaitDefault = new WebDriverWait(Browser, TimeSpan.FromSeconds(DefaultWaitSecondsForPageChange));
 }
Esempio n. 2
0
 public CreateTossCommandHandlerTest(CosmosDBFixture fixture) : base(fixture)
 {
     _m           = new CommonMocks <TossController>();
     _mockStripe  = new Mock <IStripeClient>();
     tossTemplate = GetTemplate <TossEntity>();
     _sut         = new TossCreateCommandHandler(
         tossTemplate,
         _m.HttpContextAccessor.Object,
         _mockStripe.Object,
         _m.UserManager.Object);
 }
Esempio n. 3
0
        public ServerTestBase(BrowserFixture browserFixture,
                              AspNetSiteServerFixture serverFixture,
                              CosmosDBFixture cosmosDBFixture,
                              ITestOutputHelper output)

        {
            _serverFixture       = serverFixture;
            this.cosmosDBFixture = cosmosDBFixture;
            _browser.Value       = browserFixture.Browser;
            _logs.Value          = browserFixture.Logs;
            _output.Value        = output;
        }