diff --git a/test/e2e/cypress/integration/profiles/recovery/recovery/success.spec.ts b/test/e2e/cypress/integration/profiles/recovery/recovery/success.spec.ts index 30f05adcc600..bbfa92603406 100644 --- a/test/e2e/cypress/integration/profiles/recovery/recovery/success.spec.ts +++ b/test/e2e/cypress/integration/profiles/recovery/recovery/success.spec.ts @@ -8,13 +8,13 @@ context('Account Recovery Success', () => { recovery: react.recovery, base: react.base, app: 'react' as 'react', - profile: 'spa', + profile: 'spa' }, { recovery: express.recovery, base: express.base, app: 'express' as 'express', - profile: 'recovery', + profile: 'recovery' } ].forEach(({ recovery, profile, base, app }) => { describe(`for app ${app}`, () => { diff --git a/test/e2e/cypress/support/commands.ts b/test/e2e/cypress/support/commands.ts index 4005dab2567e..24f309bd80dd 100644 --- a/test/e2e/cypress/support/commands.ts +++ b/test/e2e/cypress/support/commands.ts @@ -343,8 +343,7 @@ Cypress.Commands.add('recoverApi', ({ email, returnTo }) => { if (returnTo) { url += '?return_to=' + returnTo } - cy - .request({url}) + cy.request({ url }) .then(({ body }) => { const form = body.ui return cy.request({ diff --git a/test/e2e/cypress/support/index.d.ts b/test/e2e/cypress/support/index.d.ts index 2b7117092d57..39ff3f8fa81f 100644 --- a/test/e2e/cypress/support/index.d.ts +++ b/test/e2e/cypress/support/index.d.ts @@ -108,7 +108,7 @@ declare global { * * @param opts */ - recoverApi(opts: { email: string, returnTo?: string }): Chainable + recoverApi(opts: { email: string; returnTo?: string }): Chainable /** * Changes the config so that the login flow lifespan is very short.