diff --git a/.storybook/test-runner.ts b/.storybook/test-runner.ts index 135d76fa1..1b9548b22 100644 --- a/.storybook/test-runner.ts +++ b/.storybook/test-runner.ts @@ -30,7 +30,10 @@ const vrtTestConfig: TestRunnerConfig = { await waitForPageReady(page) await page.waitForTimeout(200) - const image = await page.screenshot() + const image = await page.screenshot({ + animations: 'disabled', + mask: [page.locator('img')], + }) expect(image).toMatchImageSnapshot({ customSnapshotIdentifier: context.id, customDiffDir: `${process.cwd()}/__diff_output__`, diff --git a/packages/react/docs/TokenV2Demo.story.tsx b/packages/react/docs/TokenV2Demo.story.tsx index f40d5e17b..5e887cbf1 100644 --- a/packages/react/docs/TokenV2Demo.story.tsx +++ b/packages/react/docs/TokenV2Demo.story.tsx @@ -5,7 +5,7 @@ import TokenV2Styled from './TokenV2DemoStyled' import TokenV2Tailwind from './TokenV2DemoTailwind' export default { - title: 'theme/Toke v2 Demo', + title: 'theme/Token v2 Demo', component: TokenV2Styled, } as Meta diff --git a/packages/react/docs/__snapshots__/TokenV2Demo.story.storyshot b/packages/react/docs/__snapshots__/TokenV2Demo.story.storyshot index 61559b669..fdf487726 100644 --- a/packages/react/docs/__snapshots__/TokenV2Demo.story.storyshot +++ b/packages/react/docs/__snapshots__/TokenV2Demo.story.storyshot @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Storybook Tests > theme/Toke v2 Demo > Styled 1`] = ` +exports[`Storybook Tests > theme/Token v2 Demo > Styled 1`] = ` .c0 { -webkit-transition: 0.3s color ease-in-out; transition: 0.3s color ease-in-out; @@ -265,7 +265,7 @@ exports[`Storybook Tests > theme/Toke v2 Demo > Styled 1`] = ` Title

theme/Toke v2 Demo > Styled 1`] = ` Title

theme/Toke v2 Demo > Styled 1`] = ` Title

theme/Toke v2 Demo > Styled 1`] = ` `; -exports[`Storybook Tests > theme/Toke v2 Demo > Tailwind 1`] = ` +exports[`Storybook Tests > theme/Token v2 Demo > Tailwind 1`] = `
@@ -441,7 +441,7 @@ exports[`Storybook Tests > theme/Toke v2 Demo > Tailwind 1`] = ` Title

theme/Toke v2 Demo > Tailwind 1`] = ` Title

theme/Toke v2 Demo > Tailwind 1`] = ` Title