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:
Andrey Lushnikov 2023-03-10 12:04:25 -08:00 коммит произвёл GitHub
Родитель e202091ca3
Коммит 8abe9fcf22
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -223,8 +223,9 @@ it('should not hang on promises after disabling javascript', async ({ browserNam
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.fixme(browserName === 'webkit' && !headless, 'https://github.com/microsoft/playwright/issues/21574');
const context = await contextFactory({ javaScriptEnabled: false });
const page = await context.newPage();
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.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 canvas = document.createElement('canvas');
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.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.fixme(browserName === 'firefox' && isWindows);
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');
await page.setViewportSize({ width: 640, height: 480 });