]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/run-on-hover.goml
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[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"})