fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
857 B24 linesraw
1// This test ensures that several clickable items actually have the pointer cursor.
2go-to: "file://" + |DOC_PATH| + "/lib2/struct.Foo.html"
3
4// the `[+]/[-]` button
5assert-css: ("#toggle-all-docs", {"cursor": "pointer"})
6
7// the button next to the path header
8assert-css: ("#copy-path", {"cursor": "pointer"})
9
10// the search tabs
11write: (".search-input", "Foo")
12// To be SURE that the search will be run.
13press-key: 'Enter'
14// Waiting for the search results to appear...
15wait-for: "#search-tabs"
16assert-css: ("#search-tabs > button", {"cursor": "pointer"})
17
18// mobile sidebar toggle button
19set-window-size: (500, 700)
20assert-css: (".sidebar-menu-toggle", {"cursor": "pointer"})
21
22// the sidebar toggle button on the source code pages
23go-to: "file://" + |DOC_PATH| + "/src/lib2/lib.rs.html"
24assert-css: ("#src-sidebar-toggle > button", {"cursor": "pointer"})