Skip to content

Commit

Permalink
Merge pull request #33360 from nextcloud/adjust-acceptance-tests-to-c…
Browse files Browse the repository at this point in the history
…hanges-in-sharing-tab
  • Loading branch information
Pytal authored Jul 26, 2022
2 parents 25d2099 + 525cf58 commit 072a0c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static function shareeList() {
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");
}
Expand Down

0 comments on commit 072a0c6

Please sign in to comment.