@@ -5,6 +5,7 @@ define-function: (
5
5
(result_kind, color, hover_color),
6
6
block {
7
7
assert-css: (".result-" + |result_kind| + " ." + |result_kind|, {"color": |color|}, ALL)
8
+ assert-css: (".result-" + |result_kind| + " i", {"color": |default_color|})
8
9
assert-css: (
9
10
".result-" + |result_kind|,
10
11
{"color": |entry_color|, "background-color": |background_color|},
@@ -18,6 +19,7 @@ define-function: (
18
19
".result-" + |result_kind| + ":hover ." + |result_kind|,
19
20
{"color": |hover_color|},
20
21
)
22
+ assert-css: (".result-" + |result_kind| + ":hover i", {"color": |default_color|})
21
23
move-cursor-to: ".search-input"
22
24
focus: ".result-" + |result_kind|
23
25
assert-css: (
@@ -65,10 +67,12 @@ assert-css: (
65
67
{"border-bottom-color": "#aaa3"}
66
68
)
67
69
70
+ store-value: (default_color, "rgb(197, 197, 197)")
71
+
68
72
// Checking the color of "keyword" text.
69
73
assert-css: (
70
74
"//*[@class='result-name']//*[text()='(keyword)']",
71
- {"color": "#788797" },
75
+ {"color": |default_color| },
72
76
)
73
77
74
78
store-value: (entry_color, "#0096cf") // color of the search entry
@@ -182,10 +186,12 @@ assert-css: (
182
186
{"border-bottom-color": "#aaa3"}
183
187
)
184
188
189
+ store-value: (default_color, "rgb(221, 221, 221)")
190
+
185
191
// Checking the color for "keyword" text.
186
192
assert-css: (
187
193
"//*[@class='result-name']//*[text()='(keyword)']",
188
- {"color": "#ddd" },
194
+ {"color": |default_color| },
189
195
)
190
196
191
197
store-value: (entry_color, "#ddd") // color of the search entry
@@ -284,10 +290,12 @@ assert-css: (
284
290
{"border-bottom-color": "#aaa3"}
285
291
)
286
292
293
+ store-value: (default_color, "rgb(0, 0, 0)")
294
+
287
295
// Checking the color for "keyword" text.
288
296
assert-css: (
289
297
"//*[@class='result-name']//*[text()='(keyword)']",
290
- {"color": "#000" },
298
+ {"color": |default_color| },
291
299
)
292
300
293
301
store-value: (entry_color, "#000") // color of the search entry
0 commit comments