Skip to content

Commit

Permalink
test: Add delay to let mat-error animation complete
Browse files Browse the repository at this point in the history
The mat-error animation didn't complete for an invalid input
of the ManageGitModelComponent.
  • Loading branch information
MoritzWeber0 committed Sep 25, 2024
1 parent b3b658b commit 48606c1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ export default meta;
type Story = StoryObj<ManageGitModelComponent>;

export const InvalidURL: Story = {
args: {},
parameters: {
screenshot: {
delay: 300,
},
},
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
const absoluteURL = canvas.getByTestId('absolute-url');
Expand Down

0 comments on commit 48606c1

Please sign in to comment.