From 772572cbec773486b3fb5f525d51d3953a314b07 Mon Sep 17 00:00:00 2001 From: Johnson Sun Date: Mon, 9 Oct 2023 18:59:17 +0800 Subject: [PATCH] Add note on flaky tests due to slow API response --- tests/test_navigation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_navigation.py b/tests/test_navigation.py index ea3a0c6..2fa9a41 100644 --- a/tests/test_navigation.py +++ b/tests/test_navigation.py @@ -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))