diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-12-22 11:38:59 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-12-22 11:38:59 +0100 |
| commit | faebd7a788fd9f04743805b557a5321ee13bfbb0 (patch) | |
| tree | b370d0ae43029e9b168bd5b84af4c3bf2fef030a /src | |
| parent | 33ff610d1355832dd82bd5dc926e836eb8cf8d41 (diff) | |
Extend search GUI test to include search tab title color check
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/rustdoc-gui/search-result-color.goml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/search-result-color.goml b/src/test/rustdoc-gui/search-result-color.goml index dde43b1c980..d124045608c 100644 --- a/src/test/rustdoc-gui/search-result-color.goml +++ b/src/test/rustdoc-gui/search-result-color.goml @@ -67,6 +67,11 @@ reload: // Waiting for the search results to appear... wait-for: "#titles" assert-css: ( + "#titles > button > div.count", + {"color": "rgb(136, 136, 136)"}, + ALL, +) +assert-css: ( "//*[@class='desc'][text()='Just a normal struct.']", {"color": "rgb(197, 197, 197)"}, ) @@ -179,6 +184,11 @@ reload: // Waiting for the search results to appear... wait-for: "#titles" assert-css: ( + "#titles > button > div.count", + {"color": "rgb(136, 136, 136)"}, + ALL, +) +assert-css: ( "//*[@class='desc'][text()='Just a normal struct.']", {"color": "rgb(221, 221, 221)"}, ) @@ -276,6 +286,11 @@ reload: // Waiting for the search results to appear... wait-for: "#titles" assert-css: ( + "#titles > button > div.count", + {"color": "rgb(136, 136, 136)"}, + ALL, +) +assert-css: ( "//*[@class='desc'][text()='Just a normal struct.']", {"color": "rgb(0, 0, 0)"}, ) |
