Merge pull request #33415 from nextcloud/fix/integration-test-notif

Fix integration tests
This commit is contained in:
Carl Schwan 2022-08-08 17:06:57 +02:00 committed by GitHub
commit d95557e429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@ class NotificationsContext implements Context, ActorAwareInterface {
* @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");
}