summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-10-05 15:45:13 -0700
committerChristopher Ng <chrng8@gmail.com>2023-10-06 14:40:33 -0700
commit744a7e291ab1a85115f90412589c48b5c8534ef1 (patch)
tree6d64d5f011c1cefc32534292768c081cd6044298 /tests/acceptance
parent675feb9cf3355cc163083f922da24022316af309 (diff)
downloadnextcloud-server-744a7e291ab1a85115f90412589c48b5c8534ef1.tar.gz
nextcloud-server-744a7e291ab1a85115f90412589c48b5c8534ef1.zip
fix(acceptance): Locate contacts menu button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'tests/acceptance')
-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 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");
}