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 e318b0b commit 4051abaCopy full SHA for 4051aba
tests/test_home_page_links.py
@@ -52,8 +52,9 @@ def test_home_page_links_navigation(page: Page) -> None:
52
# Click the refresh alerts link
53
homepage.click_refresh_alerts_link()
54
# Verify that the 'last updated' timestamp matches the current date and time
55
- (expect(page.locator("form[name=\"refreshCockpit\"]")).to_contain_text
56
- ("Refresh alerts (last updated :" + DateTimeUtils.current_datetime()))
+ expect(page.locator("form[name=\"refreshCockpit\"]")).to_contain_text(
+ f"Refresh alerts (last updated :{DateTimeUtils.current_datetime()})"
57
+ )
58
59
# Click the user guide link
60
with page.expect_popup() as page1_info:
0 commit comments