aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-07-24 13:54:03 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-08-02 15:21:34 +0200
commite457572f6b7b2a1a1ace5b79ae06b62db1d99f79 (patch)
tree7972bb7560e48c74101ffb9f0511529444024055 /tests
parentfab9f48efef55fccc9b5a0e6713ecb9c058ec8e2 (diff)
downloadnextcloud-server-e457572f6b7b2a1a1ace5b79ae06b62db1d99f79.tar.gz
nextcloud-server-e457572f6b7b2a1a1ace5b79ae06b62db1d99f79.zip
fix: Acceptance tests adjusted to find new style sidebar tabs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/FilesAppContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppContext.php b/tests/acceptance/features/bootstrap/FilesAppContext.php
index ec1f89e1462..b73b8389c49 100644
--- a/tests/acceptance/features/bootstrap/FilesAppContext.php
+++ b/tests/acceptance/features/bootstrap/FilesAppContext.php
@@ -196,7 +196,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function tabHeaderInDetailsViewNamed($tabHeaderName) {
- return Locator::forThe()->xpath("//li[normalize-space() = '$tabHeaderName']")->
+ return Locator::forThe()->xpath("//span[contains(@class, 'app-sidebar-tabs__tab') and normalize-space() = '$tabHeaderName']")->
descendantOf(self::tabHeadersInDetailsView())->
describedAs("Tab header named $tabHeaderName in details view in Files app");
}