summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-09-22 09:15:36 +0200
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-09-28 18:18:40 +0200
commit56930920538e045716a0b649213b418da19e2766 (patch)
tree1104148e61504e9a14b4fcb0ad99754e7a060729 /tests
parent45cac164322d6ce4d10db07b9207b7079694e2a4 (diff)
downloadnextcloud-server-56930920538e045716a0b649213b418da19e2766.tar.gz
nextcloud-server-56930920538e045716a0b649213b418da19e2766.zip
Split list to navigation for the left sidebar
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/SettingsMenuContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/SettingsMenuContext.php b/tests/acceptance/features/bootstrap/SettingsMenuContext.php
index dfd090f921a..26b95042088 100644
--- a/tests/acceptance/features/bootstrap/SettingsMenuContext.php
+++ b/tests/acceptance/features/bootstrap/SettingsMenuContext.php
@@ -89,7 +89,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
* @return Locator
*/
private static function settingsPanelFor($itemText) {
- return Locator::forThe()->xpath("//div[@id = 'app-navigation' or contains(@class, 'app-navigation')]//ul//li[@class = 'app-navigation-caption' and normalize-space() = '$itemText']")->
+ return Locator::forThe()->xpath("//div[@id = 'app-navigation' or contains(@class, 'app-navigation')]//div[contains(@class, 'app-navigation-caption') and normalize-space() = '$itemText']")->
describedAs($itemText . " item in Settings panel");
}