From 4ec436f44f077263f20d8d4b8a49270812a8e8b8 Mon Sep 17 00:00:00 2001 From: Jeff Zohrab Date: Fri, 3 Jan 2025 21:58:35 -0600 Subject: [PATCH] Add ci timing hacks for refreshes. --- tests/acceptance/lute_test_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/acceptance/lute_test_client.py b/tests/acceptance/lute_test_client.py index 2c687a21..0525aae1 100644 --- a/tests/acceptance/lute_test_client.py +++ b/tests/acceptance/lute_test_client.py @@ -406,6 +406,7 @@ def _refresh_browser(self): """ # self.browser.reload() # ??? ChatGPT suggested: + time.sleep(0.5) # Hack for ci. self.browser.execute_script( """ // Trigger re-render of the entire body @@ -418,7 +419,7 @@ def _refresh_browser(self): window.prepareTextInteractions(); """ ) - time.sleep(0.2) # Hack, test failing. + time.sleep(0.5) # Hack for ci. def fill_reading_bulk_edit_form(self, updates=None): """