From a24ed79f85b8163b8a10e07f2d5b2e280bd35f86 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 1 Aug 2022 09:47:33 +0200 Subject: [PATCH] Fix integration tests The html tags changed in the notification apps, adapt selector to the new state Signed-off-by: Carl Schwan --- tests/acceptance/features/bootstrap/NotificationsContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/features/bootstrap/NotificationsContext.php b/tests/acceptance/features/bootstrap/NotificationsContext.php index 86b17219c03ef..fb8ca2a354f93 100644 --- a/tests/acceptance/features/bootstrap/NotificationsContext.php +++ b/tests/acceptance/features/bootstrap/NotificationsContext.php @@ -30,7 +30,7 @@ class NotificationsContext implements Context, ActorAwareInterface { * @return Locator */ public static function notificationsButton() { - return Locator::forThe()->css("#header .notifications .notifications-button")-> + return Locator::forThe()->css("#header #notifications.notifications-button")-> describedAs("Notifications button in the header"); } @@ -38,7 +38,7 @@ public static function notificationsButton() { * @return Locator */ public static function notificationsContainer() { - return Locator::forThe()->css("#header .notifications .notification-container")-> + return Locator::forThe()->css("#header #notifications .notification-container")-> describedAs("Notifications container"); }