Revert "test: rebase golden snapshots on Chromium macOS arm64 (#31344)" (#31711)

This reverts commit 02416877da.

Since we landed
3127571b24
- we should revert this one as well.
This commit is contained in:
Max Schmitt 2024-07-16 21:16:55 +02:00 committed by GitHub
parent bb2e9d1175
commit 3694c1422d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -280,13 +280,12 @@ it.describe('page screenshot', () => {
expect(screenshot).toMatchSnapshot('screenshot-clip-odd-size.png');
});
it('should work for canvas', async ({ page, server, isElectron, isMac, browserName }) => {
it('should work for canvas', async ({ page, server, isElectron, isMac }) => {
it.fixme(isElectron && isMac, 'Fails on the bots');
await page.setViewportSize({ width: 500, height: 500 });
await page.goto(server.PREFIX + '/screenshots/canvas.html');
const screenshot = await page.screenshot();
const screenshotPrefix = browserName === 'chromium' && isMac && process.arch === 'arm64' ? '-macOS-arm64' : '';
expect(screenshot).toMatchSnapshot(`screenshot-canvas${screenshotPrefix}.png`);
expect(screenshot).toMatchSnapshot('screenshot-canvas.png');
});
it('should capture canvas changes', async ({ page, isElectron, browserName, isMac, isWebView2 }) => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB