We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5a24b0 commit 1b0976cCopy full SHA for 1b0976c
src/test/rustdoc-gui/toggle-docs.goml
@@ -1,7 +1,10 @@
1
goto: file://|DOC_PATH|/test_docs/index.html
2
+assert: ("#main > details.top-doc", "open", "")
3
click: "#toggle-all-docs"
-wait-for: 5000
4
-assert: ("#main > div.docblock.hidden-by-usual-hider")
+wait-for: 1000
5
+// This is now collapsed so there shouldn't be the "open" attribute on details.
6
+assert-false: ("#main > details.top-doc", "open", "")
7
-assert: ("#main > div.docblock.hidden-by-usual-hider", 0)
8
9
+// Not collapsed anymore so the "open" attribute should be back.
10
0 commit comments