test(chromium): disable large screenshot test (#4446)

This commit is contained in:
Joel Einbinder 2020-11-16 10:15:22 -08:00 committed by GitHub
parent 0ae455f404
commit 3da1f73f1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,8 +298,9 @@ describe('page screenshot', (suite, { browserName, headful }) => {
expect([buffer[0], buffer[1], buffer[2]]).toEqual([0xFF, 0xD8, 0xFF]);
});
it('should work with large size', test => {
it('should work with large size', (test, {browserName, headful, platform}) => {
test.slow('Large screenshot is slow');
test.fixme(browserName === 'chromium' && headful === true && platform === 'linux', 'Chromium has gpu problems on linux with large screnshots');
}, async ({ page }) => {
await page.setViewportSize({ width: 1280, height: 800 });
await page.evaluate(() => {