Skip to content

Commit

Permalink
Add note on flaky tests due to slow API response
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Oct 9, 2023
1 parent 5eca5df commit 772572c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def meta_click_arxiv_utils():
wait.until(EC.title_is(title))
except TimeoutException as e:
print(f"Title mismatch: `{driver.title}`; URL: `{driver.current_url}`.")
# Please note that the tests may be flaky due to slow arxiv API response.
assert driver.title == title
meta_click_arxiv_utils()
wait.until(EC.number_of_windows_to_be(3))
Expand Down

0 comments on commit 772572c

Please sign in to comment.