feat(webkit): roll to r2092 (#33078)
This commit is contained in:
parent
a8df750a48
commit
c7fbeddaf4
|
|
@ -27,7 +27,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "webkit",
|
"name": "webkit",
|
||||||
"revision": "2091",
|
"revision": "2092",
|
||||||
"installByDefault": true,
|
"installByDefault": true,
|
||||||
"revisionOverrides": {
|
"revisionOverrides": {
|
||||||
"mac10.14": "1446",
|
"mac10.14": "1446",
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ it('Safari Desktop', async ({ browser, browserName, platform, server, headless }
|
||||||
expected.publickeycredential = false;
|
expected.publickeycredential = false;
|
||||||
expected.mediastream = false;
|
expected.mediastream = false;
|
||||||
if (headless)
|
if (headless)
|
||||||
expected.todataurljpeg = false;
|
expected.todataurlwebp = true;
|
||||||
|
|
||||||
// GHA
|
// GHA
|
||||||
delete actual.variablefonts;
|
delete actual.variablefonts;
|
||||||
|
|
@ -124,7 +124,7 @@ it('Mobile Safari', async ({ playwright, browser, browserName, platform, server,
|
||||||
expected.publickeycredential = false;
|
expected.publickeycredential = false;
|
||||||
expected.mediastream = false;
|
expected.mediastream = false;
|
||||||
if (headless)
|
if (headless)
|
||||||
expected.todataurljpeg = false;
|
expected.todataurlwebp = true;
|
||||||
|
|
||||||
// GHA
|
// GHA
|
||||||
delete actual.variablefonts;
|
delete actual.variablefonts;
|
||||||
|
|
|
||||||
|
|
@ -280,12 +280,13 @@ it.describe('page screenshot', () => {
|
||||||
expect(screenshot).toMatchSnapshot('screenshot-clip-odd-size.png');
|
expect(screenshot).toMatchSnapshot('screenshot-clip-odd-size.png');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work for canvas', async ({ page, server, isElectron, isMac, macVersion, browserName, headless }) => {
|
it('should work for canvas', async ({ page, server, isElectron, isMac, isLinux, macVersion, browserName, headless }) => {
|
||||||
it.fixme(isElectron && isMac, 'Fails on the bots');
|
it.fixme(isElectron && isMac, 'Fails on the bots');
|
||||||
await page.setViewportSize({ width: 500, height: 500 });
|
await page.setViewportSize({ width: 500, height: 500 });
|
||||||
await page.goto(server.PREFIX + '/screenshots/canvas.html');
|
await page.goto(server.PREFIX + '/screenshots/canvas.html');
|
||||||
const screenshot = await page.screenshot();
|
const screenshot = await page.screenshot();
|
||||||
if (!headless && browserName === 'chromium' && isMac && os.arch() === 'arm64' && macVersion >= 14)
|
if ((!headless && browserName === 'chromium' && isMac && os.arch() === 'arm64' && macVersion >= 14) ||
|
||||||
|
(browserName === 'webkit' && isLinux))
|
||||||
expect(screenshot).toMatchSnapshot('screenshot-canvas-with-accurate-corners.png');
|
expect(screenshot).toMatchSnapshot('screenshot-canvas-with-accurate-corners.png');
|
||||||
else
|
else
|
||||||
expect(screenshot).toMatchSnapshot('screenshot-canvas.png');
|
expect(screenshot).toMatchSnapshot('screenshot-canvas.png');
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Loading…
Reference in a new issue