#8582 - test: e2e monitorTicket #1391

Merged
jsegarra merged 51 commits from e2e_monitor into dev 2025-04-15 21:04:49 +00:00
1 changed files with 10 additions and 1 deletions
Showing only changes of commit ee4eafc639 - Show all commits

View File

@ -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) => {