Skip to content

Commit

Permalink
explanation of sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Sep 21, 2022
1 parent 03aacc4 commit 2b40c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pages.py
Expand Up @@ -76,7 +76,7 @@ def page():

user.open('/')
assert any(('keyboard.js' in s) for s in user.get_attributes('script', 'src'))
user.sleep(2)
user.sleep(2) # NOTE we need to sleep to wait for the js error to be printed (start pytest with -s to see it)


def test_shared_and_individual_pages(user: User):
Expand Down

0 comments on commit 2b40c04

Please sign in to comment.