diff options
| author | Michael Howell <michael@notriddle.com> | 2023-12-17 23:06:31 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-12-17 23:06:31 -0700 |
| commit | 859bbc5deffbee7870433c541cdbeb4a4a23780f (patch) | |
| tree | 57e41fe2cc034bc00b157e60682937bdf850ca79 /tests/rustdoc-gui/source-code-page.goml | |
| parent | 43dcc9b786c922251c3fbe75a0142f50f07053ca (diff) | |
| download | rust-859bbc5deffbee7870433c541cdbeb4a4a23780f.tar.gz rust-859bbc5deffbee7870433c541cdbeb4a4a23780f.zip | |
rustdoc: clean up source sidebar hide button
This is a redesign of the feature, with parts pulled from https://github.com/rust-lang/rust/pull/119049 but with a button that looks more like a button and matches the one used on other sidebar pages.
Diffstat (limited to 'tests/rustdoc-gui/source-code-page.goml')
| -rw-r--r-- | tests/rustdoc-gui/source-code-page.goml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/source-code-page.goml b/tests/rustdoc-gui/source-code-page.goml index ad57380ae25..1a4600ab0e4 100644 --- a/tests/rustdoc-gui/source-code-page.goml +++ b/tests/rustdoc-gui/source-code-page.goml @@ -97,7 +97,7 @@ assert-document-property: ({"URL": "/lib.rs.html"}, ENDS_WITH) // Checking the source code sidebar. // First we "open" it. -click: "#src-sidebar-toggle" +click: "#sidebar-button" assert: ".src-sidebar-expanded" // We check that the first entry of the sidebar is collapsed |
