diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-10-13 11:26:48 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-10-16 09:54:41 -0700 |
commit | 0b8958fae72dfe0d0dd7114d072a04b8576655c0 (patch) | |
tree | 6aa75a206a5d0517c9833b61b1336147481211f6 | |
parent | a7de1137d7d9a87992f8900f713a11e1a3fd9616 (diff) | |
download | nextcloud-server-0b8958fae72dfe0d0dd7114d072a04b8576655c0.tar.gz nextcloud-server-0b8958fae72dfe0d0dd7114d072a04b8576655c0.zip |
fix(acceptance): Locate settings menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r-- | tests/acceptance/features/bootstrap/SettingsMenuContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/SettingsMenuContext.php b/tests/acceptance/features/bootstrap/SettingsMenuContext.php index 26b95042088..d5c1872a82c 100644 --- a/tests/acceptance/features/bootstrap/SettingsMenuContext.php +++ b/tests/acceptance/features/bootstrap/SettingsMenuContext.php @@ -49,7 +49,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface { * @return Locator */ public static function settingsMenu() { - return Locator::forThe()->css(".user-menu__nav")-> + return Locator::forThe()->css("ul")-> descendantOf(self::settingsSectionInHeader())-> describedAs("Settings menu"); } |