mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
test: fail canvas test on MacOS 11 and less (#12131)
This commit is contained in:
parent
7789d0b73f
commit
65697d64be
@ -19,6 +19,7 @@ import { test as it, expect } from './pageTest';
|
||||
import { verifyViewport, attachFrame } from '../config/utils';
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import os from 'os';
|
||||
|
||||
it.describe('page screenshot', () => {
|
||||
it.skip(({ browserName, headless }) => browserName === 'firefox' && !headless, 'Firefox headed produces a different image.');
|
||||
@ -188,7 +189,8 @@ it.describe('page screenshot', () => {
|
||||
expect(screenshot).toMatchSnapshot('screenshot-canvas.png', { threshold: 0.4 });
|
||||
});
|
||||
|
||||
it('should capture canvas changes', async ({ page, isElectron }) => {
|
||||
it('should capture canvas changes', async ({ page, isElectron, browserName, isMac }) => {
|
||||
it.fail(browserName === 'webkit' && isMac && parseInt(os.release(), 10) <= 20, 'https://github.com/microsoft/playwright/issues/8796');
|
||||
it.skip(isElectron);
|
||||
await page.goto('data:text/html,<canvas></canvas>');
|
||||
await page.evaluate(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user