We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd579cc commit 6471081Copy full SHA for 6471081
tests/rustdoc-gui/sidebar.goml
@@ -199,6 +199,14 @@ assert-position-false: (".sidebar-crate > h2 > a", {"x": -3})
199
drag-and-drop: ((205, 100), (108, 100))
200
assert-position: (".sidebar-crate > h2 > a", {"x": -3})
201
202
+// Check that the mobile sidebar and the source sidebar use the same icon.
203
+store-css: (".mobile-topbar .sidebar-menu-toggle::before", {"content": image_url})
204
+// Then we go to a source page.
205
+click: ".main-heading .src"
206
+debug: true
207
+assert-css: ("#sidebar-button a::before", {"content": |image_url|})
208
+debug: false
209
+
210
// Configuration option to show TOC in sidebar.
211
set-local-storage: {"rustdoc-hide-toc": "true"}
212
go-to: "file://" + |DOC_PATH| + "/test_docs/enum.WhoLetTheDogOut.html"
0 commit comments