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)); }
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); }
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; }