summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/AppNavigationContext.php
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-08-25 13:29:36 +0200
committerGitHub <noreply@github.com>2022-08-25 13:29:36 +0200
commit2911dffd5ed83a0d96c41120f1903ce70e2c1a44 (patch)
tree51774b0b8b1384ae907d6057c52ce374916dd73f /tests/acceptance/features/bootstrap/AppNavigationContext.php
parent3a097020b057e4ca9f7eeb4325c31444aa0f4933 (diff)
parentede9ac2a752f5268163688e9761331a168a5a90e (diff)
downloadnextcloud-server-2911dffd5ed83a0d96c41120f1903ce70e2c1a44.tar.gz
nextcloud-server-2911dffd5ed83a0d96c41120f1903ce70e2c1a44.zip
Merge pull request #33516 from nextcloud/update-nextcloud-vue-6.0.0-beta.2
Bump @nextcloud/vue to 6.0.0-beta.4 and related
Diffstat (limited to 'tests/acceptance/features/bootstrap/AppNavigationContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/AppNavigationContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/AppNavigationContext.php b/tests/acceptance/features/bootstrap/AppNavigationContext.php
index ef8cb8cae8b..cba56856bfa 100644
--- a/tests/acceptance/features/bootstrap/AppNavigationContext.php
+++ b/tests/acceptance/features/bootstrap/AppNavigationContext.php
@@ -40,7 +40,7 @@ class AppNavigationContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function appNavigationSectionItemFor($sectionText) {
- return Locator::forThe()->xpath("//li/a[normalize-space() = '$sectionText']/..")->
+ return Locator::forThe()->xpath("//li/*[contains(normalize-space(), '$sectionText')]/..")->
descendantOf(self::appNavigation())->
describedAs($sectionText . " section item in App Navigation");
}