Skip to content

Commit aee9068

Browse files
authored
test: mark flake headful chromium test as fixme (#4276)
1 parent f384a86 commit aee9068

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/browsercontext-viewport.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ it('should emulate device height', async ({page, server}) => {
8282
expect(await page.evaluate(() => matchMedia('(device-height: 500px)').matches)).toBe(true);
8383
});
8484

85-
it('should emulate availWidth and availHeight', (test, { browserName, platform }) => {
86-
test.fail(browserName === 'webkit' && platform !== 'linux', 'Not implemented');
85+
it('should emulate availWidth and availHeight', (test, { browserName, platform, headful }) => {
86+
test.fail(browserName === 'webkit' && (platform !== 'linux' || headful), 'Not implemented');
8787
}, async ({page}) => {
8888
await page.setViewportSize({width: 500, height: 600});
8989
expect(await page.evaluate(() => window.screen.availWidth)).toBe(500);

test/proxy.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ it('should authenticate', async ({browserType, browserOptions, server}) => {
128128
});
129129

130130
it('should exclude patterns', (test, { browserName, headful }) => {
131-
test.flaky(browserName === 'chromium' && headful, 'Chromium headful crashes with CHECK(!in_frame_tree_) in RenderFrameImpl::OnDeleteFrame.');
131+
test.fixme(browserName === 'chromium' && headful, 'Chromium headful crashes with CHECK(!in_frame_tree_) in RenderFrameImpl::OnDeleteFrame.');
132132
}, async ({browserType, browserOptions, server}) => {
133133
server.setRoute('/target.html', async (req, res) => {
134134
res.end('<html><title>Served by the proxy</title></html>');

0 commit comments

Comments
 (0)