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();