Skip to content

Commit

Permalink
chore: fix for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed May 13, 2024
1 parent 12a2dc3 commit b644771
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ describe('DynamicZone', () => {

const waitForQueryToFinish = async (user: ReturnType<typeof render>['user']) => {
await user.click(screen.getByRole('button', { name: /Add a component to/i }));
await screen.findByRole('button', { name: 'test comp' });
await screen.findByRole(
'button',
{ name: 'test comp' },
{
timeout: 5000,
}
);
await user.click(screen.getByRole('button', { name: 'Close' }));
};

Expand Down

0 comments on commit b644771

Please sign in to comment.