summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/ContactsMenuContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/bootstrap/ContactsMenuContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/ContactsMenuContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/ContactsMenuContext.php b/tests/acceptance/features/bootstrap/ContactsMenuContext.php
index 1be38b79e70..4cb2e5885d5 100644
--- a/tests/acceptance/features/bootstrap/ContactsMenuContext.php
+++ b/tests/acceptance/features/bootstrap/ContactsMenuContext.php
@@ -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");
}