Skip to content

Commit

Permalink
fix flaky test (#1158)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea authored Oct 22, 2023
1 parent 3faa10f commit d3959e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/py/reactpy/tests/test_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def HasScript():
"""
)

await poll(lambda: hasattr(incr_src_id, "current")).until_is(True)
incr_src_id.current()

run_count = await display.page.wait_for_selector("#run-count", state="attached")
Expand Down

0 comments on commit d3959e4

Please sign in to comment.