#4074 useAcls #584
|
@ -53,8 +53,8 @@ describe('Login', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should get redirected to dashboard since employee can't create tickets`, () => {
|
it(`should get redirected to dashboard since employee can't create tickets`, () => {
|
||||||
cy.visit('/#/ticket/create', { failOnStatusCode: false });
|
cy.visit('/#/account/ldap', { failOnStatusCode: false });
|
||||||
jorgep marked this conversation as resolved
|
|||||||
cy.url().should('contain', '/#/login?redirect=/ticket/create');
|
cy.url().should('contain', '/#/login?redirect=/account/ldap');
|
||||||
cy.get('input[aria-label="Username"]').type('employee');
|
cy.get('input[aria-label="Username"]').type('employee');
|
||||||
cy.get('input[aria-label="Password"]').type('nightmare');
|
cy.get('input[aria-label="Password"]').type('nightmare');
|
||||||
cy.get('button[type="submit"]').click();
|
cy.get('button[type="submit"]').click();
|
||||||
|
|
Loading…
Reference in New Issue
Hermos cambiado la URL pero no hemos cambiado el it del test...