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(); + }); +});