Skip to content

Commit fc34b6a

Browse files
Update to last rustdoc DOM changes
1 parent 7cf9117 commit fc34b6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gui-tests/sidebar.goml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ assert-position: (".rustdoc .sidebar", {"y": |topbar_height|, "x": 0})
99

1010
// We check the same in "mobile mode".
1111
set-window-size: (600, 1000)
12-
wait-for-css-false: (".rustdoc .mobile-topbar", {"display": "none"})
13-
assert-position: (".rustdoc .mobile-topbar", {"y": |topbar_height|, "x": 0})
12+
wait-for-css-false: ("rustdoc-topbar", {"display": "none"})
13+
assert-position: ("rustdoc-topbar", {"y": |topbar_height|, "x": 0})
1414
// We check when the sidebar is shown now.
15-
click: ".rustdoc .mobile-topbar .sidebar-menu-toggle"
15+
click: "rustdoc-topbar .sidebar-menu-toggle"
1616
wait-for: ".rustdoc .sidebar.shown"
1717
// The mobile sidebar is supposed to be under the rustdoc mobile topbar + docs.rs topbar.
18-
store-size: (".rustdoc .mobile-topbar", {"height": rustdoc_topbar_height})
18+
store-size: ("rustdoc-topbar", {"height": rustdoc_topbar_height})
1919
assert-position: (".rustdoc .sidebar.shown", {
2020
"y": |topbar_height| + |rustdoc_topbar_height|,
2121
"x": 0,

0 commit comments

Comments
 (0)