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 new file mode 100644 index 000000000..2e1d6ac3b Binary files /dev/null and b/src/components/ArrowToggle/__snapshots__/ArrowToggle.visual.test.tsx-snapshots/ArrowToggle-smoke-smoke-light-chromium-linux.png differ diff --git a/src/components/ArrowToggle/__tests__/ArrowToggle.visual.test.tsx b/src/components/ArrowToggle/__tests__/ArrowToggle.visual.test.tsx new file mode 100644 index 000000000..74a9e958e --- /dev/null +++ b/src/components/ArrowToggle/__tests__/ArrowToggle.visual.test.tsx @@ -0,0 +1,37 @@ +import React from 'react'; + +import {smokeTest, 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}) => { + const defaultProps: ArrowToggleProps = {}; + + const smokeScenarios = createSmokeScenarios(defaultProps, { + size: sizeCases, + direction: directionCases, + }); + + await mount( +