Skip to content

Commit

Permalink
test: changes in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth committed Oct 27, 2023
1 parent 00c9eb6 commit 19d748f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion apps/consent/cypress/e2e/email-sign-in/login-email.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ describe("Account ID Test", () => {
cy.getOTP(email).then((otp) => {
const code = otp
cy.get("[data-testid=verification_code_input]").type(code)
cy.get("[data-testid=verification_code_submit_btn]").click()
cy.get("[data-testid=submit_consent_btn]").click()
})
})
Expand Down
2 changes: 1 addition & 1 deletion apps/consent/cypress/e2e/phone-sign-in/login-phone.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ describe("Account ID Test", () => {
})
cy.setCookie(login_challenge, cookieValue, { secure: true })
cy.visit(`/login/verification?login_challenge=${login_challenge}`)
cy.wait(1000)
cy.get("[data-testid=verification_code_input]").type(testData.VERIFICATION_CODE)
cy.get("[data-testid=verification_code_submit_btn]").click()
cy.get("[data-testid=submit_consent_btn]").click()
})
})

0 comments on commit 19d748f

Please sign in to comment.