test: mark some --headless=new tests as fixme (#27516)

This commit is contained in:
Dmitry Gozman 2023-10-09 14:07:22 -07:00 committed by GitHub
parent 39f92e82f6
commit e8523abea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -104,6 +104,8 @@ it('should change document.activeElement', async ({ page, server }) => {
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 === '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();
await Promise.all([

View file

@ -444,7 +444,8 @@ it.describe('screencast', () => {
});
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({
recordVideo: {