Skip to content

Commit 88e3109

Browse files
authored
test: fix test on Firefox Linux (#1079)
1 parent f305d65 commit 88e3109

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/click.spec.js

+3
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
393393
button.style.borderWidth = '0';
394394
button.style.width = '200px';
395395
button.style.height = '20px';
396+
// Set display to "block" - otherwise Firefox layouts with non-even
397+
// values on Linux.
398+
button.style.display = 'block';
396399
document.body.style.margin = '0';
397400
});
398401
await page.click('button');

0 commit comments

Comments
 (0)