We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb85135 commit 53c20faCopy full SHA for 53c20fa
pages/alerts/alerts_page.py
@@ -7,11 +7,11 @@ def __init__(self, page: Page):
7
self.page = page
8
self.refresh_alerts_link = self.page.get_by_role("link", name="Refresh alerts")
9
10
- def click_refresh_alerts(self):
+ def click_refresh_alerts(self) -> None:
11
"""Clicks the 'Refresh Alerts' link to trigger an update of alert messages."""
12
self.refresh_alerts_link.click()
13
14
- def is_refresh_alerts_visible(self, timeout=5000):
+ def is_refresh_alerts_visible(self, timeout=5000) -> bool:
15
"""Returns True if the 'Refresh Alerts' link is visible within the given timeout."""
16
return self.refresh_alerts_link.is_visible(timeout=timeout)
17
0 commit comments