public void AutoSetUpAsync_ThrowsArgumentException(string[] browserNames) { var exception = Assert.ThrowsAsync <ArgumentException>(() => DriverSetup.AutoSetUpAsync(browserNames)); exception.Message.Should().ContainEquivalentOf("unsupported"); }
public async Task AutoSetUpAsync(string browserName) { var result = await DriverSetup.AutoSetUpAsync(browserName); AssertDriverIsSetUp(result, browserName); AssertVersionCache(browserName); }
public void AutoSetUpAsync_ThrowsArgumentNullException(string[] browserNames) { Assert.ThrowsAsync <ArgumentNullException>(() => DriverSetup.AutoSetUpAsync(browserNames)); }
public async Task AutoSetUpAsync(string[] browserNames) { var results = await DriverSetup.AutoSetUpAsync(browserNames); AssertAutoSetUpDriverResults(results, browserNames); }