Skip to content

Commit

Permalink
test: fix flakey ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobuikhuizen committed Apr 29, 2024
1 parent be0de68 commit 44cb070
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ui/jupyter_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import time

import playwright.sync_api
from IPython.display import display

Expand Down Expand Up @@ -48,6 +50,9 @@ def kernel_code():
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>')
display(w)
ipywidgets_runner(kernel_code)

time.sleep(1)

assert_solara_snapshot(page_session.locator(".ag-row-drag").screenshot())


Expand Down

0 comments on commit 44cb070

Please sign in to comment.