Skip to content

Commit

Permalink
Tests: Workflows: Fix race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfstr committed Jan 23, 2024
1 parent 3486750 commit 164eee8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/crystal/tests/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,12 +969,14 @@ async def test_can_update_downloaded_site_with_newer_page_revisions() -> None:
# Download: Home, Comic #1
if True:
home_ti.SelectItem()
await mw.click_download_button()
await mw.click_download_button(
immediate_finish_ok=True)
await wait_for_download_to_start_and_finish(mw.task_tree,
immediate_finish_ok=True)

comic1_ti.SelectItem()
await mw.click_download_button()
await mw.click_download_button(
immediate_finish_ok=True)
await wait_for_download_to_start_and_finish(mw.task_tree,
immediate_finish_ok=True)

Expand Down

0 comments on commit 164eee8

Please sign in to comment.