Skip to content

Commit

Permalink
Add some sleepy time before clicking disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Dec 30, 2024
1 parent 3282506 commit cc3e381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_app/tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def test_component_use_auth_no_rerender(self):

# Make sure #use-auth[data-username="user_5"] does not appear
with pytest.raises(TimeoutError):
self.page.wait_for_selector("#use-auth-no-rerender[data-username='user_5']", timeout=1)
self.page.wait_for_selector("#use-auth-no-rerender[data-username='user_5']", timeout=2)

# Press disconnect and see if #use-auth[data-username="user_5"] appears
self.page.wait_for_selector("#use-auth-no-rerender .disconnect").click(delay=CLICK_DELAY)
Expand Down

0 comments on commit cc3e381

Please sign in to comment.