Skip to content

Commit

Permalink
Update rustdoc-gui tests for search-input border color on dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Sep 2, 2022
1 parent 7fb0a89 commit 30bdf54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/rustdoc-gui/search-form-elements.goml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ reload:
assert-css: (
".search-input",
{
"border-color": "rgb(240, 240, 240)",
"border-color": "rgb(224, 224, 224)",
"background-color": "rgb(240, 240, 240)",
"color": "rgb(17, 17, 17)",
},
Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc-gui/search-input.goml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ goto: file://|DOC_PATH|/test_docs/index.html
local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "dark"}
reload:

assert-css: (".search-input", {"border-color": "rgb(240, 240, 240)"})
assert-css: (".search-input", {"border-color": "rgb(224, 224, 224)"})
click: ".search-input"
assert-css: (".search-input", {"border-color": "rgb(0, 141, 253)"})

Expand Down

0 comments on commit 30bdf54

Please sign in to comment.