mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-29 03:50:51 +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
|
- master
|
||||||
- develop
|
- develop
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "!l10n_develop"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
||||||
import { action } from '@storybook/addon-actions';
|
import { action } from '@storybook/addon-actions';
|
||||||
|
import { expect } from '@storybook/jest';
|
||||||
|
import { waitFor } from '@storybook/testing-library';
|
||||||
import { StoryObj } from '@storybook/vue3';
|
import { StoryObj } from '@storybook/vue3';
|
||||||
import MkError from './MkError.vue';
|
import MkError from './MkError.vue';
|
||||||
export const Default = {
|
export const Default = {
|
||||||
@ -28,6 +30,10 @@ export const Default = {
|
|||||||
template: '<MkError v-bind="props" v-on="events" />',
|
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: {
|
args: {
|
||||||
},
|
},
|
||||||
parameters: {
|
parameters: {
|
||||||
|
Loading…
Reference in New Issue
Block a user