diff --git a/test/selenium/test_options.py b/test/selenium/test_options.py index 48cb71359741..dc8eca6e5c14 100644 --- a/test/selenium/test_options.py +++ b/test/selenium/test_options.py @@ -1,3 +1,4 @@ +from time import sleep from util import ExtensionTestCase class OptionsTest(ExtensionTestCase): @@ -11,17 +12,19 @@ def test_options(self): def test_show_counter(self): selector = '#showCounter' self.load_options() + sleep(1) + el = self.query_selector(selector) self.assertTrue(el.is_selected()) el.click() self.driver.refresh() - - self.load_options() + sleep(1) el = self.query_selector(selector) self.assertFalse(el.is_selected()) el.click() self.driver.refresh() + sleep(1) el = self.query_selector(selector) self.assertTrue(el.is_selected())