Merge pull request #20347 from azul/test/fix-failing-acceptance

tests: fix failing header acceptance test
This commit is contained in:
John Molakvoæ 2020-04-08 09:05:48 +02:00 committed by GitHub
commit bb937999fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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