mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Adjust acceptance tests to changes in sharing tab
The name of the user shared with is now marked with a "span" rather than with "h5". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
b4353c4651
commit
525cf58735
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue