diff --git a/gui-tests/sidebar.goml b/gui-tests/sidebar.goml index 99d438daf..760ac09fa 100644 --- a/gui-tests/sidebar.goml +++ b/gui-tests/sidebar.goml @@ -32,7 +32,7 @@ wait-for: ".rustdoc.src" // We check that the sidebar has the correct position. assert-position: (".rustdoc .sidebar", {"y": |topbar_height|, "x": 0}) // We expand the sidebar. -click: "#src-sidebar-toggle button" +click: "#sidebar-button a" wait-for: ".src-sidebar-expanded" // We check the position again. assert-position: (".rustdoc .sidebar", {"y": |topbar_height|, "x": 0})