Skip to content

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

tests(firefox): unskip "should report shiftKey" on Linux&Win (#1833)

Yury Semikhatsky93c90836293a
diff --git a/test/keyboard.spec.js b/test/keyboard.spec.js
index ec4b263c39..c1f36cb4c6 100644
--- a/test/keyboard.spec.js
+++ b/test/keyboard.spec.js
@@ -78,7 +78,7 @@ describe('Keyboard', function() {
await page.keyboard.insertText('hello world');
expect(await page.evaluate('window.events')).toEqual(['input']);
});
- it.fail(FFOX)('should report shiftKey', async({page, server}) => {
+ it.fail(FFOX && MAC)('should report shiftKey', async({page, server}) => {
await page.goto(server.PREFIX + '/input/keyboard.html');
const keyboard = page.keyboard;
const codeForKey = {'Shift': 16, 'Alt': 18, 'Control': 17};