Skip to content

Commit

Permalink
fix: account experience redirects to verification page (#3195)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Apr 3, 2023
1 parent 162ab9b commit 2e96d75
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0

import { appPrefix, gen } from "../../../../helpers"
import { routes as react } from "../../../../helpers/react"
import { routes as express } from "../../../../helpers/express"
import { routes as react } from "../../../../helpers/react"

context("Account Verification Login Errors", () => {
;[
Expand Down Expand Up @@ -37,6 +37,10 @@ context("Account Verification Login Errors", () => {
cy.get('[name="password"]').type(identity.password)
cy.get('[value="password"]').click()

if (app === "express") {
cy.url().should("contain", "/verification")
}

cy.get('[data-testid="ui/message/4000010"]').contains(
"Account not active yet",
)
Expand Down

0 comments on commit 2e96d75

Please sign in to comment.