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

tests: fix failing header acceptance test
pull/20256/head
John Molakvoæ 4 years ago committed by GitHub
commit bb937999fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save