test: mark flake headful chromium test as fixme (#4276)
This commit is contained in:
parent
f384a864a8
commit
aee9068d76
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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('<html><title>Served by the proxy</title></html>');
|
||||
|
|
|
|||
Loading…
Reference in a new issue