Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/test_app/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ def setUp(self):
def tearDown(self) -> None:
self.driver.quit()

def wait(self, timeout=5):
def wait(self, timeout=10):
return WebDriverWait(self.driver, timeout)

def wait_until(self, condition, timeout=5):
def wait_until(self, condition, timeout=10):
return self.wait(timeout).until(lambda driver: condition())

def test_hello_world(self):
Expand All @@ -37,7 +37,7 @@ def test_parametrized_component(self):
self.assertEqual(element.get_attribute("data-value"), "579")

def test_component_from_web_module(self):
self.wait(10).until(
self.wait(20).until(
expected_conditions.visibility_of_element_located(
(By.CLASS_NAME, "VictoryContainer")
)
Expand Down