]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-gui/toggle-docs.goml
Auto merge of #90716 - euclio:libloading, r=cjgillot
[rust.git] / src / test / rustdoc-gui / toggle-docs.goml
index 136868f3175c9722e8083a92caec6a13ce888332..eaa4c554d5a0fa9b2d9d9b4572faa9a7014ff9ed 100644 (file)
@@ -1,10 +1,10 @@
 goto: file://|DOC_PATH|/test_docs/index.html
-assert-attribute: ("#main > details.top-doc", {"open": ""})
+assert-attribute: ("#main-content > details.top-doc", {"open": ""})
 click: "#toggle-all-docs"
 wait-for: 1000
 // This is now collapsed so there shouldn't be the "open" attribute on details.
-assert-attribute-false: ("#main > details.top-doc", {"open": ""})
+assert-attribute-false: ("#main-content > details.top-doc", {"open": ""})
 click: "#toggle-all-docs"
 wait-for: 1000
 // Not collapsed anymore so the "open" attribute should be back.
-assert-attribute: ("#main > details.top-doc", {"open": ""})
+assert-attribute: ("#main-content > details.top-doc", {"open": ""})