diff --git a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/__tests__/MailDomainsContent.test.tsx b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/__tests__/MailDomainsContent.test.tsx index 2c7ff54..bfe4f55 100644 --- a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/__tests__/MailDomainsContent.test.tsx +++ b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/__tests__/MailDomainsContent.test.tsx @@ -115,9 +115,7 @@ describe('MailBoxesView', () => { wrapper: AppWrapper, }); - await waitFor(async () => { - await userEvent.click(screen.getByTestId('button-new-mailbox')); - }); + await userEvent.click(screen.getByTestId('button-new-mailbox')); await waitFor(async () => { expect(await screen.findByText('New email account')).toBeInTheDocument();