summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/toggle-implementors.goml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/toggle-implementors.goml')
-rw-r--r--tests/rustdoc-gui/toggle-implementors.goml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/toggle-implementors.goml b/tests/rustdoc-gui/toggle-implementors.goml
new file mode 100644
index 000000000..8ff5b91af
--- /dev/null
+++ b/tests/rustdoc-gui/toggle-implementors.goml
@@ -0,0 +1,4 @@
+// This test ensures that the implementors toggle are not open by default.
+goto: "file://" + |DOC_PATH| + "/implementors/trait.Whatever.html"
+
+assert-attribute-false: ("#implementors-list > details", {"open": ""}, ALL)