fixes #4797 Seccion Worker/Notification #51

Merged
alexandre merged 23 commits from 4797-worker-notification-selector into dev 2023-05-15 09:42:17 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit f53745f1f7 - Show all commits
test/cypress/integration

View File

@ -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');
});