diff --git a/packages/frontend/src/components/global/MkAd.stories.impl.ts b/packages/frontend/src/components/global/MkAd.stories.impl.ts index bd895bf80a..0b457ce553 100644 --- a/packages/frontend/src/components/global/MkAd.stories.impl.ts +++ b/packages/frontend/src/components/global/MkAd.stories.impl.ts @@ -53,6 +53,7 @@ const common = { await expect(back).toHaveTextContent(i18n.ts._ad.back); await userEvent.click(back); await waitFor(() => expect(canvas.queryByRole('img')).toBeTruthy()); + await tick(); if (reduce) { await expect(reduce).not.toBeInTheDocument(); }