Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
The html tags changed in the notification apps, adapt selector to the
new state

Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan committed Aug 1, 2022
1 parent 952acd4 commit a24ed79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/features/bootstrap/NotificationsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ 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");
}

/**
* @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");
}

Expand Down

0 comments on commit a24ed79

Please sign in to comment.