Merge pull request #20347 from azul/test/fix-failing-acceptance
tests: fix failing header acceptance test
This commit is contained in:
commit
bb937999fa
|
@ -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…
Reference in New Issue