#7119 add VehicleList page and routing configuration #1129
|
@ -23,11 +23,14 @@ describe('WorkerPit', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('complete PIT', () => {
|
it('complete PIT', () => {
|
||||||
cy.get(familySituationInput).type(familySituation);
|
cy.intercept('GET', /\/api\/WorkerIrpfs./).as('irpf');
|
||||||
cy.get(childPensionInput).type(childPension);
|
cy.wait('@irpf').then(() => {
|
||||||
cy.get(spouseNifInput).type(spouseNif);
|
cy.get(familySituationInput).type(familySituation);
|
||||||
cy.get(spousePensionInput).type(spousePension);
|
cy.get(childPensionInput).type(childPension);
|
||||||
cy.get(savePIT).click();
|
cy.get(spouseNifInput).type(spouseNif);
|
||||||
|
cy.get(spousePensionInput).type(spousePension);
|
||||||
|
cy.get(savePIT).click();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('complete relative', () => {
|
it('complete relative', () => {
|
||||||
|
|
Loading…
Reference in New Issue