Merge branch 'develop' into stories/components-ab

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-06 03:17:18 +09:00 committed by GitHub
commit b930443ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,8 @@ on:
- master
- develop
pull_request:
branches:
- "!l10n_develop"
jobs:
build:

View File

@ -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: '<MkError v-bind="props" v-on="events" />',
};
},
async play({ canvasElement }) {
await expect(canvasElement.firstElementChild).not.toBeNull();
await waitFor(async () => expect(canvasElement.firstElementChild?.classList).not.toContain('_transition_zoom-enter-active'));
},
args: {
},
parameters: {