Commit c9ef69eb authored by dennisjl's avatar dennisjl
Browse files

minor adjustments

parent b19a15b0
Pipeline #74296 passed with stage
in 1 minute and 12 seconds
......@@ -8,7 +8,7 @@ url = "http://127.0.0.1:8000/"
class AgreelanceDarkMode(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Chrome("./bin/chromedriver")
self.driver = webdriver.Chrome("./bin/chromedriver.exe")
#Checks that toggleelement should be availeble through togglebar
def test_dark_mode_in_toggle(self):
......@@ -40,7 +40,7 @@ class AgreelanceDarkMode(unittest.TestCase):
darkmode_click = driver.find_element_by_class_name("custom-control-label")
darkmode_click.click()
time.sleep(1)
self.assertEqual(driver.find_element_by_tag_name("body").value_of_css_property("background-color"), "rgba(0, 0, 0, 1)")
......
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