From 8dc3a0dde29c725d69e547b24593f58aebaf9124 Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Thu, 19 Dec 2024 16:44:24 +0100 Subject: [PATCH] :white_check_mark: #561 - test: attempt to make the tests less flaky --- .../destructionlist/review/DestructionListReview.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/destructionlist/review/DestructionListReview.stories.tsx b/frontend/src/pages/destructionlist/review/DestructionListReview.stories.tsx index 1eda330e..7c8cf7c3 100644 --- a/frontend/src/pages/destructionlist/review/DestructionListReview.stories.tsx +++ b/frontend/src/pages/destructionlist/review/DestructionListReview.stories.tsx @@ -208,7 +208,7 @@ export const ReviewerCanExcludeZaak: Story = { name: "Uitzonderen", }); const exclude = excludes[0]; - await userEvent.click(exclude); + await userEvent.click(exclude, { delay: 60 }); const reason = await canvas.findByLabelText("Reden"); const submitExclude = await canvas.findByRole("button", {