#4074 useAcls #584
|
@ -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 });
|
||||
jorgep marked this conversation as resolved
jsegarra
commented
Hermos cambiado la URL pero no hemos cambiado el it del test... Hermos cambiado la URL pero no hemos cambiado el it del test...
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue
Habían puesto que solo podía el role developer. Esto en Salix no estaba.