partial automation update

This commit is contained in:
ta264 2020-07-14 22:06:07 +01:00
parent b385554511
commit 1a7f3c9a8e

View file

@ -31,12 +31,15 @@ namespace NzbDrone.Automation.Test
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Trace, consoleTarget));
}
[TestFixtureSetUp]
[OneTimeSetUp]
public void SmokeTestSetup()
{
var options = new FirefoxOptions();
options.AddArguments("--headless");
driver = new FirefoxDriver(options);
FirefoxDriverService service = FirefoxDriverService.CreateDefaultService();
// service.Host = "::1"; // Workaround netcore/selenium bug https://github.com/SeleniumHQ/selenium/issues/7840
driver = new FirefoxDriver(service, options, new System.TimeSpan(0, 3, 0));
_runner = new NzbDroneRunner(LogManager.GetCurrentClassLogger());
_runner.KillAll();