From a4cb24ecbbbf66f09e718397afa849a0669c8b77 Mon Sep 17 00:00:00 2001 From: Alano Terblanche <18033717+Benehiko@users.noreply.github.com> Date: Wed, 29 Mar 2023 12:06:40 +0200 Subject: [PATCH] fix: account experience redirects to verification page --- .../integration/profiles/verification/login/errors.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/e2e/cypress/integration/profiles/verification/login/errors.spec.ts b/test/e2e/cypress/integration/profiles/verification/login/errors.spec.ts index 63bba66444c0..d7cda1182761 100644 --- a/test/e2e/cypress/integration/profiles/verification/login/errors.spec.ts +++ b/test/e2e/cypress/integration/profiles/verification/login/errors.spec.ts @@ -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", () => { ;[ @@ -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", )