diff --git a/test/browsercontext-viewport.spec.ts b/test/browsercontext-viewport.spec.ts index 01290dff43..bd059e455f 100644 --- a/test/browsercontext-viewport.spec.ts +++ b/test/browsercontext-viewport.spec.ts @@ -82,8 +82,8 @@ it('should emulate device height', async ({page, server}) => { expect(await page.evaluate(() => matchMedia('(device-height: 500px)').matches)).toBe(true); }); -it('should emulate availWidth and availHeight', (test, { browserName, platform }) => { - test.fail(browserName === 'webkit' && platform !== 'linux', 'Not implemented'); +it('should emulate availWidth and availHeight', (test, { browserName, platform, headful }) => { + test.fail(browserName === 'webkit' && (platform !== 'linux' || headful), 'Not implemented'); }, async ({page}) => { await page.setViewportSize({width: 500, height: 600}); expect(await page.evaluate(() => window.screen.availWidth)).toBe(500); diff --git a/test/proxy.spec.ts b/test/proxy.spec.ts index 35a74092a6..8da7ce85d8 100644 --- a/test/proxy.spec.ts +++ b/test/proxy.spec.ts @@ -128,7 +128,7 @@ it('should authenticate', async ({browserType, browserOptions, server}) => { }); it('should exclude patterns', (test, { browserName, headful }) => { - test.flaky(browserName === 'chromium' && headful, 'Chromium headful crashes with CHECK(!in_frame_tree_) in RenderFrameImpl::OnDeleteFrame.'); + test.fixme(browserName === 'chromium' && headful, 'Chromium headful crashes with CHECK(!in_frame_tree_) in RenderFrameImpl::OnDeleteFrame.'); }, async ({browserType, browserOptions, server}) => { server.setRoute('/target.html', async (req, res) => { res.end('