diff options
author | Azul <azul@riseup.net> | 2020-04-07 14:32:19 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2020-04-07 14:57:20 +0200 |
commit | 62f7e6ba81706a0920582b6e5af5585102ca880c (patch) | |
tree | d8194b7e4268c75fdee7b3d21d16c570e23195d3 | |
parent | e266666380a4cc9d748dab895a1038f20fe07832 (diff) | |
download | nextcloud-server-62f7e6ba81706a0920582b6e5af5585102ca880c.tar.gz nextcloud-server-62f7e6ba81706a0920582b6e5af5585102ca880c.zip |
tests: fix failing header acceptance test
The username is listed in a div with class `fullname` now.
Signed-off-by: Azul <azul@riseup.net>
-rw-r--r-- | tests/acceptance/features/bootstrap/ContactsMenuContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/ContactsMenuContext.php b/tests/acceptance/features/bootstrap/ContactsMenuContext.php index 1be38b79e70..4cb2e5885d5 100644 --- a/tests/acceptance/features/bootstrap/ContactsMenuContext.php +++ b/tests/acceptance/features/bootstrap/ContactsMenuContext.php @@ -66,7 +66,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface { * @return Locator */ private static function menuItemFor($contactName) { - return Locator::forThe()->xpath("//*[@class = 'contact' and normalize-space() = '$contactName']")-> + return Locator::forThe()->xpath("//*[@class = 'full-name' and normalize-space() = '$contactName']")-> descendantOf(self::contactsMenu())-> describedAs($contactName . " contact in Contacts menu"); } |