From 04aa96b798661a0d8bfe4b1f002eed4966ac1d95 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 9 Sep 2024 17:01:36 +0200 Subject: [PATCH] chore: refs #4074 fix tests --- test/cypress/integration/outLogin/login.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cypress/integration/outLogin/login.spec.js b/test/cypress/integration/outLogin/login.spec.js index f8a9f5c64..6757ba7d0 100755 --- a/test/cypress/integration/outLogin/login.spec.js +++ b/test/cypress/integration/outLogin/login.spec.js @@ -53,8 +53,8 @@ describe('Login', () => { }); it(`should get redirected to dashboard since employee can't create tickets`, () => { - cy.visit('/#/ticket/create', { failOnStatusCode: false }); - cy.url().should('contain', '/#/login?redirect=/ticket/create'); + cy.visit('/#/account/ldap', { failOnStatusCode: false }); + cy.url().should('contain', '/#/login?redirect=/account/ldap'); cy.get('input[aria-label="Username"]').type('employee'); cy.get('input[aria-label="Password"]').type('nightmare'); cy.get('button[type="submit"]').click();