summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2022-08-31 12:15:10 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2022-08-31 12:57:16 +0200
commitac2d885899566121eb56c642719e299d4e68bed3 (patch)
treecc8da93c11ed738b0897f34e248bbee846cac20b /tests/acceptance
parentbff4c861549a1d73c810df806fe0a0e9f5a1eb7d (diff)
downloadnextcloud-server-ac2d885899566121eb56c642719e299d4e68bed3.tar.gz
nextcloud-server-ac2d885899566121eb56c642719e299d4e68bed3.zip
Adjust acceptance tests to changes in app menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/acceptance')
-rw-r--r--tests/acceptance/features/bootstrap/FilesAppContext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppContext.php b/tests/acceptance/features/bootstrap/FilesAppContext.php
index 91ca4725a96..124000f878d 100644
--- a/tests/acceptance/features/bootstrap/FilesAppContext.php
+++ b/tests/acceptance/features/bootstrap/FilesAppContext.php
@@ -46,7 +46,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
* @return Locator
*/
private static function appMenu() {
- return Locator::forThe()->id("appmenu")->
+ return Locator::forThe()->css("header nav.app-menu")->
describedAs("App menu in header");
}
@@ -54,7 +54,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function filesItemInAppMenu() {
- return Locator::forThe()->xpath("/li[@data-id = 'files']")->
+ return Locator::forThe()->xpath("//li[@data-app-id = 'files']")->
descendantOf(self::appMenu())->
describedAs("Files item in app menu in header");
}