about summary refs log tree commit diff
path: root/tests/rustdoc-gui/setting-auto-hide-item-methods-docs.goml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/setting-auto-hide-item-methods-docs.goml')
-rw-r--r--tests/rustdoc-gui/setting-auto-hide-item-methods-docs.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/setting-auto-hide-item-methods-docs.goml b/tests/rustdoc-gui/setting-auto-hide-item-methods-docs.goml
index 644396ed578..02d4ce8855f 100644
--- a/tests/rustdoc-gui/setting-auto-hide-item-methods-docs.goml
+++ b/tests/rustdoc-gui/setting-auto-hide-item-methods-docs.goml
@@ -6,7 +6,7 @@ define-function: (
     [storage_value, setting_attribute_value, toggle_attribute_value],
     block {
         assert-local-storage: {"rustdoc-auto-hide-method-docs": |storage_value|}
-        click: "#settings-menu"
+        click: "rustdoc-toolbar .settings-menu"
         wait-for: "#settings"
         assert-property: ("#auto-hide-method-docs", {"checked": |setting_attribute_value|})
         assert-attribute: (".toggle.method-toggle", {"open": |toggle_attribute_value|})