Skip to content

Commit fe4fa53

Browse files
Clean up rustdoc GUI test
1 parent f9fc7ef commit fe4fa53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/rustdoc-gui/sidebar-source-code-display.goml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ assert-css: ("#sidebar-toggle", {"visibility": "visible", "opacity": 1})
1515
assert-css: (".sidebar > *:not(#sidebar-toggle)", {"visibility": "hidden", "opacity": 0})
1616
// Let's expand the sidebar now.
1717
click: "#sidebar-toggle"
18-
// Because of the transition CSS, better wait a second before checking.
18+
// Because of the transition CSS, we check by using `wait-for-css` instead of `assert-css`.
1919
wait-for-css: ("#sidebar-toggle", {"visibility": "visible", "opacity": 1})
20-
assert-css: (".sidebar > *:not(#sidebar-toggle)", {"visibility": "visible", "opacity": 1})

0 commit comments

Comments
 (0)