summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-05-05 09:21:00 +0200
committerGitHub <noreply@github.com>2022-05-05 09:21:00 +0200
commitd3efd40a24be45a2a38a904c111d10fa4de01f81 (patch)
tree1937426cbd280bfa829d15e5b2662f647a74a5da /tests
parent24e25a6b648db35b024bb8ff860fef3f08b9ac92 (diff)
parent3c451f835779f364e4332ffa9d5bc7f811e174db (diff)
downloadnextcloud-server-d3efd40a24be45a2a38a904c111d10fa4de01f81.tar.gz
nextcloud-server-d3efd40a24be45a2a38a904c111d10fa4de01f81.zip
Merge pull request #32259 from nextcloud/adjust-acceptance-tests-to-changes-in-notifications-markup
Adjust acceptance tests to changes in notifications markup
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/NotificationsContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/NotificationsContext.php b/tests/acceptance/features/bootstrap/NotificationsContext.php
index 15ad6ee90c8..86b17219c03 100644
--- a/tests/acceptance/features/bootstrap/NotificationsContext.php
+++ b/tests/acceptance/features/bootstrap/NotificationsContext.php
@@ -46,7 +46,7 @@ class NotificationsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function incomingShareNotificationForFile($fileName) {
- return Locator::forThe()->xpath("//div[contains(concat(' ', normalize-space(@class), ' '), ' notification ') and //div[starts-with(normalize-space(), 'You received $fileName as a share by')]]")->
+ return Locator::forThe()->xpath("//li[contains(concat(' ', normalize-space(@class), ' '), ' notification ') and //div[starts-with(normalize-space(), 'You received $fileName as a share by')]]")->
descendantOf(self::notificationsContainer())->
describedAs("Notification of incoming share for file $fileName");
}