Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

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: 5 additions & 1 deletion pages/base_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ def go_to_element(self, element):
def check_expected_link(self, url):
with allure.step(f'Check url starts with: {url}'):
# Increasing the CI timeout
timeout = 60 if os.getenv('GITHUB_ACTIONS') else self.timeout
timeout = 120 if os.getenv('GITHUB_ACTIONS') else self.timeout

# Waiting for network requests to complete
Wait(self.driver, timeout).until(
lambda d: d.execute_script("return window.performance.getEntriesByType('resource').length") > 0)

# Waiting for URL
Wait(self.driver, timeout).until(
Expand Down
Loading