fix: refs #7529 fix workerPit e2e
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-11-25 13:49:01 +01:00
parent 5dd508c559
commit 2bc2217406
1 changed files with 2 additions and 1 deletions

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', () => {