diff --git a/test/cypress/integration/monitor/monitorTicket.spec.js b/test/cypress/integration/monitor/monitorTicket.spec.js index c5d2c30a8..db94227c6 100644 --- a/test/cypress/integration/monitor/monitorTicket.spec.js +++ b/test/cypress/integration/monitor/monitorTicket.spec.js @@ -10,7 +10,7 @@ describe('Monitor Tickets Table', () => { cy.intercept('GET', '**/SalesMonitors/salesFilter*').as('filterRequest'); cy.openFilterPanel(); }); - it.only('should open new tab when ctrl+click on client link', () => { + it('should open new tab when ctrl+click on client link', () => { cy.intercept('GET', '**/SalesMonitors/salesFilter*').as('filterRequest'); // Mock window.open behavior since Cypress doesn't support multiple tabs @@ -228,6 +228,15 @@ describe('Monitor Tickets Table', () => { ).click(); cy.get('.summaryHeader').should('exist'); }); + + it.only('clear scopeDays', function () { + cy.get('[data-cy="Days onward_input"]').clear().type('2'); + cy.searchInFilterPanel(); + cy.get('.q-chip__content > span').should('have.text', '"2"'); + cy.get('[data-cy="Days onward_input"]').clear(); + cy.get('[data-cy="Nickname_input"]').clear(); + cy.get('.q-chip__content > span').should('have.text', '"0"'); + }); }); function requestParams(key, value, options = { inWhere: false, like: false }) { cy.wait('@filterRequest').then((interception) => {