From df5e8cdca0569139035ea9b8bf4361da093fbc0a 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 59161f2..b47dd71 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 cc38212..563802f 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()