Skip to content

Commit

Permalink
test: fix test on Firefox Linux (#1079)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov authored Feb 21, 2020
1 parent f305d65 commit 88e3109
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/click.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
button.style.borderWidth = '0';
button.style.width = '200px';
button.style.height = '20px';
// Set display to "block" - otherwise Firefox layouts with non-even
// values on Linux.
button.style.display = 'block';
document.body.style.margin = '0';
});
await page.click('button');
Expand Down

0 comments on commit 88e3109

Please sign in to comment.