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
test: roll to [email protected] (#6918)
Dmitry Gozman82041b2f7424
diff --git a/docs/src/test-snapshots.md b/docs/src/test-snapshots.mdindex 9f9777721a..26004e61e5 100644--- a/docs/src/test-snapshots.md+++ b/docs/src/test-snapshots.md@@ -3,7 +3,7 @@ id: test-snapshotstitle: "Visual comparisons"----Playwright Test includes the ability to produce and visually compare screenshots using `expect(value).toMatchSnapshot()`. On first execution, Playwright test will generate reference screenshots. Subsequent runs will compare against the reference.+Playwright Test includes the ability to produce and visually compare screenshots using `expect(value).toMatchSnapshot(snapshotName)`. On first execution, Playwright test will generate reference screenshots. Subsequent runs will compare against the reference.```js js-flavor=js// example.spec.js@@ -11,7 +11,7 @@ const { test, expect } = require('@playwright/test');test('example test', async ({ page }) => {await page.goto('https://playwright.dev');- expect(await page.screenshot()).toMatchSnapshot('optional-snapshot-name.png');+ expect(await page.screenshot()).toMatchSnapshot('snapshot-name.png');});```@@ -21,7 +21,7 @@ import { test, expect } from '@playwright/test';test('example test', async ({ page }) => {await page.goto('https://playwright.dev');- expect(await page.screenshot()).toMatchSnapshot('optional-snapshot-name.png');+ expect(await page.screenshot()).toMatchSnapshot('snapshot-name.png');});```@@ -39,7 +39,7 @@ const { test, expect } = require('@playwright/test');test('example test', async ({ page }) => {await page.goto('https://playwright.dev');- expect(await page.screenshot()).toMatchSnapshot({ threshold: 0.2 });+ expect(await page.screenshot()).toMatchSnapshot('home.png', { threshold: 0.2 });});```@@ -49,11 +49,11 @@ import { test, expect } from '@playwright/test';test('example test', async ({ page }) => {await page.goto('https://playwright.dev');- expect(await page.screenshot()).toMatchSnapshot({ threshold: 0.2 });+ expect(await page.screenshot()).toMatchSnapshot('home.png', { threshold: 0.2 });});```-Apart from screenshots, `expect(value).toMatchSnapshot()` can also be used to compare text, png and jpeg images, or arbitrary binary data. Playwright Test auto-detects the content type and uses the appropriate comparison algorithm.+Apart from screenshots, `expect(value).toMatchSnapshot(snapshotName)` can also be used to compare text, png and jpeg images, or arbitrary binary data. Playwright Test auto-detects the content type and uses the appropriate comparison algorithm.Here we compare text content against the reference.@@ -63,7 +63,7 @@ const { test, expect } = require('@playwright/test');test('example test', async ({ page }) => {await page.goto('https://playwright.dev');- expect(await page.textContent('.hero__title')).toMatchSnapshot();+ expect(await page.textContent('.hero__title')).toMatchSnapshot('hero.txt');});```@@ -73,8 +73,8 @@ import { test, expect } from '@playwright/test';test('example test', async ({ page }) => {await page.goto('https://playwright.dev');- expect(await page.textContent('.hero__title')).toMatchSnapshot();+ expect(await page.textContent('.hero__title')).toMatchSnapshot('hero.txt');});```-Snapshots are stored next to the test file, in a separate directory. For example, `my.spec.js` file will produce and store snapshots in the `my.spec.js-snapshots` directory. You should commit this directory to your version control (e.g. `git`), and review any changes to it.+Snapshots are stored next to the test file, in a separate directory. For example, `my.spec.ts` file will produce and store snapshots in the `my.spec.ts-snapshots` directory. You should commit this directory to your version control (e.g. `git`), and review any changes to it.diff --git a/package-lock.json b/package-lock.jsonindex d33b2dd322..97b8eeb043 100644--- a/package-lock.json+++ b/package-lock.json@@ -55,7 +55,7 @@"eslint-plugin-notice": "^0.9.10","eslint-plugin-react-hooks": "^4.2.0","file-loader": "^6.1.0",- "folio": "=0.4.0-alpha27",+ "folio": "=0.4.0-alpha28","formidable": "^1.2.2","html-webpack-plugin": "^4.4.1","ncp": "^2.0.0",@@ -4199,9 +4199,9 @@}},"node_modules/folio": {- "version": "0.4.0-alpha27",- "resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha27.tgz",- "integrity": "sha512-IjCe0ds6N++F2rVKGHm8lXLqH4smGiwZMP5tylFR7PQykU+i9eGKka1TtxXxhReAH9DMEb3+YRWfzZZdF43MXg==",+ "version": "0.4.0-alpha28",+ "resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha28.tgz",+ "integrity": "sha512-sbHdEDRXPkkhzHAyRy/tQKTWImNy38cICoii4ox9AGYFVWgF+i4l37AL2cVfJkUEvUqZpq+u4NkuV1cMelV5AA==","dev": true,"dependencies": {"@babel/code-frame": "^7.12.13",@@ -13205,9 +13205,9 @@}},"folio": {- "version": "0.4.0-alpha27",- "resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha27.tgz",- "integrity": "sha512-IjCe0ds6N++F2rVKGHm8lXLqH4smGiwZMP5tylFR7PQykU+i9eGKka1TtxXxhReAH9DMEb3+YRWfzZZdF43MXg==",+ "version": "0.4.0-alpha28",+ "resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha28.tgz",+ "integrity": "sha512-sbHdEDRXPkkhzHAyRy/tQKTWImNy38cICoii4ox9AGYFVWgF+i4l37AL2cVfJkUEvUqZpq+u4NkuV1cMelV5AA==","dev": true,"requires": {"@babel/code-frame": "^7.12.13",diff --git a/package.json b/package.jsonindex df8f46bfb0..1d9bdcb7e3 100644--- a/package.json+++ b/package.json@@ -80,7 +80,7 @@"eslint-plugin-notice": "^0.9.10","eslint-plugin-react-hooks": "^4.2.0","file-loader": "^6.1.0",- "folio": "=0.4.0-alpha27",+ "folio": "=0.4.0-alpha28","formidable": "^1.2.2","html-webpack-plugin": "^4.4.1","ncp": "^2.0.0",diff --git a/src/cli/fixtures.ts b/src/cli/fixtures.tsindex dd89584a2b..3b487dc665 100644--- a/src/cli/fixtures.ts+++ b/src/cli/fixtures.ts@@ -21,7 +21,8 @@ import type { PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, Pexport * from 'folio';export const test = folio.test.extend<PlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>({- browserName: [ 'chromium', { scope: 'worker' } ],+ defaultBrowserType: [ 'chromium', { scope: 'worker' } ],+ browserName: [ ({ defaultBrowserType }, use) => use(defaultBrowserType), { scope: 'worker' } ],playwright: [ require('../inprocess'), { scope: 'worker' } ],headless: [ undefined, { scope: 'worker' } ],channel: [ undefined, { scope: 'worker' } ],@@ -66,8 +67,8 @@ export const test = folio.test.extend<PlaywrightTestArgs & PlaywrightTestOptionsviewport: undefined,contextOptions: {},- context: async ({ browserName, browser, screenshot, video, acceptDownloads, bypassCSP, colorScheme, deviceScaleFactor, extraHTTPHeaders, hasTouch, geolocation, httpCredentials, ignoreHTTPSErrors, isMobile, javaScriptEnabled, locale, offline, permissions, proxy, storageState, viewport, timezoneId, userAgent, contextOptions }, use, testInfo) => {- testInfo.snapshotSuffix = browserName + '-' + process.platform;+ context: async ({ browser, screenshot, video, acceptDownloads, bypassCSP, colorScheme, deviceScaleFactor, extraHTTPHeaders, hasTouch, geolocation, httpCredentials, ignoreHTTPSErrors, isMobile, javaScriptEnabled, locale, offline, permissions, proxy, storageState, viewport, timezoneId, userAgent, contextOptions }, use, testInfo) => {+ testInfo.snapshotSuffix = process.platform;if (process.env.PWDEBUG)testInfo.setTimeout(0);@@ -148,3 +149,5 @@ export const test = folio.test.extend<PlaywrightTestArgs & PlaywrightTestOptions},});export default test;++export const __baseTest = folio.test;diff --git a/src/cli/testRunner.ts b/src/cli/testRunner.tsindex 484dfbdb34..433cdef6fc 100644--- a/src/cli/testRunner.ts+++ b/src/cli/testRunner.ts@@ -87,18 +87,16 @@ export function addTestCommand(program: commander.CommanderStatic) {}async function runTests(Runner: RunnerType, args: string[], opts: { [key: string]: any }) {- if (opts.browser) {- const browserOpt = opts.browser.toLowerCase();- if (!['all', 'chromium', 'firefox', 'webkit'].includes(browserOpt))- throw new Error(`Unsupported browser "${opts.browser}", must be one of "all", "chromium", "firefox" or "webkit"`);- const browserNames = browserOpt === 'all' ? ['chromium', 'firefox', 'webkit'] : [browserOpt];- defaultConfig.projects = browserNames.map(browserName => {- return {- name: browserName,- use: { browserName },- };- });- }+ const browserOpt = opts.browser ? opts.browser.toLowerCase() : 'chromium';+ if (!['all', 'chromium', 'firefox', 'webkit'].includes(browserOpt))+ throw new Error(`Unsupported browser "${opts.browser}", must be one of "all", "chromium", "firefox" or "webkit"`);+ const browserNames = browserOpt === 'all' ? ['chromium', 'firefox', 'webkit'] : [browserOpt];+ defaultConfig.projects = browserNames.map(browserName => {+ return {+ name: browserName,+ use: { browserName },+ };+ });const overrides = overridesFromOptions(opts);if (opts.headed)diff --git a/tests/chromium/oopif.spec.ts-snapshots/should-take-screenshot-chromium-screenshot-oopif.png b/tests/chromium/oopif.spec.ts-snapshots/screenshot-oopif-chromium.pngsimilarity index 100%rename from tests/chromium/oopif.spec.ts-snapshots/should-take-screenshot-chromium-screenshot-oopif.pngrename to tests/chromium/oopif.spec.ts-snapshots/screenshot-oopif-chromium.pngdiff --git a/tests/config/baseTest.ts b/tests/config/baseTest.tsindex 0a44805cf5..486592409d 100644--- a/tests/config/baseTest.ts+++ b/tests/config/baseTest.ts@@ -101,7 +101,7 @@ class DefaultMode {}}-const baseFixtures: folio.Fixtures<{ __baseSetup: void }, BaseOptions & BaseFixtures> = {+const baseFixtures: folio.Fixtures<{}, BaseOptions & BaseFixtures> = {mode: [ 'default', { scope: 'worker' } ],browserName: [ 'chromium' , { scope: 'worker' } ],channel: [ undefined, { scope: 'worker' } ],@@ -123,10 +123,6 @@ const baseFixtures: folio.Fixtures<{ __baseSetup: void }, BaseOptions & BaseFixtisWindows: [ process.platform === 'win32', { scope: 'worker' } ],isMac: [ process.platform === 'darwin', { scope: 'worker' } ],isLinux: [ process.platform === 'linux', { scope: 'worker' } ],- __baseSetup: [ async ({ browserName }, run, testInfo) => {- testInfo.snapshotSuffix = browserName;- await run();- }, { auto: true } ],};type ServerOptions = {diff --git a/tests/config/electron.config.ts b/tests/config/electron.config.tsindex 61344ccb6d..0cd8a2343f 100644--- a/tests/config/electron.config.ts+++ b/tests/config/electron.config.ts@@ -48,7 +48,7 @@ const metadata = {};config.projects.push({- name: 'electron',+ name: 'chromium', // We use 'chromium' here to share screenshots with chromium.use: {mode: 'default',browserName: 'chromium',@@ -59,7 +59,7 @@ config.projects.push({});config.projects.push({- name: 'electron',+ name: 'chromium', // We use 'chromium' here to share screenshots with chromium.use: {mode: 'default',browserName: 'chromium',diff --git a/tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-chromium-grid-cell-0.png b/tests/emulation-focus.spec.ts-snapshots/grid-cell-0-chromium.pngsimilarity index 100%rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-chromium-grid-cell-0.pngrename to tests/emulation-focus.spec.ts-snapshots/grid-cell-0-chromium.pngdiff --git a/tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-firefox-grid-cell-0.png b/tests/emulation-focus.spec.ts-snapshots/grid-cell-0-firefox.pngsimilarity index 100%rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-firefox-grid-cell-0.pngrename to tests/emulation-focus.spec.ts-snapshots/grid-cell-0-firefox.pngdiff --git a/tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-webkit-grid-cell-0.png b/tests/emulation-focus.spec.ts-snapshots/grid-cell-0-webkit.pngsimilarity index 100%rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-webkit-grid-cell-0.pngrename to tests/emulation-focus.spec.ts-snapshots/grid-cell-0-webkit.pngdiff --git a/tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-chromium-screenshot-sanity.png b/tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-chromium.pngsimilarity index 100%rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-chromium-screenshot-sanity.pngrename to tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-chromium.pngdiff --git a/tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-firefox-screenshot-sanity.png b/tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-firefox.pngsimilarity index 100%rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-firefox-screenshot-sanity.pngrename to tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-firefox.pngdiff --git a/tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-webkit-screenshot-sanity.png b/tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-webkit.pngsimilarity index 100%rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-webkit-screenshot-sanity.pngrename to tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-webkit.pngdiff --git a/tests/headful.spec.ts b/tests/headful.spec.tsindex a5910c918a..c83f30ddc8 100644--- a/tests/headful.spec.ts+++ b/tests/headful.spec.ts@@ -153,7 +153,7 @@ it('focused input should produce the same screenshot', async ({browserType, browit.skip(browserName === 'webkit' && platform === 'linux', 'gtk vs wpe');it.skip(!!process.env.CRPATH);- testInfo.snapshotSuffix = browserName + '-' + platform;+ testInfo.snapshotSuffix = platform;const headful = await browserType.launch({...browserOptions, headless: false });const headfulPage = await headful.newPage();diff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-darwin-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-chromium-darwin.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-darwin-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-chromium-darwin.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-linux-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-chromium-linux.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-linux-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-chromium-linux.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-win32-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-chromium-win32.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-win32-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-chromium-win32.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-darwin-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-firefox-darwin.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-darwin-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-firefox-darwin.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-linux-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-firefox-linux.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-linux-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-firefox-linux.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-win32-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-firefox-win32.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-win32-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-firefox-win32.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-darwin-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-webkit-darwin.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-darwin-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-webkit-darwin.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-linux-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-webkit-linux.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-linux-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-webkit-linux.pngdiff --git a/tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-win32-focused-input.png b/tests/headful.spec.ts-snapshots/focused-input-webkit-win32.pngsimilarity index 100%rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-win32-focused-input.pngrename to tests/headful.spec.ts-snapshots/focused-input-webkit-win32.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-chromium-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-chromium-screenshot-element-bounding-box.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-chromium.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-firefox-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-firefox.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-firefox-screenshot-element-bounding-box.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-firefox.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-webkit-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-webkit-screenshot-element-bounding-box.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-chromium-screenshot-element-fractional.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-chromium-screenshot-element-fractional.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-chromium.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-firefox-screenshot-element-fractional.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-firefox.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-firefox-screenshot-element-fractional.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-firefox.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-chromium-screenshot-element-fractional-offset.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-chromium-screenshot-element-fractional-offset.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-chromium.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-firefox-screenshot-element-fractional-offset.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-firefox.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-firefox-screenshot-element-fractional-offset.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-firefox.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-webkit-screenshot-element-fractional-offset.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-webkit-screenshot-element-fractional-offset.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-webkit-screenshot-element-fractional.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-webkit-screenshot-element-fractional.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-chromium-screenshot-element-larger-than-viewport.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-chromium-screenshot-element-larger-than-viewport.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-chromium.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-firefox-screenshot-element-larger-than-viewport.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-firefox.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-firefox-screenshot-element-larger-than-viewport.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-firefox.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-webkit-screenshot-element-larger-than-viewport.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-webkit-screenshot-element-larger-than-viewport.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-chromium-screenshot-element-scrolled-into-view.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-chromium-screenshot-element-scrolled-into-view.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-chromium.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-firefox-screenshot-element-scrolled-into-view.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-firefox.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-firefox-screenshot-element-scrolled-into-view.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-firefox.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-webkit-screenshot-element-scrolled-into-view.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-webkit-screenshot-element-scrolled-into-view.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-chromium-screenshot-element-rotate.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-chromium-screenshot-element-rotate.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-chromium.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-firefox-screenshot-element-rotate.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-firefox.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-firefox-screenshot-element-rotate.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-firefox.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-webkit-screenshot-element-rotate.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-webkit-screenshot-element-rotate.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-chromium-screenshot-element-scrolled-into-view.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-chromium-screenshot-element-scrolled-into-view.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-chromium.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-firefox-screenshot-element-scrolled-into-view.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-firefox.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-firefox-screenshot-element-scrolled-into-view.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-firefox.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-webkit-screenshot-element-scrolled-into-view.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-webkit-screenshot-element-scrolled-into-view.pngrename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-chromium-screenshot-element-larger-than-viewport.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-chromium-screenshot-element-larger-than-viewport.pngdeleted file mode 100644index 52c1bb2b92..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-chromium-screenshot-element-larger-than-viewport.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-firefox-screenshot-element-larger-than-viewport.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-firefox-screenshot-element-larger-than-viewport.pngdeleted file mode 100644index 6d28cddcea..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-in-parallel-firefox-screenshot-element-larger-than-viewport.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-webkit-screenshot-element-larger-than-viewport.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-webkit-screenshot-element-larger-than-viewport.pngdeleted file mode 100644index c4588132e9..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-capture-full-element-when-larger-than-viewport-webkit-screenshot-element-larger-than-viewport.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-chromium-screenshot-element-padding-border.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-chromium-screenshot-element-padding-border.pngdeleted file mode 100644index fc34319896..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-chromium-screenshot-element-padding-border.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-firefox-screenshot-element-padding-border.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-firefox-screenshot-element-padding-border.pngdeleted file mode 100644index 2b72c7528b..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-firefox-screenshot-element-padding-border.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-webkit-screenshot-element-padding-border.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-webkit-screenshot-element-padding-border.pngdeleted file mode 100644index 971006d83d..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-take-into-account-padding-and-border-webkit-screenshot-element-padding-border.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-firefox-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-firefox-screenshot-element-bounding-box.pngdeleted file mode 100644index 9e208f86d8..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-firefox-screenshot-element-bounding-box.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-chromium-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-chromium-screenshot-element-bounding-box.pngdeleted file mode 100644index c2c3ddca29..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-chromium-screenshot-element-bounding-box.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-firefox-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-firefox-screenshot-element-bounding-box.pngdeleted file mode 100644index 9e208f86d8..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-firefox-screenshot-element-bounding-box.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-webkit-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-webkit-screenshot-element-bounding-box.pngdeleted file mode 100644index 1f74a3bafb..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-webkit-screenshot-element-bounding-box.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-element-bounding-box.pngdeleted file mode 100644index c2c3ddca29..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-element-bounding-box.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-element-bounding-box.pngdeleted file mode 100644index 9e208f86d8..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-element-bounding-box.png and /dev/null differdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-element-bounding-box.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-element-bounding-box.pngdeleted file mode 100644index 1f74a3bafb..0000000000Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-element-bounding-box.png and /dev/null differdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-chromium-mock-binary-response.png b/tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-chromium.pngsimilarity index 100%rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-chromium-mock-binary-response.pngrename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-chromium.pngdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-firefox-mock-binary-response.png b/tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-firefox.pngsimilarity index 100%rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-firefox-mock-binary-response.pngrename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-firefox.pngdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-webkit-mock-binary-response.png b/tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-webkit.pngsimilarity index 100%rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-webkit-mock-binary-response.pngrename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-webkit.pngdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-chromium-mock-svg.png b/tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-chromium.pngsimilarity index 100%rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-chromium-mock-svg.pngrename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-chromium.pngdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-firefox-mock-svg.png b/tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-firefox.pngsimilarity index 100%rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-firefox-mock-svg.pngrename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-firefox.pngdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-webkit-mock-svg.png b/tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-webkit.pngsimilarity index 100%rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-webkit-mock-svg.pngrename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-webkit.pngdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-chromium-mock-binary-response.png b/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-chromium-mock-binary-response.pngdeleted file mode 100644index c7f8bb7ecd..0000000000Binary files a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-chromium-mock-binary-response.png and /dev/null differdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-firefox-mock-binary-response.png b/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-firefox-mock-binary-response.pngdeleted file mode 100644index e7eaf59779..0000000000Binary files a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-firefox-mock-binary-response.png and /dev/null differdiff --git a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-webkit-mock-binary-response.png b/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-webkit-mock-binary-response.pngdeleted file mode 100644index 35a14cdc20..0000000000Binary files a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-webkit-mock-binary-response.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-chromium-grid-cell-1.png b/tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-chromium-grid-cell-1.pngrename to tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-firefox-grid-cell-1.png b/tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-firefox-grid-cell-1.pngrename to tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-webkit-grid-cell-1.png b/tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-webkit-grid-cell-1.pngrename to tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-chromium-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-chromium-screenshot-sanity.pngdeleted file mode 100644index 122a4f0ae0..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-chromium-screenshot-sanity.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-firefox-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-firefox-screenshot-sanity.pngdeleted file mode 100644index 7b16493355..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-firefox-screenshot-sanity.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-webkit-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-webkit-screenshot-sanity.pngdeleted file mode 100644index af070c52a8..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-webkit-screenshot-sanity.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-chromium-screenshot-canvas.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-chromium-screenshot-canvas.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-firefox-screenshot-canvas.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-firefox-screenshot-canvas.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-webkit-screenshot-canvas.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-webkit-screenshot-canvas.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-odd-clip-size-on-Retina-displays-chromium-screenshot-clip-odd-size.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-odd-clip-size-on-Retina-displays-chromium-screenshot-clip-odd-size.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-odd-clip-size-on-Retina-displays-firefox-screenshot-clip-odd-size.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-odd-clip-size-on-Retina-displays-firefox-screenshot-clip-odd-size.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-odd-clip-size-on-Retina-displays-webkit-screenshot-clip-odd-size.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-odd-clip-size-on-Retina-displays-webkit-screenshot-clip-odd-size.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-chromium-screenshot-clip-rect.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-chromium-screenshot-clip-rect.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-firefox-screenshot-clip-rect.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-firefox-screenshot-clip-rect.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-webkit-screenshot-clip-rect.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-webkit-screenshot-clip-rect.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-chromium-screenshot-grid-fullpage.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-chromium-screenshot-grid-fullpage.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-firefox-screenshot-grid-fullpage.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-firefox-screenshot-grid-fullpage.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-webkit-screenshot-grid-fullpage.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-webkit-screenshot-grid-fullpage.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-chromium-screenshot-iframe.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-chromium-screenshot-iframe.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-firefox-screenshot-iframe.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-firefox-screenshot-iframe.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-webkit-screenshot-iframe.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-webkit-screenshot-iframe.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-chromium-screenshot-offscreen-clip.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-chromium-screenshot-offscreen-clip.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-firefox-screenshot-offscreen-clip.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-firefox-screenshot-offscreen-clip.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-webkit-screenshot-offscreen-clip.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-webkit-screenshot-offscreen-clip.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-chromium-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-chromium-screenshot-sanity.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-firefox-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-firefox-screenshot-sanity.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-webkit-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-webkit-screenshot-sanity.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-chromium-screenshot-translateZ.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-chromium-screenshot-translateZ.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-firefox-screenshot-translateZ.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-firefox.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-firefox-screenshot-translateZ.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-firefox.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-webkit-screenshot-translateZ.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-webkit-screenshot-translateZ.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-webgl-chromium-screenshot-webgl.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-webgl-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-webgl-chromium-screenshot-webgl.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-webgl-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-for-webgl-webkit-screenshot-webgl.png b/tests/page/page-screenshot.spec.ts-snapshots/screenshot-webgl-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-webgl-webkit-screenshot-webgl.pngrename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-webgl-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-chromium-screenshot-clip-rect.png b/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-chromium-screenshot-clip-rect.pngdeleted file mode 100644index 8c4046910b..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-chromium-screenshot-clip-rect.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-firefox-screenshot-clip-rect.png b/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-firefox-screenshot-clip-rect.pngdeleted file mode 100644index 6459e3afe7..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-firefox-screenshot-clip-rect.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-webkit-screenshot-clip-rect.png b/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-webkit-screenshot-clip-rect.pngdeleted file mode 100644index 7b84d4aecb..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-webkit-screenshot-clip-rect.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-chromium-white.jpg b/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-chromium-white.jpgdeleted file mode 100644index 0bc91643aa..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-chromium-white.jpg and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-firefox-white.jpg b/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-firefox-white.jpgdeleted file mode 100644index 40eb86d77b..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-firefox-white.jpg and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-webkit-white.jpg b/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-webkit-white.jpgdeleted file mode 100644index 3f6faefd6e..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-webkit-white.jpg and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-webkit-screenshot-grid-fullpage.png b/tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-webkit-screenshot-grid-fullpage.pngdeleted file mode 100644index 4c271deec3..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-webkit-screenshot-grid-fullpage.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-sanity.pngdeleted file mode 100644index 122a4f0ae0..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-sanity.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-sanity.pngdeleted file mode 100644index 7b16493355..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-sanity.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-sanity.png b/tests/page/page-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-sanity.pngdeleted file mode 100644index af070c52a8..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-sanity.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-chromium-screenshot-grid-fullpage.png b/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-chromium-screenshot-grid-fullpage.pngdeleted file mode 100644index 0354694da1..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-chromium-screenshot-grid-fullpage.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-firefox-screenshot-grid-fullpage.png b/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-firefox-screenshot-grid-fullpage.pngdeleted file mode 100644index e87220e057..0000000000Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-firefox-screenshot-grid-fullpage.png and /dev/null differdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-allow-transparency-chromium-transparent.png b/tests/page/page-screenshot.spec.ts-snapshots/transparent-chromium.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-allow-transparency-chromium-transparent.pngrename to tests/page/page-screenshot.spec.ts-snapshots/transparent-chromium.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/should-allow-transparency-webkit-transparent.png b/tests/page/page-screenshot.spec.ts-snapshots/transparent-webkit.pngsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/should-allow-transparency-webkit-transparent.pngrename to tests/page/page-screenshot.spec.ts-snapshots/transparent-webkit.pngdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-chromium-white.jpg b/tests/page/page-screenshot.spec.ts-snapshots/white-chromium.jpgsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-chromium-white.jpgrename to tests/page/page-screenshot.spec.ts-snapshots/white-chromium.jpgdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-firefox-white.jpg b/tests/page/page-screenshot.spec.ts-snapshots/white-firefox.jpgsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-firefox-white.jpgrename to tests/page/page-screenshot.spec.ts-snapshots/white-firefox.jpgdiff --git a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-webkit-white.jpg b/tests/page/page-screenshot.spec.ts-snapshots/white-webkit.jpgsimilarity index 100%rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-webkit-white.jpgrename to tests/page/page-screenshot.spec.ts-snapshots/white-webkit.jpgdiff --git a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-chromium-screenshot-element-mobile.png b/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-chromium-screenshot-element-mobile.pngdeleted file mode 100644index c2c3ddca29..0000000000Binary files a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-chromium-screenshot-element-mobile.png and /dev/null differdiff --git a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-webkit-screenshot-element-mobile.png b/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-webkit-screenshot-element-mobile.pngdeleted file mode 100644index 1f74a3bafb..0000000000Binary files a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-webkit-screenshot-element-mobile.png and /dev/null differdiff --git a/tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-chromium-grid-cell-0.png b/tests/screenshot.spec.ts-snapshots/grid-cell-0-chromium.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-chromium-grid-cell-0.pngrename to tests/screenshot.spec.ts-snapshots/grid-cell-0-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-firefox-grid-cell-0.png b/tests/screenshot.spec.ts-snapshots/grid-cell-0-firefox.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-firefox-grid-cell-0.pngrename to tests/screenshot.spec.ts-snapshots/grid-cell-0-firefox.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-webkit-grid-cell-0.png b/tests/screenshot.spec.ts-snapshots/grid-cell-0-webkit.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-webkit-grid-cell-0.pngrename to tests/screenshot.spec.ts-snapshots/grid-cell-0-webkit.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-chromium-grid-cell-1.png b/tests/screenshot.spec.ts-snapshots/grid-cell-1-chromium.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-chromium-grid-cell-1.pngrename to tests/screenshot.spec.ts-snapshots/grid-cell-1-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-firefox-grid-cell-1.png b/tests/screenshot.spec.ts-snapshots/grid-cell-1-firefox.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-firefox-grid-cell-1.pngrename to tests/screenshot.spec.ts-snapshots/grid-cell-1-firefox.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-webkit-grid-cell-1.png b/tests/screenshot.spec.ts-snapshots/grid-cell-1-webkit.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-webkit-grid-cell-1.pngrename to tests/screenshot.spec.ts-snapshots/grid-cell-1-webkit.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-chromium-screenshot-device-scale-factor.png b/tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-chromium.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-chromium-screenshot-device-scale-factor.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-firefox-screenshot-device-scale-factor.png b/tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-firefox.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-firefox-screenshot-device-scale-factor.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-firefox.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-webkit-screenshot-device-scale-factor.png b/tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-webkit.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-webkit-screenshot-device-scale-factor.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-chromium-screenshot-element-bounding-box.png b/tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-chromium.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-chromium-screenshot-element-bounding-box.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-device-scale-factor-chromium-screenshot-element-mobile-dsf.png b/tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-chromium.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-device-scale-factor-chromium-screenshot-element-mobile-dsf.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-device-scale-factor-webkit-screenshot-element-mobile-dsf.png b/tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-webkit.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-device-scale-factor-webkit-screenshot-element-mobile-dsf.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-webkit.pngdiff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-webkit-screenshot-element-bounding-box.png b/tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-webkit.pngsimilarity index 100%rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-webkit-screenshot-element-bounding-box.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-webkit.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-chromium-screenshot-mobile.png b/tests/screenshot.spec.ts-snapshots/screenshot-mobile-chromium.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-chromium-screenshot-mobile.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-clip-chromium-screenshot-mobile-clip.png b/tests/screenshot.spec.ts-snapshots/screenshot-mobile-clip-chromium.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-clip-chromium-screenshot-mobile-clip.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-clip-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-clip-webkit-screenshot-mobile-clip.png b/tests/screenshot.spec.ts-snapshots/screenshot-mobile-clip-webkit.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-clip-webkit-screenshot-mobile-clip.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-clip-webkit.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-fullPage-chromium-screenshot-mobile-fullpage.png b/tests/screenshot.spec.ts-snapshots/screenshot-mobile-fullpage-chromium.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-fullPage-chromium-screenshot-mobile-fullpage.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-fullpage-chromium.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-fullPage-webkit-screenshot-mobile-fullpage.png b/tests/screenshot.spec.ts-snapshots/screenshot-mobile-fullpage-webkit.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-fullPage-webkit-screenshot-mobile-fullpage.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-fullpage-webkit.pngdiff --git a/tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-webkit-screenshot-mobile.png b/tests/screenshot.spec.ts-snapshots/screenshot-mobile-webkit.pngsimilarity index 100%rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-webkit-screenshot-mobile.pngrename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-webkit.pngdiff --git a/types/test.d.ts b/types/test.d.tsindex e33850e240..67538c7d27 100644--- a/types/test.d.ts+++ b/types/test.d.ts@@ -72,6 +72,7 @@ export type PlaywrightWorkerOptions = {* Name of the browser (`chromium`, `firefox`, `webkit`) that runs tests.*/browserName: BrowserName;+ defaultBrowserType: BrowserName;/*** Whether to run browser in headless mode. Takes priority over `launchOptions`.