mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
test: enable Page.emulateMedia tests on WK
This commit is contained in:
parent
08f0823873
commit
c6afe0f155
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user