summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-08-01 09:47:33 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-08-01 12:38:19 +0200
commita24ed79f85b8163b8a10e07f2d5b2e280bd35f86 (patch)
tree1b0eb537bd338f7fe0753e65f6fcac2c04ee9070 /tests/acceptance/features/bootstrap
parent952acd4d276b3190d23e0597c5e01b1dfc4d72bc (diff)
downloadnextcloud-server-a24ed79f85b8163b8a10e07f2d5b2e280bd35f86.tar.gz
nextcloud-server-a24ed79f85b8163b8a10e07f2d5b2e280bd35f86.zip
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>
Diffstat (limited to 'tests/acceptance/features/bootstrap')
-rw-r--r--tests/acceptance/features/bootstrap/NotificationsContext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/features/bootstrap/NotificationsContext.php b/tests/acceptance/features/bootstrap/NotificationsContext.php
index 86b17219c03..fb8ca2a354f 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 @@ 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");
}