test: mark flake headful chromium test as fixme (#4276)

This commit is contained in:
Pavel Feldman 2020-10-28 16:00:41 -07:00 committed by GitHub
parent f384a864a8
commit aee9068d76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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>');