Unverified Commit dc85907d authored by Johannes Tomren Røsvik's avatar Johannes Tomren Røsvik
Browse files

Refactor setUp()

parent 908245ed
Pipeline #74300 passed with stage
in 1 minute and 5 seconds
......@@ -10,8 +10,8 @@ class AgreelanceDarkMode(unittest.TestCase):
def setUp(self):
if os.name == "nt":
self.driver = webdriver.Chrome("./bin/chromedriver.exe")
return
self.driver = webdriver.Chrome("./bin/chromedriver")
else:
self.driver = webdriver.Chrome("./bin/chromedriver")
#Checks that toggleelement should be availeble through togglebar
def test_dark_mode_in_toggle(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment