Skip to content

Commit

Permalink
Update GUI test to new rustdoc source code pages DOM
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 3, 2024
1 parent 455a5e6 commit 85c0fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui-tests/sidebar.goml
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 85c0fcc

Please sign in to comment.