refs #4797 fixing e2e
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-05-10 14:24:47 +02:00
parent 8a3df43684
commit f53745f1f7
1 changed files with 2 additions and 2 deletions

View File

@ -15,9 +15,9 @@ describe('WorkerNotificationsManager', () => {
it('should check the unsubscription has been saved and subscribe to other one', () => { it('should check the unsubscription has been saved and subscribe to other one', () => {
cy.get('.q-chip').should('have.length', 1); cy.get('.q-chip').should('have.length', 1);
cy.get('.q-toggle__thumb').should('have.length', 3).eq(1).click(); cy.get('.q-toggle__thumb').should('have.length', 3).eq(0).click();
cy.get('.q-notification__message').should('have.text', 'Subscribed to the notification'); cy.get('.q-notification__message').should('have.text', 'Subscribed to the notification');
cy.get('.q-toggle__thumb').should('have.length', 3).eq(2).click(); cy.get('.q-toggle__thumb').should('have.length', 3).eq(1).click();
cy.get('.q-notification__message').should('have.text', 'Subscribed to the notification'); cy.get('.q-notification__message').should('have.text', 'Subscribed to the notification');
}); });