Skip to content

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

test: disable shortcuts test on Firefox darwin (#5869)

Andrey Lushnikov9bd35d8271f1
diff --git a/test/page-keyboard.spec.ts b/test/page-keyboard.spec.ts
index 8bc77bf5f3..1ff68a6e6d 100644
--- a/test/page-keyboard.spec.ts
+++ b/test/page-keyboard.spec.ts
@@ -342,8 +342,10 @@ it('should be able to prevent selectAll', async ({page, server, isMac}) => {
expect(await page.$eval('textarea', textarea => textarea.value)).toBe('some tex');
});
-it('should support MacOS shortcuts', (test, { platform }) => {
+it('should support MacOS shortcuts', (test, { platform, browserName }) => {
test.skip(platform !== 'darwin');
+ // @see https://github.com/microsoft/playwright/issues/5721
+ test.fixme(browserName === 'firefox' && platform === 'darwin');
}, async ({page, server}) => {
await page.goto(server.PREFIX + '/input/textarea.html');
const textarea = await page.$('textarea');