mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: fix test on Firefox Linux (#1079)
This commit is contained in:
parent
f305d6594e
commit
88e310942b
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user