diff --git a/apps/e2e/tests/authentication/auth.spec.ts b/apps/e2e/tests/authentication/auth.spec.ts index b6bae3e14..2544a2faf 100644 --- a/apps/e2e/tests/authentication/auth.spec.ts +++ b/apps/e2e/tests/authentication/auth.spec.ts @@ -20,6 +20,10 @@ test.describe('Auth flow', () => { repeatPassword: 'password', }); + await page.waitForResponse(resp => { + return resp.url().includes('auth'); + }); + await auth.visitConfirmEmailLink(email); expect(page.url()).toContain('http://localhost:3000/home');