From 0b8958fae72dfe0d0dd7114d072a04b8576655c0 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Fri, 13 Oct 2023 11:26:48 -0700 Subject: fix(acceptance): Locate settings menu Signed-off-by: Christopher Ng --- tests/acceptance/features/bootstrap/SettingsMenuContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v1.2.3