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
|
* @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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue