mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-27 03:31:37 +09:00
Merge branch 'develop' into stories/components-ab
This commit is contained in:
commit
b930443ffe
2
.github/workflows/storybook.yml
vendored
2
.github/workflows/storybook.yml
vendored
@ -6,6 +6,8 @@ on:
|
||||
- master
|
||||
- develop
|
||||
pull_request:
|
||||
branches:
|
||||
- "!l10n_develop"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user