Skip to content

Commit

Permalink
adding delay in hope to remove flakynes
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Jan 28, 2023
1 parent 382ee8b commit 8e22faa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_javascript.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async def set_title() -> None:
screen.open('/')
assert screen.selenium.title == 'NiceGUI'
screen.click('change title')
screen.wait(0.5)
assert screen.selenium.title == 'A New Title'
assert screen.selenium.title != 'NiceGUI'

Expand Down

0 comments on commit 8e22faa

Please sign in to comment.