refs #7529 create WorkerPIT #442
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in New Issue