diff options
author | Azul <azul@riseup.net> | 2020-04-07 15:32:19 +0300 |
---|---|---|
committer | Azul <azul@riseup.net> | 2020-04-07 15:57:20 +0300 |
commit | 62f7e6ba81706a0920582b6e5af5585102ca880c (patch) | |
tree | d8194b7e4268c75fdee7b3d21d16c570e23195d3 /tests | |
parent | e266666380a4cc9d748dab895a1038f20fe07832 (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.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"); } |