Skip to content
Snippets Groups Projects
Commit 62f7e6ba authored by Azul's avatar Azul
Browse files

tests: fix failing header acceptance test


The username is listed in a div with class `fullname` now.

Signed-off-by: default avatarAzul <azul@riseup.net>
parent e2666663
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface { ...@@ -66,7 +66,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
* @return Locator * @return Locator
*/ */
private static function menuItemFor($contactName) { 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())-> descendantOf(self::contactsMenu())->
describedAs($contactName . " contact in Contacts menu"); describedAs($contactName . " contact in Contacts menu");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment