diff --git a/test/cypress/integration/workerNotificationsManager.spec.js b/test/cypress/integration/workerNotificationsManager.spec.js index e01e03ca6..63069229a 100644 --- a/test/cypress/integration/workerNotificationsManager.spec.js +++ b/test/cypress/integration/workerNotificationsManager.spec.js @@ -15,9 +15,9 @@ describe('WorkerNotificationsManager', () => { it('should check the unsubscription has been saved and subscribe to other one', () => { 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-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'); });