about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-10 14:38:08 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-10 14:38:08 +0200
commit08e0c12c0719cec6edc66cff178507632e467adf (patch)
tree7af9e22023ef5a379340fa84bfc822c3b3e6c197
parenta77659a1e1807ba567f513afe59115af2604dc30 (diff)
downloadrust-08e0c12c0719cec6edc66cff178507632e467adf.tar.gz
rust-08e0c12c0719cec6edc66cff178507632e467adf.zip
Migrate GUI colors test to original CSS color format
-rw-r--r--tests/rustdoc-gui/search-reexport.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/search-reexport.goml b/tests/rustdoc-gui/search-reexport.goml
index fd817b58990..c5c386ce750 100644
--- a/tests/rustdoc-gui/search-reexport.goml
+++ b/tests/rustdoc-gui/search-reexport.goml
@@ -17,7 +17,7 @@ assert-attribute: (
 assert-text: ("//a[@class='result-import']", "test_docs::TheStdReexport")
 click: "//a[@class='result-import']"
 // We check that it has the background modified thanks to the focus.
-wait-for-css: ("//*[@id='reexport.TheStdReexport']", {"background-color": "rgb(73, 74, 61)"})
+wait-for-css: ("//*[@id='reexport.TheStdReexport']", {"background-color": "#494a3d"})
 
 // We now check that the alias is working as well on the reexport.
 // To be SURE that the search will be run.
@@ -30,4 +30,4 @@ assert-text: (
 )
 // Same thing again, we click on it to ensure the background is once again set as expected.
 click: "//a[@class='result-import']"
-wait-for-css: ("//*[@id='reexport.TheStdReexport']", {"background-color": "rgb(73, 74, 61)"})
+wait-for-css: ("//*[@id='reexport.TheStdReexport']", {"background-color": "#494a3d"})