Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(webkit): roll to r1674 (#15384)
Yury Semikhatsky5f42725358c1
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.jsonindex f2e6b83620..4fa7ff5639 100644--- a/packages/playwright-core/browsers.json+++ b/packages/playwright-core/browsers.json@@ -33,7 +33,7 @@},{"name": "webkit",- "revision": "1673",+ "revision": "1674","installByDefault": true,"revisionOverrides": {"mac10.14": "1446",diff --git a/tests/library/emulation-focus.spec.ts-snapshots/grid-cell-0-webkit.png b/tests/library/emulation-focus.spec.ts-snapshots/grid-cell-0-webkit.pngindex 8a2228422e..aa981f033f 100644Binary files a/tests/library/emulation-focus.spec.ts-snapshots/grid-cell-0-webkit.png and b/tests/library/emulation-focus.spec.ts-snapshots/grid-cell-0-webkit.png differdiff --git a/tests/library/emulation-focus.spec.ts-snapshots/screenshot-sanity-webkit.png b/tests/library/emulation-focus.spec.ts-snapshots/screenshot-sanity-webkit.pngindex d9cc944393..af070c52a8 100644Binary files a/tests/library/emulation-focus.spec.ts-snapshots/screenshot-sanity-webkit.png and b/tests/library/emulation-focus.spec.ts-snapshots/screenshot-sanity-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/grid-cell-0-webkit.png b/tests/library/screenshot.spec.ts-snapshots/grid-cell-0-webkit.pngindex 8a2228422e..aa981f033f 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/grid-cell-0-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/grid-cell-0-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/grid-cell-1-webkit.png b/tests/library/screenshot.spec.ts-snapshots/grid-cell-1-webkit.pngindex 52a9211d72..a1d76a1a89 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/grid-cell-1-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/grid-cell-1-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-css-size-webkit.png b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-css-size-webkit.pngindex d387e1d1b8..6d0a713e29 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-css-size-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-css-size-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-webkit.png b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-webkit.pngindex ab210ad996..647b28d7cc 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-clip-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-css-size-webkit.png b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-css-size-webkit.pngindex 82d711dcdb..d0107b63be 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-css-size-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-css-size-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-webkit.png b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-webkit.pngindex 7e9ca41951..77a2f9f97e 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-webkit.png b/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-webkit.pngindex 238a84fcae..eefbc4136e 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-webkit.png differdiff --git a/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-webkit.png b/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-webkit.pngindex ce2d0b098d..1f74a3bafb 100644Binary files a/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-webkit.png and b/tests/library/screenshot.spec.ts-snapshots/screenshot-element-mobile-webkit.png differdiff --git a/tests/page/elementhandle-bounding-box.spec.ts b/tests/page/elementhandle-bounding-box.spec.tsindex 003e4a6d09..f89bf6540e 100644--- a/tests/page/elementhandle-bounding-box.spec.ts+++ b/tests/page/elementhandle-bounding-box.spec.ts@@ -26,10 +26,6 @@ it('should work', async ({ page, server, browserName, headless, isLinux }) => {await page.goto(server.PREFIX + '/grid.html');const elementHandle = await page.$('.box:nth-of-type(13)');const box = await elementHandle.boundingBox();- if (browserName === 'webkit') {- // Upstream regression: https://bugs.webkit.org/show_bug.cgi?id=242079- box.y = Math.ceil(box.y);- }expect(box).toEqual({ x: 100, y: 50, width: 50, height: 50 });});diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-webkit.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-webkit.pngindex ce2d0b098d..1f74a3bafb 100644Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-webkit.png and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-webkit.png differdiff --git a/tests/page/locator-misc-2.spec.ts b/tests/page/locator-misc-2.spec.tsindex 7bea570533..4d13c23c60 100644--- a/tests/page/locator-misc-2.spec.ts+++ b/tests/page/locator-misc-2.spec.ts@@ -114,10 +114,6 @@ it('should return bounding box', async ({ page, server, browserName, headless, iawait page.goto(server.PREFIX + '/grid.html');const element = page.locator('.box:nth-of-type(13)');const box = await element.boundingBox();- if (browserName === 'webkit') {- // Upstream regression: https://bugs.webkit.org/show_bug.cgi?id=242079- box.y = Math.ceil(box.y);- }expect(box).toEqual({ x: 100, y: 50, width: 50, height: 50 });});diff --git a/tests/page/locator-misc-2.spec.ts-snapshots/screenshot-element-bounding-box-webkit.png b/tests/page/locator-misc-2.spec.ts-snapshots/screenshot-element-bounding-box-webkit.pngindex ce2d0b098d..dea5418fac 100644Binary files a/tests/page/locator-misc-2.spec.ts-snapshots/screenshot-element-bounding-box-webkit.png and b/tests/page/locator-misc-2.spec.ts-snapshots/screenshot-element-bounding-box-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-webkit.pngindex 52a9211d72..a1d76a1a89 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-webkit.pngindex ae8689ca48..419417be4e 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-elementhandle-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-elementhandle-webkit.pngindex 87e462e9d4..f31b468ffa 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-elementhandle-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-elementhandle-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-locator-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-locator-webkit.pngindex 87e462e9d4..f31b468ffa 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-locator-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/mask-should-work-with-locator-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-webkit.pngindex d387e1d1b8..7b84d4aecb 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-webkit.pngindex 6e2401d926..8f12800e5c 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-webkit.pngindex b9f6537140..bfaaf908ed 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-webkit.pngindex 90d95bddb8..2b8dc1065f 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-webkit.pngindex d9cc944393..af070c52a8 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-1-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-1-webkit.pngindex 2e281b6675..c1e1b21504 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-1-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-1-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-2-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-2-webkit.pngindex 6abe4d43de..1cb1bf352f 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-2-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-in-parallel-2-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-inside-iframe-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-inside-iframe-webkit.pngindex ae8689ca48..419417be4e 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-inside-iframe-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-inside-iframe-webkit.png differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-multiple-elements-webkit.png b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-multiple-elements-webkit.pngindex 04425b1378..777055207c 100644Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-mask-multiple-elements-webkit.png and b/tests/page/page-screenshot.spec.ts-snapshots/should-mask-multiple-elements-webkit.png differ