diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2022-07-26 10:51:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 10:51:21 -0700 |
commit | 072a0c6227819bbee32e8499b616c01884478388 (patch) | |
tree | f6652d89007ce807496361fbc95f5bbd5e2e3f94 | |
parent | 25d2099fce766016fb9dd14ff4b7bb76586d2d74 (diff) | |
parent | 525cf58735fc19501f1371aaec0830ffef3f6ac1 (diff) | |
download | nextcloud-server-072a0c6227819bbee32e8499b616c01884478388.tar.gz nextcloud-server-072a0c6227819bbee32e8499b616c01884478388.zip |
Merge pull request #33360 from nextcloud/adjust-acceptance-tests-to-changes-in-sharing-tab
-rw-r--r-- | tests/acceptance/features/bootstrap/FilesAppSharingContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php index d71b0196dbb..ce3158f9bd9 100644 --- a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php +++ b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php @@ -79,7 +79,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface { public static function sharedWithRow($sharedWithName) { // "username" class is used for any type of share, not only for shares // with users. - return Locator::forThe()->xpath("//li[contains(concat(' ', normalize-space(@class), ' '), ' sharing-entry ')]//h5[normalize-space() = '$sharedWithName']/ancestor::li")-> + return Locator::forThe()->xpath("//li[contains(concat(' ', normalize-space(@class), ' '), ' sharing-entry ')]//span[normalize-space() = '$sharedWithName']/ancestor::li")-> descendantOf(self::shareeList())-> describedAs("Shared with $sharedWithName row in the details view in Files app"); } |