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

References #5721
This commit is contained in:
Andrey Lushnikov 2021-03-18 00:22:54 -07:00 committed by GitHub
parent de16d17726
commit 9bd35d8271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');