test: skip NumpadEnter test on webkit mac

This commit is contained in:
Joel Einbinder 2020-02-14 17:49:13 -08:00
parent 21acb369db
commit d5f09273ca

View file

@ -207,7 +207,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
await textarea.press('NumpadSubtract');
expect(await page.evaluate('keyLocation')).toBe(3);
});
it('should press Enter', async({page, server}) => {
it.skip(WEBKIT && MAC)('should press Enter', async({page, server}) => {
await page.setContent('<textarea></textarea>');
await page.focus('textarea');
await page.evaluate(() => window.addEventListener('keydown', e => window.lastEvent = {key: e.key, code:e.code}));