@@ -25,13 +25,7 @@ test.describe('ActionMenu', () => {
25
25
colorScheme : theme ,
26
26
} ,
27
27
} )
28
- await expect ( page ) . toHaveNoViolations ( {
29
- rules : {
30
- 'color-contrast' : {
31
- enabled : theme !== 'dark_dimmed' ,
32
- } ,
33
- } ,
34
- } )
28
+ await expect ( page ) . toHaveNoViolations ( )
35
29
} )
36
30
} )
37
31
}
@@ -61,13 +55,7 @@ test.describe('ActionMenu', () => {
61
55
colorScheme : theme ,
62
56
} ,
63
57
} )
64
- await expect ( page ) . toHaveNoViolations ( {
65
- rules : {
66
- 'color-contrast' : {
67
- enabled : theme !== 'dark_dimmed' ,
68
- } ,
69
- } ,
70
- } )
58
+ await expect ( page ) . toHaveNoViolations ( )
71
59
} )
72
60
} )
73
61
}
@@ -97,13 +85,7 @@ test.describe('ActionMenu', () => {
97
85
colorScheme : theme ,
98
86
} ,
99
87
} )
100
- await expect ( page ) . toHaveNoViolations ( {
101
- rules : {
102
- 'color-contrast' : {
103
- enabled : theme !== 'dark_dimmed' ,
104
- } ,
105
- } ,
106
- } )
88
+ await expect ( page ) . toHaveNoViolations ( )
107
89
} )
108
90
} )
109
91
}
@@ -133,13 +115,7 @@ test.describe('ActionMenu', () => {
133
115
colorScheme : theme ,
134
116
} ,
135
117
} )
136
- await expect ( page ) . toHaveNoViolations ( {
137
- rules : {
138
- 'color-contrast' : {
139
- enabled : theme !== 'dark_dimmed' ,
140
- } ,
141
- } ,
142
- } )
118
+ await expect ( page ) . toHaveNoViolations ( )
143
119
} )
144
120
} )
145
121
}
@@ -169,13 +145,7 @@ test.describe('ActionMenu', () => {
169
145
colorScheme : theme ,
170
146
} ,
171
147
} )
172
- await expect ( page ) . toHaveNoViolations ( {
173
- rules : {
174
- 'color-contrast' : {
175
- enabled : theme !== 'dark_dimmed' ,
176
- } ,
177
- } ,
178
- } )
148
+ await expect ( page ) . toHaveNoViolations ( )
179
149
} )
180
150
} )
181
151
}
@@ -205,13 +175,7 @@ test.describe('ActionMenu', () => {
205
175
colorScheme : theme ,
206
176
} ,
207
177
} )
208
- await expect ( page ) . toHaveNoViolations ( {
209
- rules : {
210
- 'color-contrast' : {
211
- enabled : theme !== 'dark_dimmed' ,
212
- } ,
213
- } ,
214
- } )
178
+ await expect ( page ) . toHaveNoViolations ( )
215
179
} )
216
180
} )
217
181
}
@@ -241,13 +205,7 @@ test.describe('ActionMenu', () => {
241
205
colorScheme : theme ,
242
206
} ,
243
207
} )
244
- await expect ( page ) . toHaveNoViolations ( {
245
- rules : {
246
- 'color-contrast' : {
247
- enabled : theme !== 'dark_dimmed' ,
248
- } ,
249
- } ,
250
- } )
208
+ await expect ( page ) . toHaveNoViolations ( )
251
209
} )
252
210
} )
253
211
}
@@ -279,9 +237,6 @@ test.describe('ActionMenu', () => {
279
237
} )
280
238
await expect ( page ) . toHaveNoViolations ( {
281
239
rules : {
282
- 'color-contrast' : {
283
- enabled : theme !== 'dark_dimmed' ,
284
- } ,
285
240
'aria-required-children' : {
286
241
enabled : false ,
287
242
} ,
0 commit comments