From 522e900e550835310b3f853551671138c188b74c Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 26 Mar 2025 13:23:56 +0100 Subject: [PATCH] test: enable previously skipped tests in route and ticket list --- test/cypress/integration/route/routeExtendedList.spec.js | 7 +++---- test/cypress/integration/ticket/ticketList.spec.js | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/test/cypress/integration/route/routeExtendedList.spec.js b/test/cypress/integration/route/routeExtendedList.spec.js index fee8369e38a..fb2885f3581 100644 --- a/test/cypress/integration/route/routeExtendedList.spec.js +++ b/test/cypress/integration/route/routeExtendedList.spec.js @@ -118,8 +118,8 @@ describe('Route extended list', () => { cy.validateContent(selector, value); }); }); - // task https://redmine.verdnatura.es/issues/8814 - xit('Should clone selected route and add ticket', () => { + + it('Should clone selected route and add ticket', () => { cy.get(selectors.firstRowSelectCheckBox).click(); cy.get(selectors.cloneBtn).click(); cy.dataCy('Starting date_inputDate').type('01-01-2001'); @@ -146,8 +146,7 @@ describe('Route extended list', () => { cy.readFile(`${downloadsFolder}/${fileName}`).should('exist'); }); - // task https://redmine.verdnatura.es/issues/8814 - xit('Should mark as served the selected route', () => { + it('Should mark as served the selected route', () => { cy.get(selectors.lastRowSelectCheckBox).click(); cy.get(selectors.markServedBtn).click(); diff --git a/test/cypress/integration/ticket/ticketList.spec.js b/test/cypress/integration/ticket/ticketList.spec.js index fb6a1a641aa..5613a5854d6 100644 --- a/test/cypress/integration/ticket/ticketList.spec.js +++ b/test/cypress/integration/ticket/ticketList.spec.js @@ -1,5 +1,5 @@ /// -describe.skip('TicketList', () => { +describe('TicketList', () => { const firstRow = 'tbody.q-virtual-scroll__content tr:nth-child(1)'; beforeEach(() => { @@ -35,8 +35,7 @@ describe.skip('TicketList', () => { cy.get('.summaryBody').should('exist'); }); - // task https://redmine.verdnatura.es/issues/8779 - xit('filter client and create ticket', () => { + it('filter client and create ticket', () => { cy.intercept('GET', /\/api\/Tickets\/filter/).as('ticketSearchbar'); searchResults(); cy.wait('@ticketSearchbar');