diff --git a/docs/src/test-snapshots.md b/docs/src/test-snapshots.md index 9f9777721a..26004e61e5 100644 --- a/docs/src/test-snapshots.md +++ b/docs/src/test-snapshots.md @@ -3,7 +3,7 @@ id: test-snapshots title: "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.json index 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.json index 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.ts index dd89584a2b..3b487dc665 100644 --- a/src/cli/fixtures.ts +++ b/src/cli/fixtures.ts @@ -21,7 +21,8 @@ import type { PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, P export * from 'folio'; export const test = folio.test.extend({ - 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 { - 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 { - 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.png similarity index 100% rename from tests/chromium/oopif.spec.ts-snapshots/should-take-screenshot-chromium-screenshot-oopif.png rename to tests/chromium/oopif.spec.ts-snapshots/screenshot-oopif-chromium.png diff --git a/tests/config/baseTest.ts b/tests/config/baseTest.ts index 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 & BaseFixt isWindows: [ 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.ts index 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.png similarity index 100% rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-chromium-grid-cell-0.png rename to tests/emulation-focus.spec.ts-snapshots/grid-cell-0-chromium.png diff --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.png similarity index 100% rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-firefox-grid-cell-0.png rename to tests/emulation-focus.spec.ts-snapshots/grid-cell-0-firefox.png diff --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.png similarity index 100% rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-webkit-grid-cell-0.png rename to tests/emulation-focus.spec.ts-snapshots/grid-cell-0-webkit.png diff --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.png similarity index 100% rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-chromium-screenshot-sanity.png rename to tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-chromium.png diff --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.png similarity index 100% rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-firefox-screenshot-sanity.png rename to tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-firefox.png diff --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.png similarity index 100% rename from tests/emulation-focus.spec.ts-snapshots/should-not-affect-screenshots-webkit-screenshot-sanity.png rename to tests/emulation-focus.spec.ts-snapshots/screenshot-sanity-webkit.png diff --git a/tests/headful.spec.ts b/tests/headful.spec.ts index 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, brow it.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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-darwin-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-chromium-darwin.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-linux-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-chromium-linux.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-chromium-win32-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-chromium-win32.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-darwin-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-firefox-darwin.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-linux-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-firefox-linux.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-firefox-win32-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-firefox-win32.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-darwin-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-webkit-darwin.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-linux-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-webkit-linux.png diff --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.png similarity index 100% rename from tests/headful.spec.ts-snapshots/focused-input-should-produce-the-same-screenshot-webkit-win32-focused-input.png rename to tests/headful.spec.ts-snapshots/focused-input-webkit-win32.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-chromium-screenshot-element-bounding-box.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-chromium.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-firefox-screenshot-element-bounding-box.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-firefox.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-webkit-screenshot-element-bounding-box.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-webkit.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-chromium-screenshot-element-fractional.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-chromium.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-firefox-screenshot-element-fractional.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-firefox.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-chromium-screenshot-element-fractional-offset.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-chromium.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-firefox-screenshot-element-fractional-offset.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-firefox.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-an-offset-webkit-screenshot-element-fractional-offset.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-webkit.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-for-an-element-with-fractional-dimensions-webkit-screenshot-element-fractional.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-webkit.png diff --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.png similarity 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.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-chromium.png diff --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.png similarity 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.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-firefox.png diff --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.png similarity 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.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-webkit.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-chromium-screenshot-element-scrolled-into-view.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-chromium.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-firefox-screenshot-element-scrolled-into-view.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-firefox.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-15000px-into-view-webkit-screenshot-element-scrolled-into-view.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-webkit.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-chromium-screenshot-element-rotate.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-chromium.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-firefox-screenshot-element-rotate.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-firefox.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-with-a-rotated-element-webkit-screenshot-element-rotate.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-webkit.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-chromium-screenshot-element-scrolled-into-view.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-chromium.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-firefox-screenshot-element-scrolled-into-view.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-firefox.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-scroll-element-into-view-webkit-screenshot-element-scrolled-into-view.png rename to tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-webkit.png diff --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.png deleted file mode 100644 index 52c1bb2b92..0000000000 Binary 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 differ diff --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.png deleted file mode 100644 index 6d28cddcea..0000000000 Binary 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 differ diff --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.png deleted file mode 100644 index c4588132e9..0000000000 Binary 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 differ diff --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.png deleted file mode 100644 index fc34319896..0000000000 Binary 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 differ diff --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.png deleted file mode 100644 index 2b72c7528b..0000000000 Binary 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 differ diff --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.png deleted file mode 100644 index 971006d83d..0000000000 Binary 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 differ diff --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.png deleted file mode 100644 index 9e208f86d8..0000000000 Binary 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 differ diff --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.png deleted file mode 100644 index c2c3ddca29..0000000000 Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-chromium-screenshot-element-bounding-box.png and /dev/null differ diff --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.png deleted file mode 100644 index 9e208f86d8..0000000000 Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-firefox-screenshot-element-bounding-box.png and /dev/null differ diff --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.png deleted file mode 100644 index 1f74a3bafb..0000000000 Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-visible-webkit-screenshot-element-bounding-box.png and /dev/null differ diff --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.png deleted file mode 100644 index c2c3ddca29..0000000000 Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-element-bounding-box.png and /dev/null differ diff --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.png deleted file mode 100644 index 9e208f86d8..0000000000 Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-element-bounding-box.png and /dev/null differ diff --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.png deleted file mode 100644 index 1f74a3bafb..0000000000 Binary files a/tests/page/elementhandle-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-element-bounding-box.png and /dev/null differ diff --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.png similarity index 100% rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-chromium-mock-binary-response.png rename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-chromium.png diff --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.png similarity index 100% rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-firefox-mock-binary-response.png rename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-firefox.png diff --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.png similarity index 100% rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-binary-responses-webkit-mock-binary-response.png rename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-binary-response-webkit.png diff --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.png similarity index 100% rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-chromium-mock-svg.png rename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-chromium.png diff --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.png similarity index 100% rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-firefox-mock-svg.png rename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-firefox.png diff --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.png similarity index 100% rename from tests/page/page-request-fulfill.spec.ts-snapshots/should-allow-mocking-svg-with-charset-webkit-mock-svg.png rename to tests/page/page-request-fulfill.spec.ts-snapshots/mock-svg-webkit.png diff --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.png deleted file mode 100644 index c7f8bb7ecd..0000000000 Binary files a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-chromium-mock-binary-response.png and /dev/null differ diff --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.png deleted file mode 100644 index e7eaf59779..0000000000 Binary files a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-firefox-mock-binary-response.png and /dev/null differ diff --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.png deleted file mode 100644 index 35a14cdc20..0000000000 Binary files a/tests/page/page-request-fulfill.spec.ts-snapshots/should-work-with-file-path-webkit-mock-binary-response.png and /dev/null differ diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-chromium-grid-cell-1.png rename to tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-firefox-grid-cell-1.png rename to tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-run-in-parallel-webkit-grid-cell-1.png rename to tests/page/page-screenshot.spec.ts-snapshots/grid-cell-1-webkit.png diff --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.png deleted file mode 100644 index 122a4f0ae0..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-chromium-screenshot-sanity.png and /dev/null differ diff --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.png deleted file mode 100644 index 7b16493355..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-firefox-screenshot-sanity.png and /dev/null differ diff --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.png deleted file mode 100644 index af070c52a8..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/path-option-should-work-webkit-screenshot-sanity.png and /dev/null differ diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-chromium-screenshot-canvas.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-firefox-screenshot-canvas.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-canvas-webkit-screenshot-canvas.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-canvas-webkit.png diff --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.png similarity 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.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-chromium.png diff --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.png similarity 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.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-firefox.png diff --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.png similarity 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.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-odd-size-webkit.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-chromium-screenshot-clip-rect.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-firefox-screenshot-clip-rect.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-webkit-screenshot-clip-rect.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-clip-rect-webkit.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-chromium-screenshot-grid-fullpage.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-firefox-screenshot-grid-fullpage.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-webkit-screenshot-grid-fullpage.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-grid-fullpage-webkit.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-chromium-screenshot-iframe.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-firefox-screenshot-iframe.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-with-iframe-in-shadow-webkit-screenshot-iframe.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-iframe-webkit.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-chromium-screenshot-offscreen-clip.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-firefox-screenshot-offscreen-clip.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-clip-elements-to-the-viewport-webkit-screenshot-offscreen-clip.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-offscreen-clip-webkit.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-chromium-screenshot-sanity.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-firefox-screenshot-sanity.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-create-subdirectories-webkit-screenshot-sanity.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-sanity-webkit.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-chromium-screenshot-translateZ.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-firefox-screenshot-translateZ.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-firefox.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-translateZ-webkit-screenshot-translateZ.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-translateZ-webkit.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-webgl-chromium-screenshot-webgl.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-webgl-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-work-for-webgl-webkit-screenshot-webgl.png rename to tests/page/page-screenshot.spec.ts-snapshots/screenshot-webgl-webkit.png diff --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.png deleted file mode 100644 index 8c4046910b..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-chromium-screenshot-clip-rect.png and /dev/null differ diff --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.png deleted file mode 100644 index 6459e3afe7..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-firefox-screenshot-clip-rect.png and /dev/null differ diff --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.png deleted file mode 100644 index 7b84d4aecb..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-clip-rect-with-fullPage-webkit-screenshot-clip-rect.png and /dev/null differ diff --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.jpg deleted file mode 100644 index 0bc91643aa..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-chromium-white.jpg and /dev/null differ diff --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.jpg deleted file mode 100644 index 40eb86d77b..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-firefox-white.jpg and /dev/null differ diff --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.jpg deleted file mode 100644 index 3f6faefd6e..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-render-white-background-on-jpeg-file-webkit-white.jpg and /dev/null differ diff --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.png deleted file mode 100644 index 4c271deec3..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-take-fullPage-screenshots-webkit-screenshot-grid-fullpage.png and /dev/null differ diff --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.png deleted file mode 100644 index 122a4f0ae0..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-chromium-screenshot-sanity.png and /dev/null differ diff --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.png deleted file mode 100644 index 7b16493355..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-firefox-screenshot-sanity.png and /dev/null differ diff --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.png deleted file mode 100644 index af070c52a8..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-webkit-screenshot-sanity.png and /dev/null differ diff --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.png deleted file mode 100644 index 0354694da1..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-chromium-screenshot-grid-fullpage.png and /dev/null differ diff --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.png deleted file mode 100644 index e87220e057..0000000000 Binary files a/tests/page/page-screenshot.spec.ts-snapshots/should-work-with-Array-deleted-firefox-screenshot-grid-fullpage.png and /dev/null differ diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-allow-transparency-chromium-transparent.png rename to tests/page/page-screenshot.spec.ts-snapshots/transparent-chromium.png diff --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.png similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/should-allow-transparency-webkit-transparent.png rename to tests/page/page-screenshot.spec.ts-snapshots/transparent-webkit.png diff --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.jpg similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-chromium-white.jpg rename to tests/page/page-screenshot.spec.ts-snapshots/white-chromium.jpg diff --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.jpg similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-firefox-white.jpg rename to tests/page/page-screenshot.spec.ts-snapshots/white-firefox.jpg diff --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.jpg similarity index 100% rename from tests/page/page-screenshot.spec.ts-snapshots/path-option-should-detect-jpeg-webkit-white.jpg rename to tests/page/page-screenshot.spec.ts-snapshots/white-webkit.jpg diff --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.png deleted file mode 100644 index c2c3ddca29..0000000000 Binary files a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-chromium-screenshot-element-mobile.png and /dev/null differ diff --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.png deleted file mode 100644 index 1f74a3bafb..0000000000 Binary files a/tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-a-mobile-viewport-webkit-screenshot-element-mobile.png and /dev/null differ diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-chromium-grid-cell-0.png rename to tests/screenshot.spec.ts-snapshots/grid-cell-0-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-firefox-grid-cell-0.png rename to tests/screenshot.spec.ts-snapshots/grid-cell-0-firefox.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-webkit-grid-cell-0.png rename to tests/screenshot.spec.ts-snapshots/grid-cell-0-webkit.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-chromium-grid-cell-1.png rename to tests/screenshot.spec.ts-snapshots/grid-cell-1-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-firefox-grid-cell-1.png rename to tests/screenshot.spec.ts-snapshots/grid-cell-1-firefox.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-run-in-parallel-in-multiple-pages-webkit-grid-cell-1.png rename to tests/screenshot.spec.ts-snapshots/grid-cell-1-webkit.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-chromium-screenshot-device-scale-factor.png rename to tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-firefox-screenshot-device-scale-factor.png rename to tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-firefox.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-device-scale-factor-webkit-screenshot-device-scale-factor.png rename to tests/screenshot.spec.ts-snapshots/screenshot-device-scale-factor-webkit.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-chromium-screenshot-element-bounding-box.png rename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-device-scale-factor-chromium-screenshot-element-mobile-dsf.png rename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/element-screenshot-should-work-with-device-scale-factor-webkit-screenshot-element-mobile-dsf.png rename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-dsf-webkit.png diff --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.png similarity index 100% rename from tests/page/elementhandle-screenshot.spec.ts-snapshots/should-wait-for-element-to-stop-moving-webkit-screenshot-element-bounding-box.png rename to tests/screenshot.spec.ts-snapshots/screenshot-element-mobile-webkit.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-chromium-screenshot-mobile.png rename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-clip-chromium-screenshot-mobile-clip.png rename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-clip-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-clip-webkit-screenshot-mobile-clip.png rename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-clip-webkit.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-fullPage-chromium-screenshot-mobile-fullpage.png rename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-fullpage-chromium.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-and-fullPage-webkit-screenshot-mobile-fullpage.png rename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-fullpage-webkit.png diff --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.png similarity index 100% rename from tests/screenshot.spec.ts-snapshots/should-work-with-a-mobile-viewport-webkit-screenshot-mobile.png rename to tests/screenshot.spec.ts-snapshots/screenshot-mobile-webkit.png diff --git a/types/test.d.ts b/types/test.d.ts index 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`.