Skip to content

Commit

Permalink
tests: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccadumazert committed Dec 18, 2024
1 parent 9900467 commit 87c4685
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions cypress/e2e/signin_with_email_verification/index.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe("sign-in with email verification renewal", () => {

cy.login("[email protected]");

cy.contains("Vérifier votre email");
cy.contains("Confirmer votre adresse");

cy.contains(
"Information : pour garantir la sécurité de votre compte, nous avons besoin d’authentifier votre navigateur.",
Expand Down Expand Up @@ -36,16 +36,8 @@ describe("sign-in with email verification renewal", () => {

cy.login("[email protected]");

cy.get('a[href="/users/verify-email-help"]')
.contains(
"J'ai attendu quelques secondes et je ne reçois pas de code de vérification",
)
.click();

cy.contains("Vous ne recevez pas le code de vérification");

cy.get('[action="/users/send-email-verification"] [type="submit"]')
.contains("Cliquez ici pour recevoir un nouveau code")
.contains("Recevoir un nouvel email")
.should("be.disabled");

// Wait for countdown to last
Expand Down

0 comments on commit 87c4685

Please sign in to comment.