summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-gui/toggle-implementors.goml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-gui/toggle-implementors.goml')
-rw-r--r--src/test/rustdoc-gui/toggle-implementors.goml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/toggle-implementors.goml b/src/test/rustdoc-gui/toggle-implementors.goml
new file mode 100644
index 000000000..15521ff0f
--- /dev/null
+++ b/src/test/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)