Skip to content

Commit d3959e4

Browse files
authored
fix flaky test (#1158)
1 parent 3faa10f commit d3959e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/py/reactpy/tests/test_html.py

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def HasScript():
122122
"""
123123
)
124124

125+
await poll(lambda: hasattr(incr_src_id, "current")).until_is(True)
125126
incr_src_id.current()
126127

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

0 commit comments

Comments
 (0)