refactoring
This commit is contained in:
commit
5c6d6ee687
73 changed files with 645 additions and 48758 deletions
|
|
@ -3,11 +3,11 @@ using OpenQA.Selenium;
|
|||
using OpenQA.Selenium.Chrome;
|
||||
using OpenQA.Selenium.Firefox;
|
||||
using Xunit.Abstractions;
|
||||
using Yavsc.Tests;
|
||||
|
||||
namespace yavscTests.ServerFixtures;
|
||||
|
||||
|
||||
|
||||
[Collection("Yavsc Server")]
|
||||
|
||||
public class FirstScript : BaseTestContext
|
||||
|
|
@ -22,6 +22,21 @@ public class FirstScript : BaseTestContext
|
|||
this._output = output;
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void DoTestSeleniumWebSite()
|
||||
{
|
||||
var firefoxOptions = new FirefoxOptions();
|
||||
firefoxOptions.AcceptInsecureCertificates = true;
|
||||
|
||||
var driver = new FirefoxDriver(firefoxOptions);
|
||||
|
||||
driver.Navigate()
|
||||
.GoToUrl(_serverFixture.Addresses.FirstOrDefault(u => u.StartsWith("http:")));
|
||||
|
||||
driver.Quit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// FIXME [Fact]
|
||||
public async Task DoTestYavscSite()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue