From d33595c0b6a8c2b22d241949cc6086ce0a1eda2f Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Tue, 18 Jun 2024 17:36:33 +0200 Subject: [PATCH] :green_heart: - test: attempt to fix the tests --- src/components/dropdown/dropdown.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dropdown/dropdown.stories.tsx b/src/components/dropdown/dropdown.stories.tsx index 0d685d44..ba948553 100644 --- a/src/components/dropdown/dropdown.stories.tsx +++ b/src/components/dropdown/dropdown.stories.tsx @@ -125,7 +125,7 @@ export const ActivateOnFocus: Story = { ...ActivateOnHover, play: async ({ canvasElement, parameters }) => { const canvas = within(canvasElement); - const button = await canvas.getByText("Hover me!"); + const button = canvas.getByText("Hover me!"); // Click opens, escape closes. await userEvent.tab({ delay: 10 });