test: mark some --headless=new tests as fixme (#27516)
This commit is contained in:
parent
39f92e82f6
commit
e8523abea5
|
|
@ -104,6 +104,8 @@ it('should change document.activeElement', async ({ page, server }) => {
|
||||||
it('should not affect screenshots', async ({ page, server, browserName, headless, isWindows }) => {
|
it('should not affect screenshots', async ({ page, server, browserName, headless, isWindows }) => {
|
||||||
it.skip(browserName === 'webkit' && isWindows && !headless, 'WebKit/Windows/headed has a larger minimal viewport. See https://github.com/microsoft/playwright/issues/22616');
|
it.skip(browserName === 'webkit' && isWindows && !headless, 'WebKit/Windows/headed has a larger minimal viewport. See https://github.com/microsoft/playwright/issues/22616');
|
||||||
it.skip(browserName === 'firefox' && !headless, 'Firefox headed produces a different image');
|
it.skip(browserName === 'firefox' && !headless, 'Firefox headed produces a different image');
|
||||||
|
const isChromiumHeadlessNew = browserName === 'chromium' && !!headless && !!process.env.PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW;
|
||||||
|
it.fixme(isChromiumHeadlessNew, 'Times out with --headless=new');
|
||||||
|
|
||||||
const page2 = await page.context().newPage();
|
const page2 = await page.context().newPage();
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
|
|
|
||||||
|
|
@ -444,7 +444,8 @@ it.describe('screencast', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should scale frames down to the requested size ', async ({ browser, browserName, server, headless, trace }, testInfo) => {
|
it('should scale frames down to the requested size ', async ({ browser, browserName, server, headless, trace }, testInfo) => {
|
||||||
it.fixme(!headless, 'Fails on headed');
|
const isChromiumHeadlessNew = browserName === 'chromium' && !!headless && !!process.env.PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW;
|
||||||
|
it.fixme(!headless || isChromiumHeadlessNew, 'Fails on headed');
|
||||||
|
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
recordVideo: {
|
recordVideo: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue