diff --git a/test/accessibility.spec.js b/test/accessibility.spec.js
index 64ab278d4a818..e5bb8bd9dfcfe 100644
--- a/test/accessibility.spec.js
+++ b/test/accessibility.spec.js
@@ -234,18 +234,10 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
this is the inner content
`);
- const golden = FFOX ? {
- role: 'textbox',
- name: 'my favorite textbox',
- value: 'this is the inner content yo'
- } : CHROMIUM ? {
+ const golden = {
role: 'textbox',
name: 'my favorite textbox',
value: 'this is the inner content '
- } : {
- role: 'textbox',
- name: 'my favorite textbox',
- value: 'this is the inner content ',
};
const snapshot = await page.accessibility.snapshot();
expect(snapshot.children[0]).toEqual(golden);
@@ -270,11 +262,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
this is the inner content
`);
- const golden = FFOX ? {
- role: 'checkbox',
- name: 'this is the inner content yo',
- checked: true
- } : {
+ const golden = {
role: 'checkbox',
name: 'this is the inner content yo',
checked: true