]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/toggle-docs.goml
Auto merge of #84665 - adamgemmell:aarch64-features, r=Amanieu
[rust.git] / src / test / rustdoc-gui / toggle-docs.goml
1 goto: file://|DOC_PATH|/test_docs/index.html
2 assert: ("#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-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: ("#main > details.top-doc", "open", "")