refs #7529 create WorkerPIT #442

Merged
carlossa merged 22 commits from 7529-workerPIT into dev 2024-11-25 13:05:33 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 2bc2217406 - Show all commits

View File

@ -14,6 +14,7 @@ describe('WorkerPit', () => {
const adoptionYearInput = '[data-cy="Adoption Year_input"]';
const adoptionYear = '2004';
const saveRelative = '[data-cy="workerPitRelativeSaveBtn"]';
const savePIT = '#st-actions > .q-btn-group > .q-btn--standard';
beforeEach(() => {
cy.viewport(1920, 1080);
@ -26,7 +27,7 @@ describe('WorkerPit', () => {
cy.get(childPensionInput).type(childPension);
cy.get(spouseNifInput).type(spouseNif);
cy.get(spousePensionInput).type(spousePension);
cy.saveCard();
cy.get(savePIT).click();
});
it('delete relative', () => {