From c358326ad745e4b6ec7132d7da9afb1a7d76d6ae Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 23 May 2026 10:24:54 +0200 Subject: [PATCH] Update --- tests/test_messages.py | 2 +- tests/test_notifications.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_messages.py b/tests/test_messages.py index 59161f20..b47dd71a 100644 --- a/tests/test_messages.py +++ b/tests/test_messages.py @@ -53,7 +53,7 @@ def test_messages_header_visible(alice): def test_messages_bell_icon(alice): page, _ = alice page.goto(f"{BASE_URL}/messages") - bell = page.locator(".topnav-icon").first + bell = page.locator(".topnav-icon[href='/notifications']") assert bell.is_visible() diff --git a/tests/test_notifications.py b/tests/test_notifications.py index cc382121..563802f4 100644 --- a/tests/test_notifications.py +++ b/tests/test_notifications.py @@ -26,7 +26,7 @@ def test_notifications_navigation(alice): def test_notifications_bell_visible(alice): page, _ = alice page.goto(f"{BASE_URL}/feed") - bell = page.locator(".topnav-icon").first + bell = page.locator(".topnav-icon[href='/notifications']") assert bell.is_visible()