Skip to content

Commit 44cb070

Browse files
test: fix flakey ui test
1 parent be0de68 commit 44cb070

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/ui/jupyter_test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import time
2+
13
import playwright.sync_api
24
from IPython.display import display
35

@@ -48,6 +50,9 @@ def kernel_code():
4850
w = ipywidgets.HTML(value='<div class="ag-theme-excel"><div class="ag-row-drag" style="width: 20px; height: 20px; border: 1px dashed green"></div></div>')
4951
display(w)
5052
ipywidgets_runner(kernel_code)
53+
54+
time.sleep(1)
55+
5156
assert_solara_snapshot(page_session.locator(".ag-row-drag").screenshot())
5257

5358

0 commit comments

Comments
 (0)