File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ // This test ensures that several clickable items actually have the pointer cursor.
2
+ goto: "file://" + |DOC_PATH| + "/lib2/struct.Foo.html"
3
+
4
+ // the `[+]/[-]` button
5
+ assert-css: ("#toggle-all-docs", {"cursor": "pointer"})
6
+
7
+ // the button next to the path header
8
+ assert-css: ("#copy-path", {"cursor": "pointer"})
9
+
10
+ // the search tabs
11
+ write: (".search-input", "Foo")
12
+ // To be SURE that the search will be run.
13
+ press-key: 'Enter'
14
+ // Waiting for the search results to appear...
15
+ wait-for: "#titles"
16
+ assert-css: ("#titles > button", {"cursor": "pointer"})
17
+
18
+ // mobile sidebar toggle button
19
+ size: (500, 700)
20
+ assert-css: (".sidebar-menu-toggle", {"cursor": "pointer"})
21
+
22
+ // the sidebar toggle button on the source code pages
23
+ goto: "file://" + |DOC_PATH| + "/src/lib2/lib.rs.html"
24
+ assert-css: ("#sidebar-toggle > button", {"cursor": "pointer"})
You can’t perform that action at this time.
0 commit comments