From 16531210e939e67c89e5684e2c27cd046d4f748e Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 27 Feb 2025 12:10:35 +0100 Subject: [PATCH] fix: refs #8600 fixed calendar e2e --- test/cypress/integration/client/clientFiscalData.spec.js | 2 +- test/cypress/integration/zone/zoneCalendar.spec.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/test/cypress/integration/client/clientFiscalData.spec.js b/test/cypress/integration/client/clientFiscalData.spec.js index 6d19290b5..58d2d956f 100644 --- a/test/cypress/integration/client/clientFiscalData.spec.js +++ b/test/cypress/integration/client/clientFiscalData.spec.js @@ -5,7 +5,7 @@ describe('Client fiscal data', () => { cy.login('developer'); cy.visit('#/customer/1107/fiscal-data'); }); - xit('Should change required value when change customer', () => { + it('Should change required value when change customer', () => { cy.get('.q-card').should('be.visible'); cy.dataCy('sageTaxTypeFk').filter('input').should('not.have.attr', 'required'); cy.get('#searchbar input').clear(); diff --git a/test/cypress/integration/zone/zoneCalendar.spec.js b/test/cypress/integration/zone/zoneCalendar.spec.js index 7c69f1ce9..7eb27fd2a 100644 --- a/test/cypress/integration/zone/zoneCalendar.spec.js +++ b/test/cypress/integration/zone/zoneCalendar.spec.js @@ -41,11 +41,9 @@ describe('ZoneCalendar', () => { }); it('should exclude an event', () => { - cy.visit(`/#/zone/2/events`); + cy.visit(`/#/zone/1/events`); cy.get('.q-mb-sm > .q-radio__inner').click(); - cy.get( - '.q-current-day > .q-calendar-month__day--content > [data-cy="ZoneCalendarDay"]', - ).click(); + cy.get('.q-current-day > .q-calendar-month__day--label__wrapper').click(); cy.get('.q-mt-lg > .q-btn--standard').click(); cy.get( '.q-current-day > .q-calendar-month__day--content > [data-cy="ZoneCalendarDay"]',