From 30bdf54827703fe76ec3a6718044a2749bb4704d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 2 Sep 2022 17:40:28 +0200 Subject: [PATCH] Update rustdoc-gui tests for search-input border color on dark theme --- src/test/rustdoc-gui/search-form-elements.goml | 2 +- src/test/rustdoc-gui/search-input.goml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/rustdoc-gui/search-form-elements.goml b/src/test/rustdoc-gui/search-form-elements.goml index c35a86ccd1cab..1c64974e91627 100644 --- a/src/test/rustdoc-gui/search-form-elements.goml +++ b/src/test/rustdoc-gui/search-form-elements.goml @@ -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)", }, diff --git a/src/test/rustdoc-gui/search-input.goml b/src/test/rustdoc-gui/search-input.goml index 6903e1a1bf5c6..fd61c4f43d181 100644 --- a/src/test/rustdoc-gui/search-input.goml +++ b/src/test/rustdoc-gui/search-input.goml @@ -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)"})