Skip to content

Commit

Permalink
Increase delay on testing menu for Chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Feb 5, 2025
1 parent f03c225 commit 94f912e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export const OpenedMenu: Story = {

await userEvent.hover(accountTrigger);

await delay(200);
// Delay so menu can open. Chromatic CI seems to need a longer delay
// than local testing.
await delay(500);
await expect(screen.getByText('Settings')).toBeInTheDocument();
},

Expand Down

0 comments on commit 94f912e

Please sign in to comment.