This commit is contained in:
parent
8a3df43684
commit
f53745f1f7
|
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue