diff --git a/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx b/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx index 31dff15636..448067dad6 100644 --- a/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx +++ b/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx @@ -95,6 +95,8 @@ describe('', function () { it('renders "Start adding your address" until a valid email is typed', async function () { fetchMock.get('/user/emails?ensureAffiliation=true', []) + fetchMock.get(`/institutions/domains?hostname=email.com&limit=1`, 200) + fetchMock.get(`/institutions/domains?hostname=email&limit=1`, 200) render() const addAnotherEmailBtn = (await screen.findByRole('button', {