Skip to content

Commit

Permalink
Add ci timing hacks for refreshes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Jan 4, 2025
1 parent 49c1980 commit 4ec436f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/acceptance/lute_test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
"""
Expand Down

0 comments on commit 4ec436f

Please sign in to comment.