Skip to content

Commit 37c5065

Browse files
authored
Rollup merge of #113228 - GuillaumeGomez:migrate-gui-test-color-18, r=notriddle
Migrate GUI colors test to original CSS color format Follow-up of #111459. r? ``@notriddle``
2 parents c4ba0a6 + c607e20 commit 37c5065

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/rustdoc-gui/search-filter.goml

+9-9
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,25 @@ reload:
6565
set-timeout: 2000
6666
wait-for: "#crate-search"
6767
assert-css: ("#crate-search", {
68-
"border": "1px solid rgb(224, 224, 224)",
69-
"color": "rgb(0, 0, 0)",
70-
"background-color": "rgb(255, 255, 255)",
68+
"border": "1px solid #e0e0e0",
69+
"color": "black",
70+
"background-color": "white",
7171
})
7272

7373
// We now check the dark theme.
7474
click: "#settings-menu"
7575
wait-for: "#settings"
7676
click: "#theme-dark"
7777
wait-for-css: ("#crate-search", {
78-
"border": "1px solid rgb(224, 224, 224)",
79-
"color": "rgb(221, 221, 221)",
80-
"background-color": "rgb(53, 53, 53)",
78+
"border": "1px solid #e0e0e0",
79+
"color": "#ddd",
80+
"background-color": "#353535",
8181
})
8282

8383
// And finally we check the ayu theme.
8484
click: "#theme-ayu"
8585
wait-for-css: ("#crate-search", {
86-
"border": "1px solid rgb(92, 103, 115)",
87-
"color": "rgb(255, 255, 255)",
88-
"background-color": "rgb(15, 20, 25)",
86+
"border": "1px solid #5c6773",
87+
"color": "#fff",
88+
"background-color": "#0f1419",
8989
})

0 commit comments

Comments
 (0)