test: enable Page.emulateMedia tests on WK

This commit is contained in:
Pavel 2019-12-13 16:36:56 -08:00
parent 08f0823873
commit c6afe0f155

View File

@ -97,7 +97,7 @@ module.exports.addTests = function({testRunner, expect, playwright, FFOX, CHROME
});
});
describe.skip(WEBKIT)('Page.emulateMedia type', function() {
describe('Page.emulateMedia type', function() {
it('should work', async({page, server}) => {
expect(await page.evaluate(() => matchMedia('screen').matches)).toBe(true);
expect(await page.evaluate(() => matchMedia('print').matches)).toBe(false);