mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 05:16:34 +02:00
Fixed: Automation/Integration/Unit Tests
This commit is contained in:
@@ -34,7 +34,9 @@ namespace NzbDrone.Automation.Test
|
||||
[OneTimeSetUp]
|
||||
public void SmokeTestSetup()
|
||||
{
|
||||
driver = new FirefoxDriver();
|
||||
var options = new FirefoxOptions();
|
||||
options.AddArguments("--headless");
|
||||
driver = new FirefoxDriver(options);
|
||||
|
||||
_runner = new NzbDroneRunner(LogManager.GetCurrentClassLogger());
|
||||
_runner.KillAll();
|
||||
@@ -45,7 +47,7 @@ namespace NzbDrone.Automation.Test
|
||||
var page = new PageBase(driver);
|
||||
page.WaitForNoSpinner();
|
||||
|
||||
driver.ExecuteScript("window.NzbDrone.NameViews = true;");
|
||||
driver.ExecuteScript("window.Radarr.NameViews = true;");
|
||||
|
||||
GetPageErrors().Should().BeEmpty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user