]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/run-on-hover.goml
Rollup merge of #92559 - durin42:llvm-14-attributemask, r=nikic
[rust.git] / src / test / rustdoc-gui / run-on-hover.goml
1 // Example code blocks sometimes have a "Run" button to run them on the
2 // Playground. That button is hidden until the user hovers over the code block.
3 // This test checks that it is hidden, and that it shows on hover.
4 goto: file://|DOC_PATH|/test_docs/fn.foo.html
5 assert-css: (".test-arrow", {"visibility": "hidden"})
6 move-cursor-to: ".example-wrap"
7 assert-css: (".test-arrow", {"visibility": "visible"})