From 4a810d90a7945b014934c49ac70941660bbced53 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 12 Aug 2019 19:17:18 -0400 Subject: [PATCH] run automation tests in headless mode --- src/NzbDrone.Automation.Test/AutomationTest.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Automation.Test/AutomationTest.cs b/src/NzbDrone.Automation.Test/AutomationTest.cs index a048668cd..e835cabd7 100644 --- a/src/NzbDrone.Automation.Test/AutomationTest.cs +++ b/src/NzbDrone.Automation.Test/AutomationTest.cs @@ -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();