@@ -42,23 +42,24 @@ scroll-to: ".block.keyword li:nth-child(1)"
42
42
compare-elements-position-near: (".block.keyword li:nth-child(1)", ".mobile-topbar", {"y": 543})
43
43
44
44
// Now checking the background color of the sidebar.
45
+ show-text: true
45
46
local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "dark"}
46
47
reload:
47
48
48
49
// Open the sidebar menu.
49
50
click: ".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)" })
51
52
52
53
local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "ayu"}
53
54
reload:
54
55
55
56
// Open the sidebar menu.
56
57
click: ".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)" })
58
59
59
60
local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "light"}
60
61
reload:
61
62
62
63
// Open the sidebar menu.
63
64
click: ".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