Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-04-07 15:32:19 +0300
committerAzul <azul@riseup.net>2020-04-07 15:57:20 +0300
commit62f7e6ba81706a0920582b6e5af5585102ca880c (patch)
treed8194b7e4268c75fdee7b3d21d16c570e23195d3 /tests
parente266666380a4cc9d748dab895a1038f20fe07832 (diff)
tests: fix failing header acceptance test
The username is listed in a div with class `fullname` now. Signed-off-by: Azul <azul@riseup.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/ContactsMenuContext.php2
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");
}