From 0c65ef7a3abad846ebe07a14fb592ea0e921f55b Mon Sep 17 00:00:00 2001 From: Alexey Sudilovskiy Date: Thu, 30 May 2024 18:58:15 +0200 Subject: [PATCH] test: single avatar --- .../__tests__/AvatarStack.visual.test.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx diff --git a/src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx b/src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx new file mode 100644 index 0000000000..5c6eaecf23 --- /dev/null +++ b/src/components/AvatarStack/__tests__/AvatarStack.visual.test.tsx @@ -0,0 +1,17 @@ +import React from 'react'; + +import {composeStories} from '@storybook/react'; + +import {test} from '~playwright/core'; + +import * as CSFStories from '../__stories__/AvatarStack.stories'; + +const AvatarStackStories = composeStories(CSFStories); + +test.describe('AvatarStack', () => { + test('single avatar', async ({mount, expectScreenshot}) => { + await mount(); + + await expectScreenshot(); + }); +});