tests: fix failing header acceptance test

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

Signed-off-by: Azul <azul@riseup.net>
This commit is contained in:
Azul 2020-04-07 14:32:19 +02:00
parent e266666380
commit 62f7e6ba81
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}