diff --git a/package-lock.json b/package-lock.json index f402516e17..11251105d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,6 +35,7 @@ "@faker-js/faker": "^9.8.0", "@gravity-ui/eslint-config": "^4.2.0", "@gravity-ui/gulp-utils": "^1.0.3", + "@gravity-ui/playwright-tools": "^2.0.0", "@gravity-ui/prettier-config": "^1.1.0", "@gravity-ui/stylelint-config": "^5.0.0", "@gravity-ui/tsconfig": "^1.0.0", @@ -93,7 +94,7 @@ "typescript": "^5.9.3" }, "engines": { - "node": ">= 20", + "node": ">= 20.19", "npm": ">= 9", "pnpm": "Please use npm instead of pnpm to install dependencies", "yarn": "Please use npm instead of yarn to install dependencies" @@ -3547,6 +3548,41 @@ } } }, + "node_modules/@gravity-ui/playwright-tools": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gravity-ui/playwright-tools/-/playwright-tools-2.0.0.tgz", + "integrity": "sha512-QastiCZpYVnZqG8cDVYvtrgWUPOzqaOtpq3gv4vCvkBCJ5qwp9/eMqdBpzYYI4S3WGi5O1KKdR4r6x3pFv7U4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^4.0.0", + "minimatch": "^10.0.1", + "otplib": "^12.0.1" + }, + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "@playwright/experimental-ct-react": "^1.22", + "@playwright/test": "^1.22" + } + }, + "node_modules/@gravity-ui/playwright-tools/node_modules/minimatch": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/brace-expansion": "^5.0.0" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@gravity-ui/prettier-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@gravity-ui/prettier-config/-/prettier-config-1.1.0.tgz", @@ -3869,6 +3905,29 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@isaacs/balanced-match": "^4.0.1" + }, + "engines": { + "node": "20 || >=22" + } + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -4870,6 +4929,61 @@ "node": ">= 8" } }, + "node_modules/@otplib/core": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@otplib/core/-/core-12.0.1.tgz", + "integrity": "sha512-4sGntwbA/AC+SbPhbsziRiD+jNDdIzsZ3JUyfZwjtKyc/wufl1pnSIaG4Uqx8ymPagujub0o92kgBnB89cuAMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@otplib/plugin-crypto": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@otplib/plugin-crypto/-/plugin-crypto-12.0.1.tgz", + "integrity": "sha512-qPuhN3QrT7ZZLcLCyKOSNhuijUi9G5guMRVrxq63r9YNOxxQjPm59gVxLM+7xGnHnM6cimY57tuKsjK7y9LM1g==", + "deprecated": "Please upgrade to v13 of otplib. Refer to otplib docs for migration paths", + "dev": true, + "license": "MIT", + "dependencies": { + "@otplib/core": "^12.0.1" + } + }, + "node_modules/@otplib/plugin-thirty-two": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@otplib/plugin-thirty-two/-/plugin-thirty-two-12.0.1.tgz", + "integrity": "sha512-MtT+uqRso909UkbrrYpJ6XFjj9D+x2Py7KjTO9JDPhL0bJUYVu5kFP4TFZW4NFAywrAtFRxOVY261u0qwb93gA==", + "deprecated": "Please upgrade to v13 of otplib. Refer to otplib docs for migration paths", + "dev": true, + "license": "MIT", + "dependencies": { + "@otplib/core": "^12.0.1", + "thirty-two": "^1.0.2" + } + }, + "node_modules/@otplib/preset-default": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@otplib/preset-default/-/preset-default-12.0.1.tgz", + "integrity": "sha512-xf1v9oOJRyXfluBhMdpOkr+bsE+Irt+0D5uHtvg6x1eosfmHCsCC6ej/m7FXiWqdo0+ZUI6xSKDhJwc8yfiOPQ==", + "deprecated": "Please upgrade to v13 of otplib. Refer to otplib docs for migration paths", + "dev": true, + "license": "MIT", + "dependencies": { + "@otplib/core": "^12.0.1", + "@otplib/plugin-crypto": "^12.0.1", + "@otplib/plugin-thirty-two": "^12.0.1" + } + }, + "node_modules/@otplib/preset-v11": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@otplib/preset-v11/-/preset-v11-12.0.1.tgz", + "integrity": "sha512-9hSetMI7ECqbFiKICrNa4w70deTUfArtwXykPUvSHWOdzOlfa9ajglu7mNCntlvxycTiOAXkQGwjQCzzDEMRMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@otplib/core": "^12.0.1", + "@otplib/plugin-crypto": "^12.0.1", + "@otplib/plugin-thirty-two": "^12.0.1" + } + }, "node_modules/@parcel/watcher": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", @@ -19892,6 +20006,18 @@ "node": ">=0.10.0" } }, + "node_modules/otplib": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/otplib/-/otplib-12.0.1.tgz", + "integrity": "sha512-xDGvUOQjop7RDgxTQ+o4pOol0/3xSZzawTiPKRrHnQWAy0WjhNs/5HdIDJCrqC4MBynmjXgULc6YfioaxZeFgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@otplib/core": "^12.0.1", + "@otplib/preset-default": "^12.0.1", + "@otplib/preset-v11": "^12.0.1" + } + }, "node_modules/own-keys": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz", @@ -23611,6 +23737,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/thirty-two": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/thirty-two/-/thirty-two-1.0.2.tgz", + "integrity": "sha512-OEI0IWCe+Dw46019YLl6V10Us5bi574EvlJEOcAkB29IzQ/mYD1A6RyNHLjZPiHCmuodxvgF6U+vZO1L15lxVA==", + "dev": true, + "engines": { + "node": ">=0.2.6" + } + }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", diff --git a/package.json b/package.json index 0bd9186d8e..b79111a7f1 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,7 @@ "prepublishOnly": "npm run build && npm pkg delete engines", "playwright:install": "playwright install chromium webkit --with-deps", "playwright": "playwright test --config=playwright/playwright.config.ts", - "playwright:update": "npm run playwright -- -u", + "playwright:update": "npm run playwright -- -u all", "playwright:clear-cache": "rm -rf ./playwright/.cache", "playwright:docker": "./playwright/run-docker-command.sh npm run playwright --", "playwright:docker:update": "./playwright/run-docker-command.sh npm run playwright:update --", @@ -131,8 +131,8 @@ "@gravity-ui/i18n": "^1.8.0", "@gravity-ui/icons": "^2.16.0", "@hello-pangea/dnd": "^18.0.1", - "@uiw/react-color": "^2.9.2", "@tanstack/react-virtual": "^3.13.12", + "@uiw/react-color": "^2.9.2", "blueimp-md5": "^2.19.0", "lodash": "^4.17.21", "rc-slider": "^11.1.9", @@ -152,6 +152,7 @@ "@faker-js/faker": "^9.8.0", "@gravity-ui/eslint-config": "^4.2.0", "@gravity-ui/gulp-utils": "^1.0.3", + "@gravity-ui/playwright-tools": "^2.0.0", "@gravity-ui/prettier-config": "^1.1.0", "@gravity-ui/stylelint-config": "^5.0.0", "@gravity-ui/tsconfig": "^1.0.0", diff --git a/playwright/core/expectScreenshotFixture.ts b/playwright/core/expectScreenshotFixture.ts deleted file mode 100644 index 7b5b8e578c..0000000000 --- a/playwright/core/expectScreenshotFixture.ts +++ /dev/null @@ -1,66 +0,0 @@ -import {expect} from '@playwright/experimental-ct-react'; - -import type {CaptureScreenshotParams, ExpectScreenshotFixture, PlaywrightFixture} from './types'; - -const defaultParams: CaptureScreenshotParams = { - themes: ['light', 'dark'], -}; - -export const expectScreenshotFixture: PlaywrightFixture = async ( - {page}, - use, - testInfo, -) => { - const expectScreenshot: ExpectScreenshotFixture = async ({ - component, - nameSuffix, - themes: paramsThemes, - ...pageScreenshotOptions - } = defaultParams) => { - const captureScreenshot = async () => { - return (component || page.locator('.playwright-wrapper-test')).screenshot({ - animations: 'disabled', - ...pageScreenshotOptions, - }); - }; - - const nameScreenshot = - testInfo.titlePath.slice(1).join(' ') + (nameSuffix ? ` ${nameSuffix}` : ''); - - const themes = paramsThemes || defaultParams.themes; - - // Wait for loading of all the images - const locators = await page.locator('//img').all(); - await Promise.all( - locators.map((locator) => - locator.evaluate( - (image: HTMLImageElement) => - image.complete || - new Promise((resolve) => image.addEventListener('load', resolve)), - ), - ), - ); - - // Wait for loading fonts - await page.evaluate(() => document.fonts.ready); - - if (themes?.includes('light')) { - await page.emulateMedia({colorScheme: 'light'}); - - expect(await captureScreenshot()).toMatchSnapshot({ - name: `${nameScreenshot} light.png`, - }); - } - - if (themes?.includes('dark')) { - await page.emulateMedia({colorScheme: 'dark'}); - - expect(await captureScreenshot()).toMatchSnapshot({ - name: `${nameScreenshot} dark.png`, - }); - } - }; - - // eslint-disable-next-line react-hooks/rules-of-hooks - await use(expectScreenshot); -}; diff --git a/playwright/core/fixtures/smoke-skip/index.ts b/playwright/core/fixtures/smoke-skip/index.ts new file mode 100644 index 0000000000..10b69a5875 --- /dev/null +++ b/playwright/core/fixtures/smoke-skip/index.ts @@ -0,0 +1,11 @@ +export type { + SmokeSkipFixturesBuilderParams, + SmokeSkipTestArgs, + SmokeSkipTestOptions, + SmokeSkipWorkerArgs, + SmokeSkipWorkerOptions, + SmokeSkipTestFixtures, + SmokeSkipWorkerFixtures, + SmokeSkipFixtures, +} from './types'; +export {smokeSkipFixturesBuilder} from './smoke-skip-fixture'; diff --git a/playwright/core/fixtures/smoke-skip/smoke-skip-fixture.ts b/playwright/core/fixtures/smoke-skip/smoke-skip-fixture.ts new file mode 100644 index 0000000000..3cb17a3d48 --- /dev/null +++ b/playwright/core/fixtures/smoke-skip/smoke-skip-fixture.ts @@ -0,0 +1,33 @@ +import type { + Fixtures, + PlaywrightTestArgs, + PlaywrightTestOptions, + PlaywrightWorkerArgs, + PlaywrightWorkerOptions, +} from '@playwright/test'; + +import type {SmokeSkipFixturesBuilderParams, SmokeSkipTestArgs, SmokeSkipWorkerArgs} from './types'; + +export function smokeSkipFixturesBuilder( + params?: SmokeSkipFixturesBuilderParams, +): Fixtures< + SmokeSkipTestArgs, + SmokeSkipWorkerArgs, + PlaywrightTestArgs & PlaywrightTestOptions, + PlaywrightWorkerArgs & PlaywrightWorkerOptions +> { + const tag = params?.tag ?? '@smoke'; + const allowedBrowser = params?.allowedBrowser ?? 'chromium'; + + return { + smokeSkip: [ + async ({browserName}, use, testInfo) => { + if (testInfo.tags.includes(tag) && browserName !== allowedBrowser) { + testInfo.skip(true, `Smoke test is only relevant in ${allowedBrowser}`); + } + await use(); + }, + {auto: true}, + ], + }; +} diff --git a/playwright/core/fixtures/smoke-skip/types.ts b/playwright/core/fixtures/smoke-skip/types.ts new file mode 100644 index 0000000000..28b7e237b1 --- /dev/null +++ b/playwright/core/fixtures/smoke-skip/types.ts @@ -0,0 +1,20 @@ +export type SmokeSkipFixturesBuilderParams = { + tag?: string; + allowedBrowser?: string; +}; + +export type SmokeSkipTestArgs = { + smokeSkip: void; +}; + +export type SmokeSkipTestOptions = {}; + +export type SmokeSkipWorkerArgs = {}; + +export type SmokeSkipWorkerOptions = {}; + +export type SmokeSkipTestFixtures = SmokeSkipTestArgs & SmokeSkipTestOptions; + +export type SmokeSkipWorkerFixtures = SmokeSkipWorkerArgs & SmokeSkipWorkerOptions; + +export type SmokeSkipFixtures = SmokeSkipTestFixtures & SmokeSkipWorkerFixtures; diff --git a/playwright/core/index.ts b/playwright/core/index.ts index b42c333a15..f8e3a2ec4f 100644 --- a/playwright/core/index.ts +++ b/playwright/core/index.ts @@ -1,22 +1,54 @@ +import { + TEST_WRAPPER_CLASS, + mountFixturesBuilder, +} from '@gravity-ui/playwright-tools/component-tests'; +import type {MountTestArgs} from '@gravity-ui/playwright-tools/component-tests'; +import {expectScreenshotFixturesBuilder} from '@gravity-ui/playwright-tools/fixtures'; +import type {ExpectScreenshotTestArgs} from '@gravity-ui/playwright-tools/fixtures'; import {test as base} from '@playwright/experimental-ct-react'; +import type {Page} from '@playwright/test'; -import {expectScreenshotFixture} from './expectScreenshotFixture'; -import {mountFixture} from './mountFixture'; -import type {Fixtures} from './types'; +import type {SmokeSkipTestArgs} from './fixtures/smoke-skip'; +import {smokeSkipFixturesBuilder} from './fixtures/smoke-skip'; -export type {MountFixture} from './types'; +export type {MountFn as MountFixture} from '@gravity-ui/playwright-tools/component-tests'; -export const test = base.extend({ - mount: mountFixture, - expectScreenshot: expectScreenshotFixture, +type Fixtures = ExpectScreenshotTestArgs & MountTestArgs & SmokeSkipTestArgs; + +// Wait for loading of all the images and fonts +const onBeforeScreenshot = async (page: Page) => { + const locators = await page.locator('img').all(); + await Promise.all( + locators.map((locator) => + locator.evaluate( + (image: HTMLImageElement) => + image.complete || + new Promise((resolve) => image.addEventListener('load', resolve)), + ), + ), + ); + + // Wait for loading fonts + await page.evaluate(() => document.fonts.ready); +}; + +const expectScreenshotFixtures = expectScreenshotFixturesBuilder({ + themes: ['light', 'dark'], + onBeforeScreenshot, + onSwitchTheme: async (theme, page) => { + await page.emulateMedia({colorScheme: theme}); + }, + // Default to component wrapper for component testing + getDefaultLocator: (page) => page.locator(`.${TEST_WRAPPER_CLASS}`), }); -export {expect} from '@playwright/experimental-ct-react'; +const mountFixtures = mountFixturesBuilder(); +const smokeSkipFixtures = smokeSkipFixturesBuilder(); -export const smokeTest = (testSuffix: string, body: Parameters[2]) => { - test.skip(({browserName}) => { - return browserName !== 'chromium'; - }, 'Smoke test is only relevant in Chrome'); +export const test = base.extend({ + ...expectScreenshotFixtures, + ...mountFixtures, + ...smokeSkipFixtures, +}); - test(`smoke ${testSuffix}`, {tag: ['@smoke']}, body); -}; +export {expect} from '@playwright/experimental-ct-react'; diff --git a/playwright/core/mountFixture.tsx b/playwright/core/mountFixture.tsx deleted file mode 100644 index d6c6106c83..0000000000 --- a/playwright/core/mountFixture.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import type {MountFixture, PlaywrightFixture} from './types'; - -export const mountFixture: PlaywrightFixture = async ({mount: baseMount}, use) => { - const mount: MountFixture = async (component, options) => { - return await baseMount( -
- {/* Do not scale buttons while clicking. Floating UI might position its elements differently in every test run. */} - - {component} -
, - options, - ); - }; - - // eslint-disable-next-line react-hooks/rules-of-hooks - await use(mount); -}; diff --git a/playwright/core/types.ts b/playwright/core/types.ts deleted file mode 100644 index f8f6ba5884..0000000000 --- a/playwright/core/types.ts +++ /dev/null @@ -1,45 +0,0 @@ -import type * as React from 'react'; - -import type {MountOptions, MountResult} from '@playwright/experimental-ct-react'; -import type { - Locator, - Page, - PageScreenshotOptions, - PlaywrightTestArgs, - PlaywrightTestOptions, - PlaywrightWorkerArgs, - PlaywrightWorkerOptions, - TestFixture, -} from '@playwright/test'; - -interface ComponentFixtures { - mount( - component: React.JSX.Element, - options?: MountOptions & { - width?: number | string; - rootStyle?: React.CSSProperties; - }, - ): Promise; -} - -type PlaywrightTestFixtures = PlaywrightTestArgs & PlaywrightTestOptions & ComponentFixtures; -type PlaywrightWorkerFixtures = PlaywrightWorkerArgs & PlaywrightWorkerOptions; -type PlaywrightFixtures = PlaywrightTestFixtures & PlaywrightWorkerFixtures; -export type PlaywrightFixture = TestFixture; - -export type Fixtures = { - mount: MountFixture; - expectScreenshot: ExpectScreenshotFixture; -}; - -export type MountFixture = ComponentFixtures['mount']; - -export interface ExpectScreenshotFixture { - (props?: CaptureScreenshotParams): Promise; -} - -export interface CaptureScreenshotParams extends PageScreenshotOptions { - nameSuffix?: string; - component?: Locator | Page; - themes?: Array<'light' | 'dark'>; -} diff --git a/playwright/playwright.config.ts b/playwright/playwright.config.ts index d0fe565620..8e009dbe51 100644 --- a/playwright/playwright.config.ts +++ b/playwright/playwright.config.ts @@ -51,6 +51,9 @@ const config: PlaywrightTestConfig = { headless: true, screenshot: 'only-on-failure', timezoneId: 'UTC', + contextOptions: { + reducedMotion: 'reduce', + }, ctCacheDir: process.env.IS_DOCKER ? '.cache-docker' : '.cache', ctViteConfig: { plugins: [react()], @@ -69,14 +72,15 @@ const config: PlaywrightTestConfig = { name: 'chromium', use: { ...devices['Desktop Chrome'], - deviceScaleFactor: 2, + launchOptions: { + args: ['--disable-font-subpixel-positioning'], + }, }, }, { name: 'webkit', use: { ...devices['Desktop Safari'], - deviceScaleFactor: 2, }, }, ], diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-accordion-expanded-state-expanded-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-accordion-expanded-state-expanded-light-chromium-linux.png deleted file mode 100644 index 5f7fde3795..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-accordion-expanded-state-expanded-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-1-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-1-chromium-linux.png new file mode 100644 index 0000000000..09e75686e5 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-1-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-1-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-1-webkit-linux.png new file mode 100644 index 0000000000..b56f05c12b Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-1-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-2-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-2-chromium-linux.png new file mode 100644 index 0000000000..b2764c0b02 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-2-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-2-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-2-webkit-linux.png new file mode 100644 index 0000000000..f24fc96737 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-2-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-dark-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-dark-chromium-linux.png deleted file mode 100644 index f4459d3137..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-light-chromium-linux.png deleted file mode 100644 index 3287f221f0..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-showcase-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-1-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-1-chromium-linux.png new file mode 100644 index 0000000000..5674805ea3 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-1-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-1-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-1-webkit-linux.png new file mode 100644 index 0000000000..b4d9b7b256 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-1-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-2-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-2-chromium-linux.png new file mode 100644 index 0000000000..b5fbf15962 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-2-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-2-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-2-webkit-linux.png new file mode 100644 index 0000000000..cdbd386c8c Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-2-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-dark-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-dark-chromium-linux.png deleted file mode 100644 index 3324e94782..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-light-chromium-linux.png deleted file mode 100644 index 24939a9700..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-1-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-1-chromium-linux.png new file mode 100644 index 0000000000..8155c60101 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-1-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-1-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-1-webkit-linux.png new file mode 100644 index 0000000000..03c2f6459b Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-1-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-2-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-2-chromium-linux.png new file mode 100644 index 0000000000..21d8ab31cc Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-2-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-2-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-2-webkit-linux.png new file mode 100644 index 0000000000..ed4fdf5b19 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-2-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-dark-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-dark-chromium-linux.png deleted file mode 100644 index 6afde2e3f3..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-light-chromium-linux.png deleted file mode 100644 index 1a47122c43..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-Size-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-1-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-1-chromium-linux.png new file mode 100644 index 0000000000..746e69aa5d Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-1-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-1-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-1-webkit-linux.png new file mode 100644 index 0000000000..2be78e5f7e Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-1-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-2-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-2-chromium-linux.png new file mode 100644 index 0000000000..f27b32f493 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-2-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-2-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-2-webkit-linux.png new file mode 100644 index 0000000000..0e976bdab6 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-2-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-dark-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-dark-chromium-linux.png deleted file mode 100644 index 2200cfca44..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-light-chromium-linux.png deleted file mode 100644 index ea1197b5ed..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-View-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-1-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-1-chromium-linux.png new file mode 100644 index 0000000000..2237308ad9 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-1-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-1-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-1-webkit-linux.png new file mode 100644 index 0000000000..7b45502e34 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-1-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-2-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-2-chromium-linux.png new file mode 100644 index 0000000000..dbbe399e42 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-2-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-2-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-2-webkit-linux.png new file mode 100644 index 0000000000..bfe6dcaefb Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-2-webkit-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-dark-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-dark-chromium-linux.png deleted file mode 100644 index 00a3bf5f69..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-light-chromium-linux.png deleted file mode 100644 index 7ddd973449..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-render-story-WithCustomSummary-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-1-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-1-chromium-linux.png new file mode 100644 index 0000000000..1598a1860e Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-1-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-2-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-2-chromium-linux.png new file mode 100644 index 0000000000..0d34061b40 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-2-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-dark-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-dark-chromium-linux.png deleted file mode 100644 index 10a827f9f8..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-light-chromium-linux.png deleted file mode 100644 index 33a9c9796a..0000000000 Binary files a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/Accordion-smoke-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/expanded-light-chromium-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/expanded-light-chromium-linux.png new file mode 100644 index 0000000000..eebd4447e3 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/expanded-light-chromium-linux.png differ diff --git a/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/expanded-light-webkit-linux.png b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/expanded-light-webkit-linux.png new file mode 100644 index 0000000000..b6c115e3d6 Binary files /dev/null and b/src/components/Accordion/__snapshots__/Accordion.visual.test.tsx-snapshots/expanded-light-webkit-linux.png differ diff --git a/src/components/Accordion/__tests__/Accordion.visual.test.tsx b/src/components/Accordion/__tests__/Accordion.visual.test.tsx index 66ce78e1c0..ca916316c1 100644 --- a/src/components/Accordion/__tests__/Accordion.visual.test.tsx +++ b/src/components/Accordion/__tests__/Accordion.visual.test.tsx @@ -1,6 +1,7 @@ -import {smokeTest, test} from '~playwright/core'; +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; + +import {test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import {Text} from '../../Text'; import {Accordion} from '../Accordion'; import type {AccordionProps} from '../types'; @@ -41,7 +42,7 @@ test.describe('Accordion', {tag: '@Accordion'}, () => { const qa = 'test-accordion'; - smokeTest('', async ({mount, expectScreenshot}) => { + test('smoke', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios( { qa, @@ -96,7 +97,7 @@ test.describe('Accordion', {tag: '@Accordion'}, () => { await expectScreenshot({ themes: ['light'], - nameSuffix: 'expanded', + name: 'expanded', }); }); }); diff --git a/src/components/Accordion/__tests__/cases.ts b/src/components/Accordion/__tests__/cases.ts index 04686a1f58..6ac0c6ed6e 100644 --- a/src/components/Accordion/__tests__/cases.ts +++ b/src/components/Accordion/__tests__/cases.ts @@ -1,4 +1,5 @@ -import type {CasesWithName} from '../../../stories/tests-factory/models'; +import type {CasesWithName} from '@gravity-ui/playwright-tools/component-tests'; + import type {AccordionProps} from '../types'; export const sizeCases: CasesWithName = [ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-default-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-default-1-chromium-linux.png new file mode 100644 index 0000000000..ea4f2cd2d5 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-default-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-default-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-default-light-chromium-linux.png deleted file mode 100644 index 91b0182e88..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-1-chromium-linux.png new file mode 100644 index 0000000000..b1b95f1f7a Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-end-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-end-1-chromium-linux.png new file mode 100644 index 0000000000..ef7341c360 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-end-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-end-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-end-light-chromium-linux.png deleted file mode 100644 index 7acf94a33a..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-light-chromium-linux.png deleted file mode 100644 index 3290c9891b..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-start-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-start-1-chromium-linux.png new file mode 100644 index 0000000000..da8effc23a Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-start-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-start-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-start-light-chromium-linux.png deleted file mode 100644 index 5b4295fa6e..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-auto-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-1-chromium-linux.png new file mode 100644 index 0000000000..30d8413cf6 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-end-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-end-1-chromium-linux.png new file mode 100644 index 0000000000..7d3a4aa391 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-end-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-end-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-end-light-chromium-linux.png deleted file mode 100644 index 108a813251..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-light-chromium-linux.png deleted file mode 100644 index b9a822a462..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-start-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-start-1-chromium-linux.png new file mode 100644 index 0000000000..250fde4e64 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-start-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-start-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-start-light-chromium-linux.png deleted file mode 100644 index 5bd104b90d..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-bottom-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-1-chromium-linux.png new file mode 100644 index 0000000000..663e25cc99 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-end-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-end-1-chromium-linux.png new file mode 100644 index 0000000000..1c1a0a1efc Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-end-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-end-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-end-light-chromium-linux.png deleted file mode 100644 index 9330eba221..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-light-chromium-linux.png deleted file mode 100644 index 58303ff237..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-start-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-start-1-chromium-linux.png new file mode 100644 index 0000000000..2759857efb Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-start-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-start-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-start-light-chromium-linux.png deleted file mode 100644 index 301783de28..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-left-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-1-chromium-linux.png new file mode 100644 index 0000000000..c744953fdf Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-end-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-end-1-chromium-linux.png new file mode 100644 index 0000000000..41874f2d82 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-end-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-end-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-end-light-chromium-linux.png deleted file mode 100644 index 1ad75f1695..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-light-chromium-linux.png deleted file mode 100644 index e59b3db19e..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-start-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-start-1-chromium-linux.png new file mode 100644 index 0000000000..43dd402665 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-start-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-start-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-start-light-chromium-linux.png deleted file mode 100644 index 66ad72b0a9..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-right-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-1-chromium-linux.png new file mode 100644 index 0000000000..2284576d13 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-end-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-end-1-chromium-linux.png new file mode 100644 index 0000000000..d56fc8e6d3 Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-end-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-end-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-end-light-chromium-linux.png deleted file mode 100644 index 5adae697d8..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-light-chromium-linux.png deleted file mode 100644 index 51934ccbeb..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-start-1-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-start-1-chromium-linux.png new file mode 100644 index 0000000000..26686c82fe Binary files /dev/null and b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-start-1-chromium-linux.png differ diff --git a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-start-light-chromium-linux.png b/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-start-light-chromium-linux.png deleted file mode 100644 index da085c829e..0000000000 Binary files a/src/components/ActionTooltip/__snapshots__/ActionTooltip.visual.test.tsx-snapshots/ActionTooltip-smoke-placement-top-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionTooltip/__tests__/ActionTooltip.visual.test.tsx b/src/components/ActionTooltip/__tests__/ActionTooltip.visual.test.tsx index 3d0b478b6b..f9bf4d82b8 100644 --- a/src/components/ActionTooltip/__tests__/ActionTooltip.visual.test.tsx +++ b/src/components/ActionTooltip/__tests__/ActionTooltip.visual.test.tsx @@ -1,8 +1,8 @@ +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; import {expect} from '@playwright/experimental-ct-react'; -import {smokeTest, test} from '~playwright/core'; +import {test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import type {ActionTooltipProps} from '../ActionTooltip'; import {ActionTooltip} from '../ActionTooltip'; @@ -21,7 +21,7 @@ test.describe('ActionTooltip', {tag: '@ActionTooltip'}, () => { }); smokeScenarios.forEach(([title, props]) => { - smokeTest(title, async ({mount, page, expectScreenshot}) => { + test(`smoke ${title}`, {tag: ['@smoke']}, async ({mount, page, expectScreenshot}) => { const root = await mount(

{title}

diff --git a/src/components/ActionTooltip/__tests__/cases.tsx b/src/components/ActionTooltip/__tests__/cases.tsx index 8e468045b1..06c92b855c 100644 --- a/src/components/ActionTooltip/__tests__/cases.tsx +++ b/src/components/ActionTooltip/__tests__/cases.tsx @@ -1,4 +1,5 @@ -import type {Cases} from '../../../stories/tests-factory/models'; +import type {Cases} from '@gravity-ui/playwright-tools/component-tests'; + import type {ActionTooltipProps} from '../ActionTooltip'; export const placementCases: Cases = [ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-1-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-1-chromium-linux.png new file mode 100644 index 0000000000..134d357435 Binary files /dev/null and b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-1-chromium-linux.png differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-1-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-1-chromium-linux.png new file mode 100644 index 0000000000..0144a84071 Binary files /dev/null and b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-1-chromium-linux.png differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-light-chromium-linux.png deleted file mode 100644 index 06296f32bb..0000000000 Binary files a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-opened-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-opened-light-chromium-linux.png deleted file mode 100644 index 68f596bf2b..0000000000 Binary files a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-group-opened-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-light-chromium-linux.png deleted file mode 100644 index e905a26803..0000000000 Binary files a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-note-1-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-note-1-chromium-linux.png new file mode 100644 index 0000000000..edd65af8cb Binary files /dev/null and b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-note-1-chromium-linux.png differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-note-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-note-light-chromium-linux.png deleted file mode 100644 index ed477cb554..0000000000 Binary files a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-note-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-1-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-1-chromium-linux.png new file mode 100644 index 0000000000..b9513eec5e Binary files /dev/null and b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-1-chromium-linux.png differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-light-chromium-linux.png deleted file mode 100644 index 1d66480fac..0000000000 Binary files a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-opened-submenu-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-opened-submenu-light-chromium-linux.png deleted file mode 100644 index d642f5ab0b..0000000000 Binary files a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/ActionsPanel-smoke-with-submenu-opened-submenu-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/opened submenu-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/opened submenu-light-chromium-linux.png new file mode 100644 index 0000000000..4d4c8d8301 Binary files /dev/null and b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/opened submenu-light-chromium-linux.png differ diff --git a/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/opened-light-chromium-linux.png b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/opened-light-chromium-linux.png new file mode 100644 index 0000000000..8a9bbfd040 Binary files /dev/null and b/src/components/ActionsPanel/__snapshots__/ActionsPanel.visual.test.tsx-snapshots/opened-light-chromium-linux.png differ diff --git a/src/components/ActionsPanel/__tests__/ActionsPanel.visual.test.tsx b/src/components/ActionsPanel/__tests__/ActionsPanel.visual.test.tsx index 49ee7cced3..2c96ab71c2 100644 --- a/src/components/ActionsPanel/__tests__/ActionsPanel.visual.test.tsx +++ b/src/components/ActionsPanel/__tests__/ActionsPanel.visual.test.tsx @@ -1,8 +1,8 @@ +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; import {expect} from '@playwright/experimental-ct-react'; -import {smokeTest, test} from '~playwright/core'; +import {test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import {ActionsPanel} from '../ActionsPanel'; import type {ActionsPanelProps} from '../types'; @@ -92,7 +92,7 @@ test.describe('ActionsPanel', {tag: '@ActionsPanel'}, () => { actions: actionsWithNoteAndGroups, }; - smokeTest('', async ({mount, expectScreenshot}) => { + test('smoke', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios(defaultProps, { maxRowActions: [2], onClose: [['closable', noop]], @@ -122,7 +122,7 @@ test.describe('ActionsPanel', {tag: '@ActionsPanel'}, () => { }); }); - smokeTest('with note', async ({mount, expectScreenshot}) => { + test('smoke with note', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios(defaultProps, { maxRowActions: [2], onClose: [['closable', noop]], @@ -152,7 +152,7 @@ test.describe('ActionsPanel', {tag: '@ActionsPanel'}, () => { }); }); - smokeTest('group', async ({mount, page, expectScreenshot}) => { + test('smoke group', {tag: ['@smoke']}, async ({mount, page, expectScreenshot}) => { const root = await mount(
{ await expectScreenshot({ themes: ['light'], - nameSuffix: 'opened', + name: 'opened', }); }); - smokeTest('with submenu', async ({mount, page, expectScreenshot}) => { + test('smoke with submenu', {tag: ['@smoke']}, async ({mount, page, expectScreenshot}) => { const actionsSubmenu: ActionsPanelProps['actions'] = [ { id: 'button-with-sub-menu', @@ -250,7 +250,7 @@ test.describe('ActionsPanel', {tag: '@ActionsPanel'}, () => { await expectScreenshot({ themes: ['light'], - nameSuffix: 'opened submenu', + name: 'opened submenu', }); }); }); diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-1-chromium-linux.png new file mode 100644 index 0000000000..c6ed667ab7 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-1-webkit-linux.png new file mode 100644 index 0000000000..dcbab6423b Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-2-chromium-linux.png new file mode 100644 index 0000000000..f2193d2121 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-2-webkit-linux.png new file mode 100644 index 0000000000..673ce35022 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-dark-chromium-linux.png deleted file mode 100644 index bf262e457d..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-light-chromium-linux.png deleted file mode 100644 index 8e5ed71601..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Actions-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-1-chromium-linux.png new file mode 100644 index 0000000000..208f02ee4f Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-1-webkit-linux.png new file mode 100644 index 0000000000..df59156707 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-2-chromium-linux.png new file mode 100644 index 0000000000..4d5eac154e Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-2-webkit-linux.png new file mode 100644 index 0000000000..e68db43ba2 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-dark-chromium-linux.png deleted file mode 100644 index 713a3e4e9f..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-light-chromium-linux.png deleted file mode 100644 index e5f6c35671..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Align-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-1-chromium-linux.png new file mode 100644 index 0000000000..2f760acba3 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-1-webkit-linux.png new file mode 100644 index 0000000000..c329ecd9d9 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-2-chromium-linux.png new file mode 100644 index 0000000000..a6497c818f Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-2-webkit-linux.png new file mode 100644 index 0000000000..4324a1b5ff Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-dark-chromium-linux.png deleted file mode 100644 index e2c6cbaa34..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-light-chromium-linux.png deleted file mode 100644 index bb319ef3eb..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Corners-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-1-chromium-linux.png new file mode 100644 index 0000000000..81586a91d0 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-1-webkit-linux.png new file mode 100644 index 0000000000..949193fd15 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-2-chromium-linux.png new file mode 100644 index 0000000000..a41d27a1ee Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-2-webkit-linux.png new file mode 100644 index 0000000000..84db882cb1 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-dark-chromium-linux.png deleted file mode 100644 index ce375de999..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-light-chromium-linux.png deleted file mode 100644 index 5e4022cf74..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-CustomIcon-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-1-chromium-linux.png new file mode 100644 index 0000000000..dc131e1bb4 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-1-webkit-linux.png new file mode 100644 index 0000000000..c3133d987b Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-2-chromium-linux.png new file mode 100644 index 0000000000..44fbebb225 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-2-webkit-linux.png new file mode 100644 index 0000000000..b6bc3868cc Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-dark-chromium-linux.png deleted file mode 100644 index 854d1ddf53..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-light-chromium-linux.png deleted file mode 100644 index e165aaf41d..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-1-chromium-linux.png new file mode 100644 index 0000000000..3a41285de7 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-1-webkit-linux.png new file mode 100644 index 0000000000..2069bf8529 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-2-chromium-linux.png new file mode 100644 index 0000000000..971030f22c Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-2-webkit-linux.png new file mode 100644 index 0000000000..e90181f4c6 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-dark-chromium-linux.png deleted file mode 100644 index 257ab14e1b..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-light-chromium-linux.png deleted file mode 100644 index e7668585be..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Layout-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-1-chromium-linux.png new file mode 100644 index 0000000000..04e3fc18fc Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-1-webkit-linux.png new file mode 100644 index 0000000000..c57718b1c5 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-2-chromium-linux.png new file mode 100644 index 0000000000..f7ea852199 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-2-webkit-linux.png new file mode 100644 index 0000000000..8896d58fe4 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-dark-chromium-linux.png deleted file mode 100644 index acd76407bb..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-light-chromium-linux.png deleted file mode 100644 index 5d6b4c29d4..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-Theme-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-1-chromium-linux.png new file mode 100644 index 0000000000..bb62bdc6c3 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-1-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-1-webkit-linux.png new file mode 100644 index 0000000000..ba60f942c9 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-1-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-2-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-2-chromium-linux.png new file mode 100644 index 0000000000..561886b32a Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-2-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-2-webkit-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-2-webkit-linux.png new file mode 100644 index 0000000000..be2e27bc78 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-2-webkit-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-dark-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-dark-chromium-linux.png deleted file mode 100644 index 373ba1790d..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-light-chromium-linux.png deleted file mode 100644 index febdcdb3ef..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-render-story-View-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-smoke-smoke-1-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-smoke-smoke-1-chromium-linux.png new file mode 100644 index 0000000000..ba10e63730 Binary files /dev/null and b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-smoke-smoke-1-chromium-linux.png differ diff --git a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-smoke-smoke-light-chromium-linux.png b/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-smoke-smoke-light-chromium-linux.png deleted file mode 100644 index 5f73f9510f..0000000000 Binary files a/src/components/Alert/__snapshots__/Alert.visual.test.tsx-snapshots/Alert-smoke-smoke-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Alert/__tests__/Alert.visual.test.tsx b/src/components/Alert/__tests__/Alert.visual.test.tsx index c4eb9338fe..d385ec61d1 100644 --- a/src/components/Alert/__tests__/Alert.visual.test.tsx +++ b/src/components/Alert/__tests__/Alert.visual.test.tsx @@ -1,6 +1,7 @@ -import {smokeTest, test} from '~playwright/core'; +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; + +import {test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import {Alert} from '../Alert'; import type {AlertProps} from '../types'; @@ -65,7 +66,7 @@ test.describe('Alert', {tag: '@Alert'}, () => { await expectScreenshot(); }); - smokeTest('smoke', async ({mount, expectScreenshot}) => { + test('smoke smoke', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const defaultProps: AlertProps = { title: 'Title', message: 'Message', diff --git a/src/components/Alert/__tests__/cases.tsx b/src/components/Alert/__tests__/cases.tsx index bc0e4c321c..56e202de95 100644 --- a/src/components/Alert/__tests__/cases.tsx +++ b/src/components/Alert/__tests__/cases.tsx @@ -1,4 +1,5 @@ -import type {Cases, CasesWithName} from '../../../stories/tests-factory/models'; +import type {Cases, CasesWithName} from '@gravity-ui/playwright-tools/component-tests'; + import {Alert} from '../Alert'; import type {AlertProps} from '../types'; diff --git a/src/components/ArrowToggle/__snapshots__/ArrowToggle.visual.test.tsx-snapshots/ArrowToggle-smoke-smoke-1-chromium-linux.png b/src/components/ArrowToggle/__snapshots__/ArrowToggle.visual.test.tsx-snapshots/ArrowToggle-smoke-smoke-1-chromium-linux.png new file mode 100644 index 0000000000..9335cd4cdb Binary files /dev/null and b/src/components/ArrowToggle/__snapshots__/ArrowToggle.visual.test.tsx-snapshots/ArrowToggle-smoke-smoke-1-chromium-linux.png differ diff --git a/src/components/ArrowToggle/__snapshots__/ArrowToggle.visual.test.tsx-snapshots/ArrowToggle-smoke-smoke-light-chromium-linux.png b/src/components/ArrowToggle/__snapshots__/ArrowToggle.visual.test.tsx-snapshots/ArrowToggle-smoke-smoke-light-chromium-linux.png deleted file mode 100644 index 2e1d6ac3ba..0000000000 Binary files a/src/components/ArrowToggle/__snapshots__/ArrowToggle.visual.test.tsx-snapshots/ArrowToggle-smoke-smoke-light-chromium-linux.png and /dev/null differ diff --git a/src/components/ArrowToggle/__tests__/ArrowToggle.visual.test.tsx b/src/components/ArrowToggle/__tests__/ArrowToggle.visual.test.tsx index 3c04392da1..5a2d7906ce 100644 --- a/src/components/ArrowToggle/__tests__/ArrowToggle.visual.test.tsx +++ b/src/components/ArrowToggle/__tests__/ArrowToggle.visual.test.tsx @@ -1,13 +1,14 @@ -import {smokeTest, test} from '~playwright/core'; +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; + +import {test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import type {ArrowToggleProps} from '../ArrowToggle'; import {ArrowToggle} from '../ArrowToggle'; import {directionCases, sizeCases} from './cases'; test.describe('ArrowToggle', {tag: '@ArrowToggle'}, () => { - smokeTest('smoke', async ({mount, expectScreenshot}) => { + test('smoke smoke', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const defaultProps: ArrowToggleProps = {}; const smokeScenarios = createSmokeScenarios(defaultProps, { diff --git a/src/components/ArrowToggle/__tests__/cases.tsx b/src/components/ArrowToggle/__tests__/cases.tsx index 6f9313d2f2..7f85bb42b9 100644 --- a/src/components/ArrowToggle/__tests__/cases.tsx +++ b/src/components/ArrowToggle/__tests__/cases.tsx @@ -1,4 +1,5 @@ -import type {Cases} from '../../../stories/tests-factory/models'; +import type {Cases} from '@gravity-ui/playwright-tools/component-tests'; + import type {ArrowToggleProps} from '../ArrowToggle'; export const sizeCases: Cases = [10, 20, 30, 40, 50, 100]; diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-1-chromium-linux.png new file mode 100644 index 0000000000..28c7f719b6 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-1-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-1-webkit-linux.png new file mode 100644 index 0000000000..dedc0ad17e Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-1-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-2-chromium-linux.png new file mode 100644 index 0000000000..430929e193 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-2-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-2-webkit-linux.png new file mode 100644 index 0000000000..c2c59122c2 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-2-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-dark-chromium-linux.png deleted file mode 100644 index c33ccd1c9d..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-light-chromium-linux.png deleted file mode 100644 index cad1083273..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Icon-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-1-chromium-linux.png new file mode 100644 index 0000000000..7697e9a7bf Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-1-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-1-webkit-linux.png new file mode 100644 index 0000000000..fb0a30a787 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-1-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-2-chromium-linux.png new file mode 100644 index 0000000000..46a721af95 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-2-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-2-webkit-linux.png new file mode 100644 index 0000000000..ba3890dbd6 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-2-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-dark-chromium-linux.png deleted file mode 100644 index 444fb52a1b..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-light-chromium-linux.png deleted file mode 100644 index 283d5c677e..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Image-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-1-chromium-linux.png new file mode 100644 index 0000000000..7697e9a7bf Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-2-chromium-linux.png new file mode 100644 index 0000000000..46a721af95 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-dark-chromium-linux.png deleted file mode 100644 index 444fb52a1b..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-light-chromium-linux.png deleted file mode 100644 index 283d5c677e..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-ImageFallback-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-1-chromium-linux.png new file mode 100644 index 0000000000..794f2b062f Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-1-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-1-webkit-linux.png new file mode 100644 index 0000000000..02d76272d3 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-1-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-2-chromium-linux.png new file mode 100644 index 0000000000..25bd5f02f2 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-2-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-2-webkit-linux.png new file mode 100644 index 0000000000..0fd0cd65fe Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-2-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-dark-chromium-linux.png deleted file mode 100644 index 7f9046e4d2..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-light-chromium-linux.png deleted file mode 100644 index fb7062e9b9..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Showcase-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-1-chromium-linux.png new file mode 100644 index 0000000000..b31c1f44f3 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-1-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-1-webkit-linux.png new file mode 100644 index 0000000000..f2ad0bcffa Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-1-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-2-chromium-linux.png new file mode 100644 index 0000000000..d0afb6e121 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-2-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-2-webkit-linux.png new file mode 100644 index 0000000000..764fe5dd9e Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-2-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-dark-chromium-linux.png deleted file mode 100644 index 812a3c92b2..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-light-chromium-linux.png deleted file mode 100644 index 9e90e8b9f1..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-Text-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-1-chromium-linux.png new file mode 100644 index 0000000000..f39e04b5ce Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-1-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-1-webkit-linux.png new file mode 100644 index 0000000000..3863863211 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-1-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-2-chromium-linux.png new file mode 100644 index 0000000000..23ff828e68 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-2-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-2-webkit-linux.png new file mode 100644 index 0000000000..89b9d20d5f Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-2-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-dark-chromium-linux.png deleted file mode 100644 index f7c116f757..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-light-chromium-linux.png deleted file mode 100644 index af5ec55afb..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-TextInitials-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-1-chromium-linux.png new file mode 100644 index 0000000000..9125e9c426 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-1-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-1-webkit-linux.png new file mode 100644 index 0000000000..3abfcc8c80 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-1-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-2-chromium-linux.png new file mode 100644 index 0000000000..25da3cb7ad Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-2-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-2-webkit-linux.png new file mode 100644 index 0000000000..bf9928fb8c Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-2-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-dark-chromium-linux.png deleted file mode 100644 index 51dd7b4922..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-light-chromium-linux.png deleted file mode 100644 index 30406f8093..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-render-story-WithBorder-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-1-chromium-linux.png new file mode 100644 index 0000000000..37807036f4 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-1-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-1-webkit-linux.png new file mode 100644 index 0000000000..21d799c183 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-1-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-2-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-2-chromium-linux.png new file mode 100644 index 0000000000..1a5725b08e Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-2-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-2-webkit-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-2-webkit-linux.png new file mode 100644 index 0000000000..f1f4d4d5d9 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-2-webkit-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-dark-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-dark-chromium-linux.png deleted file mode 100644 index 258e662d69..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-light-chromium-linux.png deleted file mode 100644 index 5318e133fb..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-should-render-default-border-for-the-image-if-withImageBorder-true-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-icon-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-icon-1-chromium-linux.png new file mode 100644 index 0000000000..46577f7d64 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-icon-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-icon-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-icon-light-chromium-linux.png deleted file mode 100644 index b3a22e5a83..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-icon-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-image-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-image-1-chromium-linux.png new file mode 100644 index 0000000000..3bfc759225 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-image-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-image-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-image-light-chromium-linux.png deleted file mode 100644 index 7a08d6926a..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-image-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-text-1-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-text-1-chromium-linux.png new file mode 100644 index 0000000000..d016804bd2 Binary files /dev/null and b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-text-1-chromium-linux.png differ diff --git a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-text-light-chromium-linux.png b/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-text-light-chromium-linux.png deleted file mode 100644 index 18bbb8ae18..0000000000 Binary files a/src/components/Avatar/__snapshots__/Avatar.visual.test.tsx-snapshots/Avatar-smoke-with-text-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Avatar/__tests__/Avatar.visual.test.tsx b/src/components/Avatar/__tests__/Avatar.visual.test.tsx index f07822cda0..03e0ac1df0 100644 --- a/src/components/Avatar/__tests__/Avatar.visual.test.tsx +++ b/src/components/Avatar/__tests__/Avatar.visual.test.tsx @@ -1,6 +1,6 @@ -import {smokeTest, test} from '~playwright/core'; +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; +import {test} from '~playwright/core'; import { backgroundColorCases, @@ -17,39 +17,39 @@ import {AvatarStories} from './stories'; test.describe('Avatar', {tag: '@Avatar'}, () => { test('render story: ', async ({mount, expectScreenshot}) => { const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); test('render story: ', async ({browserName, mount, expectScreenshot}) => { test.skip(browserName === 'webkit', 'Test is flaky for webkit'); const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); test('render story: ', async ({mount, expectScreenshot}) => { const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); test('render story: ', async ({mount, expectScreenshot}) => { const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); test('render story: ', async ({mount, expectScreenshot}) => { const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); test('render story: ', async ({mount, expectScreenshot}) => { const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); test('render story: ', async ({mount, expectScreenshot}) => { const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); const commonCases = { @@ -61,7 +61,7 @@ test.describe('Avatar', {tag: '@Avatar'}, () => { title: titleCases, } as const; - smokeTest('with image', async ({mount, expectScreenshot}) => { + test('smoke with image', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios( {}, { @@ -90,7 +90,7 @@ test.describe('Avatar', {tag: '@Avatar'}, () => { }); }); - smokeTest('with icon', async ({mount, expectScreenshot}) => { + test('smoke with icon', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios( {}, { @@ -119,7 +119,7 @@ test.describe('Avatar', {tag: '@Avatar'}, () => { }); }); - smokeTest('with text', async ({mount, expectScreenshot}) => { + test('smoke with text', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios( {}, { @@ -153,6 +153,6 @@ test.describe('Avatar', {tag: '@Avatar'}, () => { expectScreenshot, }) => { const component = await mount(); - await expectScreenshot({component}); + await expectScreenshot({locator: component}); }); }); diff --git a/src/components/Avatar/__tests__/cases.tsx b/src/components/Avatar/__tests__/cases.tsx index a5d0ff527d..112bc53318 100644 --- a/src/components/Avatar/__tests__/cases.tsx +++ b/src/components/Avatar/__tests__/cases.tsx @@ -1,4 +1,5 @@ -import type {Cases} from '../../../stories/tests-factory/models'; +import type {Cases} from '@gravity-ui/playwright-tools/component-tests'; + import type {AvatarProps} from '../types/main'; export const sizeCases: Cases = ['xs', 's', 'm', 'l', 'xl']; diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-1-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-1-chromium-linux.png new file mode 100644 index 0000000000..a4498e4c74 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-1-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-1-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-1-webkit-linux.png new file mode 100644 index 0000000000..26e4ab9d58 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-1-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-2-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-2-chromium-linux.png new file mode 100644 index 0000000000..9bc4fa807f Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-2-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-2-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-2-webkit-linux.png new file mode 100644 index 0000000000..1307aff155 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-2-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-dark-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-dark-chromium-linux.png deleted file mode 100644 index 6c0545af9b..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-dark-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-dark-webkit-linux.png deleted file mode 100644 index 73170626c8..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-dark-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-light-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-light-chromium-linux.png deleted file mode 100644 index b7f562dd03..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-light-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-light-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-light-webkit-linux.png deleted file mode 100644 index 641a746118..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButton-light-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-1-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-1-chromium-linux.png new file mode 100644 index 0000000000..1bc6dfc85e Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-1-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-1-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-1-webkit-linux.png new file mode 100644 index 0000000000..047948ae43 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-1-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-2-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-2-chromium-linux.png new file mode 100644 index 0000000000..5018822f6a Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-2-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-2-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-2-webkit-linux.png new file mode 100644 index 0000000000..e1fd8f90bc Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-2-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-dark-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-dark-chromium-linux.png deleted file mode 100644 index 9584de0536..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-dark-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-dark-webkit-linux.png deleted file mode 100644 index d40c16dffc..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-dark-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-light-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-light-chromium-linux.png deleted file mode 100644 index 6d1abcf1b5..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-light-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-light-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-light-webkit-linux.png deleted file mode 100644 index 3ab541002c..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-MoreButtonOmit-light-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-1-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-1-chromium-linux.png new file mode 100644 index 0000000000..dbcf9e8a5f Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-1-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-1-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-1-webkit-linux.png new file mode 100644 index 0000000000..aa07d85a36 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-1-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-2-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-2-chromium-linux.png new file mode 100644 index 0000000000..06e8f90451 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-2-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-2-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-2-webkit-linux.png new file mode 100644 index 0000000000..a8dfeb1e83 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-2-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-dark-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-dark-chromium-linux.png deleted file mode 100644 index 4346f27ec6..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-dark-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-dark-webkit-linux.png deleted file mode 100644 index cef93a0a01..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-dark-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-light-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-light-chromium-linux.png deleted file mode 100644 index 5f0b07b72a..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-light-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-light-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-light-webkit-linux.png deleted file mode 100644 index 2238b45c9d..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-SingleItem-light-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-1-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-1-chromium-linux.png new file mode 100644 index 0000000000..f77c71ed83 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-1-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-1-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-1-webkit-linux.png new file mode 100644 index 0000000000..7a857de195 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-1-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-2-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-2-chromium-linux.png new file mode 100644 index 0000000000..b4715ae60d Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-2-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-2-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-2-webkit-linux.png new file mode 100644 index 0000000000..8732f1623d Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-2-webkit-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-dark-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-dark-chromium-linux.png deleted file mode 100644 index 386d3dfc74..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-dark-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-dark-webkit-linux.png deleted file mode 100644 index ad35bb7e64..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-dark-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-light-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-light-chromium-linux.png deleted file mode 100644 index f76e42b4c8..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-light-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-light-webkit-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-light-webkit-linux.png deleted file mode 100644 index 6e2002b93e..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-render-story-Total-light-webkit-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-1-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-1-chromium-linux.png new file mode 100644 index 0000000000..3f40bca89b Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-1-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-light-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-light-chromium-linux.png deleted file mode 100644 index be1ffe894f..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-light-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-with-custom-more-1-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-with-custom-more-1-chromium-linux.png new file mode 100644 index 0000000000..325cee0b89 Binary files /dev/null and b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-with-custom-more-1-chromium-linux.png differ diff --git a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-with-custom-more-light-chromium-linux.png b/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-with-custom-more-light-chromium-linux.png deleted file mode 100644 index abb976afb7..0000000000 Binary files a/src/components/AvatarStack/__snapshots__/AvatarStack.visual.test.tsx-snapshots/AvatarStack-smoke-with-custom-more-light-chromium-linux.png and /dev/null differ diff --git a/src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx b/src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx index 5efeb65e09..5a7f725471 100644 --- a/src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx +++ b/src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx @@ -1,6 +1,7 @@ -import {smokeTest, test} from '~playwright/core'; +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; + +import {test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import {sizeCases} from '../../Button/__tests__/cases'; import type {AvatarStackProps} from '../types'; @@ -35,7 +36,7 @@ test.describe('AvatarStack', () => { const defaultProps: AvatarStackProps & {avatarCount?: number} = {}; - smokeTest('', async ({mount, expectScreenshot}) => { + test('smoke', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios(defaultProps, { size: sizeCases, overlapSize: overlapSizeCases, @@ -61,7 +62,7 @@ test.describe('AvatarStack', () => { }); }); - smokeTest('with custom more', async ({mount, expectScreenshot}) => { + test('smoke with custom more', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios(defaultProps, {}); await mount( diff --git a/src/components/AvatarStack/__tests__/cases.ts b/src/components/AvatarStack/__tests__/cases.ts index 943166785c..4931afff75 100644 --- a/src/components/AvatarStack/__tests__/cases.ts +++ b/src/components/AvatarStack/__tests__/cases.ts @@ -1,4 +1,5 @@ -import type {Cases} from '../../../stories/tests-factory/models'; +import type {Cases} from '@gravity-ui/playwright-tools/component-tests'; + import type {AvatarStackProps} from '../types'; export const sizeCases: Cases = ['xs', 's', 'm', 'l', 'xl']; diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-default-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-default-1-chromium-linux.png new file mode 100644 index 0000000000..6ee4001934 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-default-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-default-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-default-light-chromium-linux.png deleted file mode 100644 index f3a55e5486..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-disabled-true-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-disabled-true-1-chromium-linux.png new file mode 100644 index 0000000000..b7b19aff75 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-disabled-true-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-disabled-true-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-disabled-true-light-chromium-linux.png deleted file mode 100644 index d82611048b..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-icons-disabled-true-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-default-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-default-1-chromium-linux.png new file mode 100644 index 0000000000..d77ddee8b4 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-default-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-default-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-default-light-chromium-linux.png deleted file mode 100644 index 45e9106b2c..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-disabled-true-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-disabled-true-1-chromium-linux.png new file mode 100644 index 0000000000..003c4dfff0 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-disabled-true-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-disabled-true-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-disabled-true-light-chromium-linux.png deleted file mode 100644 index d99aae22ce..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-custom-separator-disabled-true-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-default-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-default-1-chromium-linux.png new file mode 100644 index 0000000000..08b46b6897 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-default-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-default-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-default-light-chromium-linux.png deleted file mode 100644 index 4e57280120..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-disabled-true-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-disabled-true-1-chromium-linux.png new file mode 100644 index 0000000000..9119ffbe17 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-disabled-true-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-disabled-true-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-disabled-true-light-chromium-linux.png deleted file mode 100644 index ad6da776a0..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-link-items-disabled-true-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-default-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-default-1-chromium-linux.png new file mode 100644 index 0000000000..c4c247ef1a Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-default-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-default-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-default-light-chromium-linux.png deleted file mode 100644 index 58be657cf5..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-1-chromium-linux.png new file mode 100644 index 0000000000..3a1effa521 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-end-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-end-1-chromium-linux.png new file mode 100644 index 0000000000..9c3838f758 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-end-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-end-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-end-light-chromium-linux.png deleted file mode 100644 index b2afacac01..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-light-chromium-linux.png deleted file mode 100644 index 9ac55aa750..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-start-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-start-1-chromium-linux.png new file mode 100644 index 0000000000..f695317e4e Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-start-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-start-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-start-light-chromium-linux.png deleted file mode 100644 index 29566b3a66..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-auto-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-1-chromium-linux.png new file mode 100644 index 0000000000..c4c247ef1a Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-end-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-end-1-chromium-linux.png new file mode 100644 index 0000000000..6e42b6c326 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-end-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-end-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-end-light-chromium-linux.png deleted file mode 100644 index 63d314c3c5..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-light-chromium-linux.png deleted file mode 100644 index ec458e73de..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-start-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-start-1-chromium-linux.png new file mode 100644 index 0000000000..6f5e2157fe Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-start-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-start-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-start-light-chromium-linux.png deleted file mode 100644 index 7b7a2404ac..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-bottom-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-1-chromium-linux.png new file mode 100644 index 0000000000..601729fe57 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-end-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-end-1-chromium-linux.png new file mode 100644 index 0000000000..35826e8919 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-end-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-end-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-end-light-chromium-linux.png deleted file mode 100644 index 0cbbd3b0a8..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-light-chromium-linux.png deleted file mode 100644 index 769376bd96..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-start-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-start-1-chromium-linux.png new file mode 100644 index 0000000000..fdffed2013 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-start-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-start-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-start-light-chromium-linux.png deleted file mode 100644 index 4bcc55c88e..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-left-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-1-chromium-linux.png new file mode 100644 index 0000000000..3a1effa521 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-end-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-end-1-chromium-linux.png new file mode 100644 index 0000000000..9c3838f758 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-end-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-end-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-end-light-chromium-linux.png deleted file mode 100644 index b2afacac01..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-light-chromium-linux.png deleted file mode 100644 index 9ac55aa750..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-start-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-start-1-chromium-linux.png new file mode 100644 index 0000000000..f695317e4e Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-start-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-start-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-start-light-chromium-linux.png deleted file mode 100644 index 29566b3a66..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-right-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-1-chromium-linux.png new file mode 100644 index 0000000000..98ec8b06e2 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-end-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-end-1-chromium-linux.png new file mode 100644 index 0000000000..5aedad5129 Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-end-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-end-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-end-light-chromium-linux.png deleted file mode 100644 index 2af99f1eb6..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-end-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-light-chromium-linux.png deleted file mode 100644 index b950899820..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-start-1-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-start-1-chromium-linux.png new file mode 100644 index 0000000000..0c5dcbdaad Binary files /dev/null and b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-start-1-chromium-linux.png differ diff --git a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-start-light-chromium-linux.png b/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-start-light-chromium-linux.png deleted file mode 100644 index b10bfb7c19..0000000000 Binary files a/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.visual.test.tsx-snapshots/Breadcrumbs-smoke-with-text-items-popupPlacement-top-start-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Breadcrumbs/__tests__/Breadcrumbs.visual.test.tsx b/src/components/Breadcrumbs/__tests__/Breadcrumbs.visual.test.tsx index 855b19b3e9..790d542f73 100644 --- a/src/components/Breadcrumbs/__tests__/Breadcrumbs.visual.test.tsx +++ b/src/components/Breadcrumbs/__tests__/Breadcrumbs.visual.test.tsx @@ -1,6 +1,7 @@ -import {expect, smokeTest, test} from '~playwright/core'; +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; + +import {expect, test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import type {BreadcrumbsProps} from '../Breadcrumbs'; import {disabledCases, popupPlacementCases} from './cases'; @@ -23,7 +24,7 @@ test.describe('Breadcrumbs', {tag: '@Breadcrumbs'}, () => { scenarioName: 'with text items', }, ).forEach(([title, props]) => { - smokeTest(title, async ({mount, page, expectScreenshot}) => { + test(`smoke ${title}`, {tag: ['@smoke']}, async ({mount, page, expectScreenshot}) => { const root = await mount(
@@ -49,7 +50,7 @@ test.describe('Breadcrumbs', {tag: '@Breadcrumbs'}, () => { scenarioName: 'with link items', }, ).forEach(([title, props]) => { - smokeTest(title, async ({mount, expectScreenshot}) => { + test(`smoke ${title}`, {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { await mount(
@@ -71,7 +72,7 @@ test.describe('Breadcrumbs', {tag: '@Breadcrumbs'}, () => { scenarioName: 'with custom icons', }, ).forEach(([title, props]) => { - smokeTest(title, async ({mount, expectScreenshot}) => { + test(`smoke ${title}`, {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { await mount(
@@ -93,7 +94,7 @@ test.describe('Breadcrumbs', {tag: '@Breadcrumbs'}, () => { scenarioName: 'with custom separator', }, ).forEach(([title, props]) => { - smokeTest(title, async ({mount, expectScreenshot}) => { + test(`smoke ${title}`, {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { await mount(
diff --git a/src/components/Breadcrumbs/__tests__/cases.ts b/src/components/Breadcrumbs/__tests__/cases.ts index 7004d95fde..228a7ccd03 100644 --- a/src/components/Breadcrumbs/__tests__/cases.ts +++ b/src/components/Breadcrumbs/__tests__/cases.ts @@ -1,4 +1,5 @@ -import type {Cases} from '../../../stories/tests-factory/models'; +import type {Cases} from '@gravity-ui/playwright-tools/component-tests'; + import type {BreadcrumbsProps} from '../Breadcrumbs'; export const disabledCases: Cases = [true]; diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-1-chromium-linux.png new file mode 100644 index 0000000000..d606103281 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-1-webkit-linux.png new file mode 100644 index 0000000000..43acb76f4c Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-2-chromium-linux.png new file mode 100644 index 0000000000..93f3fd50fb Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-2-webkit-linux.png new file mode 100644 index 0000000000..7421c3394c Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-dark-chromium-linux.png deleted file mode 100644 index 5ae37676e8..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-light-chromium-linux.png deleted file mode 100644 index b3d95a945f..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-custom-Icon-size-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-1-chromium-linux.png new file mode 100644 index 0000000000..e11d0ce2fc Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-1-webkit-linux.png new file mode 100644 index 0000000000..fe6a245f50 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-2-chromium-linux.png new file mode 100644 index 0000000000..f6d0c854a5 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-2-webkit-linux.png new file mode 100644 index 0000000000..c3df60f110 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-dark-chromium-linux.png deleted file mode 100644 index 05c72e23ff..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-light-chromium-linux.png deleted file mode 100644 index 3f09624ef3..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Default-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-1-chromium-linux.png new file mode 100644 index 0000000000..9491015b2c Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-1-webkit-linux.png new file mode 100644 index 0000000000..e3a81332b6 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-2-chromium-linux.png new file mode 100644 index 0000000000..fa7b910a5d Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-2-webkit-linux.png new file mode 100644 index 0000000000..0726d371c0 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-dark-chromium-linux.png deleted file mode 100644 index db6d274595..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-light-chromium-linux.png deleted file mode 100644 index c8222a7589..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Disabled-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-1-chromium-linux.png new file mode 100644 index 0000000000..61e50cc385 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-1-webkit-linux.png new file mode 100644 index 0000000000..b8d5c70c54 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-2-chromium-linux.png new file mode 100644 index 0000000000..f74ab71052 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-2-webkit-linux.png new file mode 100644 index 0000000000..09a928c97a Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-dark-chromium-linux.png deleted file mode 100644 index e161303421..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-light-chromium-linux.png deleted file mode 100644 index 0308ce128c..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Icon-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-1-chromium-linux.png new file mode 100644 index 0000000000..97181688d4 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-1-webkit-linux.png new file mode 100644 index 0000000000..d5ba465744 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-2-chromium-linux.png new file mode 100644 index 0000000000..0e1ade02f7 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-2-webkit-linux.png new file mode 100644 index 0000000000..8641834a4c Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-dark-chromium-linux.png deleted file mode 100644 index 233ead1ab9..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-light-chromium-linux.png deleted file mode 100644 index 0ede085863..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-InsideText-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-1-chromium-linux.png new file mode 100644 index 0000000000..83eab1efdd Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-1-webkit-linux.png new file mode 100644 index 0000000000..d515821fb4 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-2-chromium-linux.png new file mode 100644 index 0000000000..bb7edfc84e Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-2-webkit-linux.png new file mode 100644 index 0000000000..17b5bc82ce Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-dark-chromium-linux.png deleted file mode 100644 index 4cbebc025f..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-light-chromium-linux.png deleted file mode 100644 index cda9f1bd20..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Link-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-1-chromium-linux.png new file mode 100644 index 0000000000..b363d9a109 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-1-webkit-linux.png new file mode 100644 index 0000000000..d20a4f60ef Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-2-chromium-linux.png new file mode 100644 index 0000000000..66595a168a Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-2-webkit-linux.png new file mode 100644 index 0000000000..69cd57e376 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-dark-chromium-linux.png deleted file mode 100644 index cbffd626f8..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-light-chromium-linux.png deleted file mode 100644 index 5a0e2595a6..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Loading-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-1-chromium-linux.png new file mode 100644 index 0000000000..53f6f888cb Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-1-webkit-linux.png new file mode 100644 index 0000000000..c77be18a54 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-2-chromium-linux.png new file mode 100644 index 0000000000..eb2e86822b Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-2-webkit-linux.png new file mode 100644 index 0000000000..ba9d93bc5f Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-dark-chromium-linux.png deleted file mode 100644 index de9d0e76a9..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-light-chromium-linux.png deleted file mode 100644 index 08ce29cc2d..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Pin-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-1-chromium-linux.png new file mode 100644 index 0000000000..260e3c0fb4 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-1-webkit-linux.png new file mode 100644 index 0000000000..eeb471c876 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-2-chromium-linux.png new file mode 100644 index 0000000000..92f993a3e4 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-2-webkit-linux.png new file mode 100644 index 0000000000..f1723c6f8b Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-dark-chromium-linux.png deleted file mode 100644 index 657fee10a0..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-light-chromium-linux.png deleted file mode 100644 index 084bcaff32..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Selected-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-1-chromium-linux.png new file mode 100644 index 0000000000..2c1bd79f45 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-1-webkit-linux.png new file mode 100644 index 0000000000..46b79a751c Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-2-chromium-linux.png new file mode 100644 index 0000000000..cbc1491595 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-2-webkit-linux.png new file mode 100644 index 0000000000..059381e1e0 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-dark-chromium-linux.png deleted file mode 100644 index 99a4269282..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-light-chromium-linux.png deleted file mode 100644 index 2426ba2878..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Size-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-1-chromium-linux.png new file mode 100644 index 0000000000..760d6e6782 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-1-webkit-linux.png new file mode 100644 index 0000000000..35cdd4da49 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-2-chromium-linux.png new file mode 100644 index 0000000000..d7f9eb7107 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-2-webkit-linux.png new file mode 100644 index 0000000000..22342f3095 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-dark-chromium-linux.png deleted file mode 100644 index 663a93af41..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-light-chromium-linux.png deleted file mode 100644 index 87351c6492..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-View-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-1-chromium-linux.png new file mode 100644 index 0000000000..aba3822dff Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-1-webkit-linux.png new file mode 100644 index 0000000000..42c8a6f377 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-2-chromium-linux.png new file mode 100644 index 0000000000..723c475fca Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-2-webkit-linux.png new file mode 100644 index 0000000000..f452f3a478 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-dark-chromium-linux.png deleted file mode 100644 index 9add7c35bb..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-light-chromium-linux.png deleted file mode 100644 index 6c008da838..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-story-Width-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-1-chromium-linux.png new file mode 100644 index 0000000000..ed7cecfcb3 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-1-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-1-webkit-linux.png new file mode 100644 index 0000000000..c9d0e43b07 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-1-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-2-chromium-linux.png new file mode 100644 index 0000000000..c27bd3eda0 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-2-webkit-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-2-webkit-linux.png new file mode 100644 index 0000000000..3a9962dce2 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-2-webkit-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-dark-chromium-linux.png deleted file mode 100644 index 3e561b9f8a..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-light-chromium-linux.png deleted file mode 100644 index 9c548ee572..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-shrink-icon-button-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-1-chromium-linux.png new file mode 100644 index 0000000000..fed78ba3ed Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-2-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-2-chromium-linux.png new file mode 100644 index 0000000000..7f29ef03a1 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-2-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-dark-chromium-linux.png deleted file mode 100644 index 300479ecfc..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-dark-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-default-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-default-1-chromium-linux.png new file mode 100644 index 0000000000..d586478288 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-default-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-default-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-default-hovered-light-chromium-linux.png deleted file mode 100644 index 7e39630751..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-default-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-light-chromium-linux.png deleted file mode 100644 index e50765ea00..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-1-chromium-linux.png new file mode 100644 index 0000000000..c5932ab78e Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-hovered-light-chromium-linux.png deleted file mode 100644 index 4ea7cb4e90..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-1-chromium-linux.png new file mode 100644 index 0000000000..acbc10c0a6 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-hovered-light-chromium-linux.png deleted file mode 100644 index 505baed5c8..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-1-chromium-linux.png new file mode 100644 index 0000000000..c5932ab78e Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-hovered-light-chromium-linux.png deleted file mode 100644 index 4ea7cb4e90..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-1-chromium-linux.png new file mode 100644 index 0000000000..81d3632ed6 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-hovered-light-chromium-linux.png deleted file mode 100644 index 6cfeb27122..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-1-chromium-linux.png new file mode 100644 index 0000000000..00aca22bd0 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-hovered-light-chromium-linux.png deleted file mode 100644 index 5cfcd97287..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-1-chromium-linux.png new file mode 100644 index 0000000000..78bacefcb2 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-hovered-light-chromium-linux.png deleted file mode 100644 index c1b53ac81e..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-1-chromium-linux.png new file mode 100644 index 0000000000..00aca22bd0 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-hovered-light-chromium-linux.png deleted file mode 100644 index 5cfcd97287..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-1-chromium-linux.png new file mode 100644 index 0000000000..c5932ab78e Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-hovered-light-chromium-linux.png deleted file mode 100644 index 4ea7cb4e90..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-1-chromium-linux.png new file mode 100644 index 0000000000..acbc10c0a6 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-hovered-light-chromium-linux.png deleted file mode 100644 index 505baed5c8..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-1-chromium-linux.png new file mode 100644 index 0000000000..c5932ab78e Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-hovered-light-chromium-linux.png deleted file mode 100644 index 4ea7cb4e90..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-1-chromium-linux.png new file mode 100644 index 0000000000..81d3632ed6 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-hovered-light-chromium-linux.png deleted file mode 100644 index 6cfeb27122..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-1-chromium-linux.png new file mode 100644 index 0000000000..c3b91a4c63 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-hovered-light-chromium-linux.png deleted file mode 100644 index 7a159e6d06..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-1-chromium-linux.png new file mode 100644 index 0000000000..c3b91a4c63 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-hovered-light-chromium-linux.png deleted file mode 100644 index 7a159e6d06..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-round-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-round-1-chromium-linux.png new file mode 100644 index 0000000000..d586478288 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-round-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-round-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-round-hovered-light-chromium-linux.png deleted file mode 100644 index 7e39630751..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-pin-round-round-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-action-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-action-1-chromium-linux.png new file mode 100644 index 0000000000..88b456f053 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-action-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-action-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-action-hovered-light-chromium-linux.png deleted file mode 100644 index 42b32c6f36..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-action-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-1-chromium-linux.png new file mode 100644 index 0000000000..80b2c0e4d1 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-action-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-action-1-chromium-linux.png new file mode 100644 index 0000000000..0866206908 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-action-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-action-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-action-hovered-light-chromium-linux.png deleted file mode 100644 index 7f8d514f4e..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-action-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-contrast-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-contrast-1-chromium-linux.png new file mode 100644 index 0000000000..42a221ac1a Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-contrast-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-contrast-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-contrast-hovered-light-chromium-linux.png deleted file mode 100644 index 30ed32b5c3..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-contrast-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-danger-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-danger-1-chromium-linux.png new file mode 100644 index 0000000000..497635eec4 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-danger-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-danger-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-danger-hovered-light-chromium-linux.png deleted file mode 100644 index 1e2e1330cc..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-danger-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-hovered-light-chromium-linux.png deleted file mode 100644 index be71793dbe..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-info-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-info-1-chromium-linux.png new file mode 100644 index 0000000000..f97bf242d6 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-info-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-info-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-info-hovered-light-chromium-linux.png deleted file mode 100644 index 40d17bccc6..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-info-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-secondary-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-secondary-1-chromium-linux.png new file mode 100644 index 0000000000..80b2c0e4d1 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-secondary-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-secondary-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-secondary-hovered-light-chromium-linux.png deleted file mode 100644 index be71793dbe..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-secondary-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-success-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-success-1-chromium-linux.png new file mode 100644 index 0000000000..e8bd3b150f Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-success-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-success-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-success-hovered-light-chromium-linux.png deleted file mode 100644 index c80738cc7b..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-success-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-utility-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-utility-1-chromium-linux.png new file mode 100644 index 0000000000..4bd8636d46 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-utility-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-utility-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-utility-hovered-light-chromium-linux.png deleted file mode 100644 index 9da0bb7e67..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-utility-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-warning-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-warning-1-chromium-linux.png new file mode 100644 index 0000000000..0866206908 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-warning-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-warning-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-warning-hovered-light-chromium-linux.png deleted file mode 100644 index 7f8d514f4e..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-warning-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-1-chromium-linux.png new file mode 100644 index 0000000000..d586478288 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-contrast-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-contrast-1-chromium-linux.png new file mode 100644 index 0000000000..312e046df3 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-contrast-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-contrast-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-contrast-hovered-light-chromium-linux.png deleted file mode 100644 index 293a64b334..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-contrast-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-hovered-light-chromium-linux.png deleted file mode 100644 index 7e39630751..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-normal-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-1-chromium-linux.png new file mode 100644 index 0000000000..66e696f0ab Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-action-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-action-1-chromium-linux.png new file mode 100644 index 0000000000..80186da57d Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-action-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-action-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-action-hovered-light-chromium-linux.png deleted file mode 100644 index 65b80e9274..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-action-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-contrast-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-contrast-1-chromium-linux.png new file mode 100644 index 0000000000..42a221ac1a Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-contrast-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-contrast-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-contrast-hovered-light-chromium-linux.png deleted file mode 100644 index 30ed32b5c3..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-contrast-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-danger-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-danger-1-chromium-linux.png new file mode 100644 index 0000000000..b9cdd8b615 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-danger-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-danger-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-danger-hovered-light-chromium-linux.png deleted file mode 100644 index 296ac15ca4..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-danger-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-hovered-light-chromium-linux.png deleted file mode 100644 index b5e8378f19..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-info-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-info-1-chromium-linux.png new file mode 100644 index 0000000000..dce589a215 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-info-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-info-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-info-hovered-light-chromium-linux.png deleted file mode 100644 index cafa4069bb..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-info-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-success-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-success-1-chromium-linux.png new file mode 100644 index 0000000000..836908bdce Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-success-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-success-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-success-hovered-light-chromium-linux.png deleted file mode 100644 index 997c59e35c..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-success-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-utility-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-utility-1-chromium-linux.png new file mode 100644 index 0000000000..4b830334e5 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-utility-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-utility-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-utility-hovered-light-chromium-linux.png deleted file mode 100644 index c224b85c2d..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-utility-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-warning-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-warning-1-chromium-linux.png new file mode 100644 index 0000000000..80186da57d Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-warning-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-warning-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-warning-hovered-light-chromium-linux.png deleted file mode 100644 index 65b80e9274..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-outlined-warning-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-raised-1-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-raised-1-chromium-linux.png new file mode 100644 index 0000000000..194f7d1e36 Binary files /dev/null and b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-raised-1-chromium-linux.png differ diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-raised-hovered-light-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-raised-hovered-light-chromium-linux.png deleted file mode 100644 index ea13dd10b0..0000000000 Binary files a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-view-raised-hovered-light-chromium-linux.png and /dev/null differ diff --git a/src/components/Button/__tests__/Button.visual.test.tsx b/src/components/Button/__tests__/Button.visual.test.tsx index ab9b87bc73..a2035e714d 100644 --- a/src/components/Button/__tests__/Button.visual.test.tsx +++ b/src/components/Button/__tests__/Button.visual.test.tsx @@ -1,6 +1,7 @@ -import {smokeTest, test} from '~playwright/core'; +import {createSmokeScenarios} from '@gravity-ui/playwright-tools/component-tests'; + +import {test} from '~playwright/core'; -import {createSmokeScenarios} from '../../../stories/tests-factory/create-smoke-scenarios'; import type {ButtonProps} from '../Button'; import {Button} from '../Button'; @@ -95,7 +96,7 @@ test.describe('Button', {tag: '@Button'}, () => { const qa = 'test-button'; - smokeTest('', async ({mount, expectScreenshot}) => { + test('smoke', {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const smokeScenarios = createSmokeScenarios( { children: 'Text', @@ -137,14 +138,13 @@ test.describe('Button', {tag: '@Button'}, () => { pin: pinsCases, }, ).forEach(([title, props]) => { - smokeTest(title, async ({mount, expectScreenshot}) => { + test(`smoke ${title}`, {tag: ['@smoke']}, async ({mount, expectScreenshot}) => { const root = await mount(