Skip to content

Commit

Permalink
sni ss
Browse files Browse the repository at this point in the history
  • Loading branch information
elParaguayo committed Nov 23, 2024
1 parent 18ee386 commit e8eba92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/widget/docs_screenshots/ss_statusnotifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ def widget():
yield StatusNotifier


@pytest.mark.usefixtures("dbus")
@statusnotifier
def ss_statusnotifier(screenshot_manager):
@Retry(ignore_exceptions=(AssertionError,))
def wait_for_menu():
assert len(screenshot_manager.c.internal_windows()) == 4

screenshot_manager.c.bar["top"].eval("self.draw()")
for _ in range(5):
screenshot_manager.c.bar["top"].eval("self.draw()")
screenshot_manager.take_screenshot()
screenshot_manager.c.bar["top"].fake_button_press(10, 10, 3)
wait_for_menu()
Expand Down

0 comments on commit e8eba92

Please sign in to comment.