diff --git a/frontend/website/cypress/e2e/confirm-email.cy.ts b/frontend/website/cypress/e2e/confirm-email.cy.ts index 075909d..deabca6 100644 --- a/frontend/website/cypress/e2e/confirm-email.cy.ts +++ b/frontend/website/cypress/e2e/confirm-email.cy.ts @@ -9,6 +9,10 @@ describe('email confirmation', () => { statusCode: 401, body: { error: 'unauthenticated' }, }).as('me') + cy.intercept('GET', '**/api/sets', { + statusCode: 200, + body: { sets: [] }, + }) }) it('chooses a password, confirms the account, and opens the dashboard', () => { @@ -31,7 +35,7 @@ describe('email confirmation', () => { cy.wait('@confirmEmail') cy.location('pathname').should('equal', '/dashboard') - cy.get('h1').should('have.text', 'Your next step starts here.') + cy.get('h1').should('have.text', 'Available sets') }) it('validates password length and confirmation before submitting', () => {