Skip to content

Commit d590ab9

Browse files
authored
tests(accessibility): Remove unused browser goldens (#758)
1 parent 1b012e5 commit d590ab9

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

test/accessibility.spec.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -234,18 +234,10 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
234234
this is the inner content
235235
<img alt="yo" src="fakeimg.png">
236236
</div>`);
237-
const golden = FFOX ? {
238-
role: 'textbox',
239-
name: 'my favorite textbox',
240-
value: 'this is the inner content yo'
241-
} : CHROMIUM ? {
237+
const golden = {
242238
role: 'textbox',
243239
name: 'my favorite textbox',
244240
value: 'this is the inner content '
245-
} : {
246-
role: 'textbox',
247-
name: 'my favorite textbox',
248-
value: 'this is the inner content ',
249241
};
250242
const snapshot = await page.accessibility.snapshot();
251243
expect(snapshot.children[0]).toEqual(golden);
@@ -270,11 +262,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
270262
this is the inner content
271263
<img alt="yo" src="fakeimg.png">
272264
</div>`);
273-
const golden = FFOX ? {
274-
role: 'checkbox',
275-
name: 'this is the inner content yo',
276-
checked: true
277-
} : {
265+
const golden = {
278266
role: 'checkbox',
279267
name: 'this is the inner content yo',
280268
checked: true

0 commit comments

Comments
 (0)