8062-testToMaster_2 #792

Merged
alexm merged 347 commits from 8062-testToMaster_2 into master 2024-10-03 05:48:03 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 04aa96b798 - Show all commits

View File

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