Skip to content

Commit

Permalink
Merge pull request #1908 from DSD-DBS/storycap
Browse files Browse the repository at this point in the history
test(storybook): Capture "Create project" story snapshots with delay
  • Loading branch information
MoritzWeber0 authored Oct 15, 2024
2 parents ac738c4 + 113ab0f commit a8a89aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/src/app/projects/create-project/create-project.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ export const AddTeamMembers: Story = {
const createProject = canvas.getByTestId('button-create-project');
await userEvent.click(createProject);
},
parameters: {
screenshot: {
delay: 1000,
},
},
};

export const AddModel: Story = {
Expand All @@ -79,4 +84,9 @@ export const AddModel: Story = {
const skipMembers = canvas.getByTestId('button-skipAddMembers');
await userEvent.click(skipMembers);
},
parameters: {
screenshot: {
delay: 1000,
},
},
};

0 comments on commit a8a89aa

Please sign in to comment.