File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,14 @@ assert-position-false: (".sidebar-crate > h2 > a", {"x": -3})
199199drag-and-drop: ((205, 100), (108, 100))
200200assert-position: (".sidebar-crate > h2 > a", {"x": -3})
201201
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+
202210// Configuration option to show TOC in sidebar.
203211set-local-storage: {"rustdoc-hide-toc": "true"}
204212go-to: "file://" + |DOC_PATH| + "/test_docs/enum.WhoLetTheDogOut.html"
You can’t perform that action at this time.
0 commit comments