Fix integration tests

The html tags changed in the notification apps, adapt selector to the
new state

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/33415/head
Carl Schwan 2022-08-01 09:47:33 +07:00
parent 952acd4d27
commit a24ed79f85
No known key found for this signature in database
GPG Key ID: C3AA6B3A5EFA7AC5
1 changed files with 2 additions and 2 deletions

@ -30,7 +30,7 @@ class NotificationsContext implements Context, ActorAwareInterface {
* @return Locator * @return Locator
*/ */
public static function notificationsButton() { 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"); describedAs("Notifications button in the header");
} }
@ -38,7 +38,7 @@ class NotificationsContext implements Context, ActorAwareInterface {
* @return Locator * @return Locator
*/ */
public static function notificationsContainer() { public static function notificationsContainer() {
return Locator::forThe()->css("#header .notifications .notification-container")-> return Locator::forThe()->css("#header #notifications .notification-container")->
describedAs("Notifications container"); describedAs("Notifications container");
} }