@@ -42,23 +42,24 @@ scroll-to: ".block.keyword li:nth-child(1)"
4242compare-elements-position-near: (".block.keyword li:nth-child(1)", ".mobile-topbar", {"y": 543})
4343
4444// Now checking the background color of the sidebar.
45+ show-text: true
4546local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "dark"}
4647reload:
4748
4849// Open the sidebar menu.
4950click: ".sidebar-menu-toggle"
50- assert-css: (".sidebar", {"background-color": "rgb(80, 80, 80)"})
51+ assert-css: (".sidebar", {"background-color": "rgb(80, 80, 80)", "color": "rgb(221, 221, 221)" })
5152
5253local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "ayu"}
5354reload:
5455
5556// Open the sidebar menu.
5657click: ".sidebar-menu-toggle"
57- assert-css: (".sidebar", {"background-color": "rgb(20, 25, 31)"})
58+ assert-css: (".sidebar", {"background-color": "rgb(20, 25, 31)", "color": "rgb(197, 197, 197)" })
5859
5960local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "light"}
6061reload:
6162
6263// Open the sidebar menu.
6364click: ".sidebar-menu-toggle"
64- assert-css: (".sidebar", {"background-color": "rgb(245, 245, 245)"})
65+ assert-css: (".sidebar", {"background-color": "rgb(245, 245, 245)", "color": "rgb(0, 0, 0)" })
0 commit comments