From 56a602f67cb4fcea2268e613ac7231c9fbe127a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Thu, 6 Apr 2023 13:50:56 +0900 Subject: [PATCH] chore(#10336): fire changes --- .../src/components/global/MkPageHeader.stories.impl.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts index 5519d60fc4..7485f3b82f 100644 --- a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts +++ b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts @@ -1,4 +1,5 @@ /* eslint-disable @typescript-eslint/explicit-function-return-type */ +import { waitFor } from '@storybook/testing-library'; import { StoryObj } from '@storybook/vue3'; import MkPageHeader from './MkPageHeader.vue'; export const Empty = { @@ -22,16 +23,16 @@ export const Empty = { template: '', }; }, + async play() { + const wait = new Promise((resolve) => setTimeout(resolve, 800)); + await waitFor(async () => await wait); + }, args: { static: true, tabs: [], }, parameters: { layout: 'centered', - chromatic: { - /* This component has animations that are implemented with JavaScript. So it's unstable to take a snapshot. */ - disableSnapshot: true, - }, }, } satisfies StoryObj; export const OneTab = {