]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-gui/sidebar-mobile.goml
Rollup merge of #95470 - GuillaumeGomez:fix-gui-spurious-test, r=notriddle
[rust.git] / src / test / rustdoc-gui / sidebar-mobile.goml
index 9581aa74b0f643eafeaa9c3c3f9bcf2bdf2717e2..79f18db8fc7cde424abeb23607bedd19a005a963 100644 (file)
@@ -33,7 +33,7 @@ assert-property: (".mobile-topbar", {"clientHeight": "45"})
 // Check that clicking an element from the sidebar scrolls to the right place
 // so the target is not obscured by the topbar.
 click: ".sidebar-menu-toggle"
-click: ".sidebar-links a"
+click: ".sidebar-elems section .block li > a"
 assert-position: ("#method\.must_use", {"y": 45})
 
 // Check that the bottom-most item on the sidebar menu can be scrolled fully into view.