Clean up rustdoc GUI test
This commit is contained in:
parent
f9fc7ef097
commit
fe4fa53fa8
1 changed files with 1 additions and 2 deletions
|
@ -15,6 +15,5 @@ assert-css: ("#sidebar-toggle", {"visibility": "visible", "opacity": 1})
|
||||||
assert-css: (".sidebar > *:not(#sidebar-toggle)", {"visibility": "hidden", "opacity": 0})
|
assert-css: (".sidebar > *:not(#sidebar-toggle)", {"visibility": "hidden", "opacity": 0})
|
||||||
// Let's expand the sidebar now.
|
// Let's expand the sidebar now.
|
||||||
click: "#sidebar-toggle"
|
click: "#sidebar-toggle"
|
||||||
// Because of the transition CSS, better wait a second before checking.
|
// Because of the transition CSS, we check by using `wait-for-css` instead of `assert-css`.
|
||||||
wait-for-css: ("#sidebar-toggle", {"visibility": "visible", "opacity": 1})
|
wait-for-css: ("#sidebar-toggle", {"visibility": "visible", "opacity": 1})
|
||||||
assert-css: (".sidebar > *:not(#sidebar-toggle)", {"visibility": "visible", "opacity": 1})
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue