]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/toggle-docs.goml
Rollup merge of #86274 - alexander-melentyev:spaces, r=bjorn3
[rust.git] / src / test / rustdoc-gui / toggle-docs.goml
1 goto: file://|DOC_PATH|/test_docs/index.html
2 assert-attr: ("#main > details.top-doc", {"open": ""})
3 click: "#toggle-all-docs"
4 wait-for: 1000
5 // This is now collapsed so there shouldn't be the "open" attribute on details.
6 assert-attr-false: ("#main > details.top-doc", {"open": ""})
7 click: "#toggle-all-docs"
8 wait-for: 1000
9 // Not collapsed anymore so the "open" attribute should be back.
10 assert-attr: ("#main > details.top-doc", {"open": ""})