diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-04-08 09:05:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 09:05:48 +0200 |
commit | bb937999fa3aeea7631a6e18031fad802af4a9bb (patch) | |
tree | 2383e789448c2958b2604d41efdc8de5739ff554 | |
parent | 8146e1988cc05f452d2a00befb6b538175aeffe5 (diff) | |
parent | 62f7e6ba81706a0920582b6e5af5585102ca880c (diff) | |
download | nextcloud-server-bb937999fa3aeea7631a6e18031fad802af4a9bb.tar.gz nextcloud-server-bb937999fa3aeea7631a6e18031fad802af4a9bb.zip |
Merge pull request #20347 from azul/test/fix-failing-acceptance
tests: fix failing header acceptance test
-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"); } |