diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 79364bf3fd..186000ccd5 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -6,6 +6,8 @@ on: - master - develop pull_request: + branches: + - "!l10n_develop" jobs: build: diff --git a/packages/frontend/src/components/global/MkError.stories.impl.ts b/packages/frontend/src/components/global/MkError.stories.impl.ts index 0a58edb3bb..8252a4d76e 100644 --- a/packages/frontend/src/components/global/MkError.stories.impl.ts +++ b/packages/frontend/src/components/global/MkError.stories.impl.ts @@ -1,5 +1,7 @@ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { action } from '@storybook/addon-actions'; +import { expect } from '@storybook/jest'; +import { waitFor } from '@storybook/testing-library'; import { StoryObj } from '@storybook/vue3'; import MkError from './MkError.vue'; export const Default = { @@ -28,6 +30,10 @@ export const Default = { template: '', }; }, + async play({ canvasElement }) { + await expect(canvasElement.firstElementChild).not.toBeNull(); + await waitFor(async () => expect(canvasElement.firstElementChild?.classList).not.toContain('_transition_zoom-enter-active')); + }, args: { }, parameters: {