From 744a7e291ab1a85115f90412589c48b5c8534ef1 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Thu, 5 Oct 2023 15:45:13 -0700 Subject: [PATCH] fix(acceptance): Locate contacts menu button Signed-off-by: Christopher Ng --- tests/acceptance/features/bootstrap/ContactsMenuContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/features/bootstrap/ContactsMenuContext.php b/tests/acceptance/features/bootstrap/ContactsMenuContext.php index 72c33410b28..b54433cf07f 100644 --- a/tests/acceptance/features/bootstrap/ContactsMenuContext.php +++ b/tests/acceptance/features/bootstrap/ContactsMenuContext.php @@ -31,7 +31,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface { * @return Locator */ public static function contactsMenuButton() { - return Locator::forThe()->xpath("//*[@id = 'header']//*[@id = 'contactsmenu']//*[@class = 'header-menu__trigger']")-> + return Locator::forThe()->xpath("//*[@id = 'header']//*[@id = 'contactsmenu']//*[contains(@class, 'header-menu__trigger')]")-> describedAs("Contacts menu button"); }