From 095c1f477f376bf03e6b9de8a484b52be069ec97 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 22 Nov 2024 07:34:39 +0100 Subject: [PATCH] fix: refs #7529 add save --- test/cypress/integration/worker/workerPit.spec.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/cypress/integration/worker/workerPit.spec.js b/test/cypress/integration/worker/workerPit.spec.js index 8b7c53bf8..8e8514193 100644 --- a/test/cypress/integration/worker/workerPit.spec.js +++ b/test/cypress/integration/worker/workerPit.spec.js @@ -21,12 +21,13 @@ describe('WorkerPit', () => { cy.visit(`/#/worker/1107/pit`); }); - // it('complete PIT', () => { - // cy.get(familySituationInput).type(familySituation); - // cy.get(childPensionInput).type(childPension); - // cy.get(spouseNifInput).type(spouseNif); - // cy.get(spousePensionInput).type(spousePension); - // }); + it('complete PIT', () => { + cy.get(familySituationInput).type(familySituation); + cy.get(childPensionInput).type(childPension); + cy.get(spouseNifInput).type(spouseNif); + cy.get(spousePensionInput).type(spousePension); + cy.saveCard(); + }); it('delete relative', () => { cy.get(addRelative).click();