mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-07 03:39:48 +03:00
tree gardening: disable & assign failing tests (#21575)
References https://github.com/microsoft/playwright/issues/21574 References https://github.com/microsoft/playwright/issues/21549
This commit is contained in:
parent
e202091ca3
commit
8abe9fcf22
@ -223,8 +223,9 @@ it('should not hang on promises after disabling javascript', async ({ browserNam
|
|||||||
expect(await page.evaluate(async () => 2)).toBe(2);
|
expect(await page.evaluate(async () => 2)).toBe(2);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('setContent should work after disabling javascript', async ({ contextFactory, browserName, isLinux }) => {
|
it('setContent should work after disabling javascript', async ({ contextFactory, browserName, isLinux, headless }) => {
|
||||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18235' });
|
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18235' });
|
||||||
|
it.fixme(browserName === 'webkit' && !headless, 'https://github.com/microsoft/playwright/issues/21574');
|
||||||
const context = await contextFactory({ javaScriptEnabled: false });
|
const context = await contextFactory({ javaScriptEnabled: false });
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
await page.setContent('<h1>Hello</h1>');
|
await page.setContent('<h1>Hello</h1>');
|
||||||
|
@ -108,7 +108,7 @@ it('should play audio @smoke', async ({ page, server, browserName, platform }) =
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should support webgl @smoke', async ({ page, browserName, headless, browserMajorVersion, channel }) => {
|
it('should support webgl @smoke', async ({ page, browserName, headless, browserMajorVersion, channel }) => {
|
||||||
it.fixme(channel === 'msedge' && browserMajorVersion === 111, 'https://github.com/microsoft/playwright/issues/21549');
|
it.fixme(channel === 'msedge' && browserMajorVersion === 110, 'https://github.com/microsoft/playwright/issues/21549');
|
||||||
const hasWebGL = await page.evaluate(() => {
|
const hasWebGL = await page.evaluate(() => {
|
||||||
const canvas = document.createElement('canvas');
|
const canvas = document.createElement('canvas');
|
||||||
return !!canvas.getContext('webgl');
|
return !!canvas.getContext('webgl');
|
||||||
@ -117,7 +117,7 @@ it('should support webgl @smoke', async ({ page, browserName, headless, browserM
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should support webgl 2 @smoke', async ({ page, browserName, headless, isWindows, channel, browserMajorVersion }) => {
|
it('should support webgl 2 @smoke', async ({ page, browserName, headless, isWindows, channel, browserMajorVersion }) => {
|
||||||
it.fixme(channel === 'msedge' && browserMajorVersion === 111, 'https://github.com/microsoft/playwright/issues/21549');
|
it.fixme(channel === 'msedge' && browserMajorVersion === 110, 'https://github.com/microsoft/playwright/issues/21549');
|
||||||
it.skip(browserName === 'webkit', 'WebKit doesn\'t have webgl2 enabled yet upstream.');
|
it.skip(browserName === 'webkit', 'WebKit doesn\'t have webgl2 enabled yet upstream.');
|
||||||
it.fixme(browserName === 'firefox' && isWindows);
|
it.fixme(browserName === 'firefox' && isWindows);
|
||||||
it.fixme(browserName === 'chromium' && !headless, 'chromium doesn\'t like webgl2 when running under xvfb');
|
it.fixme(browserName === 'chromium' && !headless, 'chromium doesn\'t like webgl2 when running under xvfb');
|
||||||
|
@ -310,7 +310,8 @@ it.describe('page screenshot', () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work for webgl', async ({ page, server, browserName }) => {
|
it('should work for webgl', async ({ page, server, browserName, channel, browserMajorVersion }) => {
|
||||||
|
it.fixme(channel === 'msedge' && browserMajorVersion === 110, 'https://github.com/microsoft/playwright/issues/21549');
|
||||||
it.fixme(browserName === 'firefox');
|
it.fixme(browserName === 'firefox');
|
||||||
|
|
||||||
await page.setViewportSize({ width: 640, height: 480 });
|
await page.setViewportSize({ width: 640, height: 480 });
|
||||||
|
Loading…
Reference in New Issue
Block a user