Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: enable passing modifiers test (#733)

Joel Einbinderb68a88a3fc81
diff --git a/test/click.spec.js b/test/click.spec.js
index f58a241a71..47a1633738 100644
--- a/test/click.spec.js
+++ b/test/click.spec.js
@@ -349,7 +349,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
expect(await page.evaluate(() => offsetY)).toBe(1910);
});
- it.skip(WEBKIT)('should update modifiers correctly', async({page, server}) => {
+ it('should update modifiers correctly', async({page, server}) => {
await page.goto(server.PREFIX + '/input/button.html');
await page.click('button', { modifiers: ['Shift'] });
expect(await page.evaluate(() => shiftKey)).toBe(true);