diff options
Diffstat (limited to 'tests/rustdoc-gui/toggled-open-implementations.goml')
-rw-r--r-- | tests/rustdoc-gui/toggled-open-implementations.goml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/toggled-open-implementations.goml b/tests/rustdoc-gui/toggled-open-implementations.goml new file mode 100644 index 000000000..000293b55 --- /dev/null +++ b/tests/rustdoc-gui/toggled-open-implementations.goml @@ -0,0 +1,5 @@ +// This tests that the "implementations" section on struct/enum pages +// has all the implementations toggled open by default, so users can +// find method names in those implementations with Ctrl-F. +goto: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html" +assert-attribute: (".toggle.implementors-toggle", {"open": ""}) |