From f53745f1f732bf5584f2a7c8619c992e9c7cab3f Mon Sep 17 00:00:00 2001 From: alexandre Date: Wed, 10 May 2023 14:24:47 +0200 Subject: [PATCH] refs #4797 fixing e2e --- test/cypress/integration/workerNotificationsManager.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); });