Skip to content

Commit aad4227

Browse files
Update GUI test
1 parent 87fba23 commit aad4227

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/test/rustdoc-gui/toggle-docs.goml

+8-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ assert-text: ("#toggle-all-docs", "[−]")
1717
goto: file://|DOC_PATH|/test_docs/struct.Foo.html
1818
// We first check that everything is visible.
1919
assert-text: ("#toggle-all-docs", "[−]")
20-
assert-attribute: ("details.rustdoc-toggle", {"open": ""}, ALL)
20+
assert-attribute: ("#implementations-list details.rustdoc-toggle", {"open": ""}, ALL)
21+
assert-attribute: ("#trait-implementations-list details.rustdoc-toggle", {"open": ""}, ALL)
22+
assert-attribute-false: (
23+
"#blanket-implementations-list > details.rustdoc-toggle",
24+
{"open": ""},
25+
ALL,
26+
)
27+
2128
// We collapse them all.
2229
click: "#toggle-all-docs"
2330
wait-for: 50

0 commit comments

Comments
 (0)