Skip to content

Commit

Permalink
test: disable shortcuts test on Firefox darwin (#5869)
Browse files Browse the repository at this point in the history
References #5721
  • Loading branch information
aslushnikov authored Mar 18, 2021
1 parent de16d17 commit 9bd35d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/page-keyboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 9bd35d8

Please sign in to comment.