This commit is contained in:
parent
03bef91066
commit
ceb0c1fc75
|
@ -23,14 +23,11 @@ describe('WorkerPit', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('complete PIT', () => {
|
it('complete PIT', () => {
|
||||||
cy.intercept('GET', /\/api\/WorkerIrpfs./).as('irpf');
|
cy.get(familySituationInput).type(familySituation);
|
||||||
cy.wait('@irpf').then(() => {
|
cy.get(childPensionInput).type(childPension);
|
||||||
cy.get(familySituationInput).type(familySituation);
|
cy.get(spouseNifInput).type(spouseNif);
|
||||||
cy.get(childPensionInput).type(childPension);
|
cy.get(spousePensionInput).type(spousePension);
|
||||||
cy.get(spouseNifInput).type(spouseNif);
|
cy.get(savePIT).click();
|
||||||
cy.get(spousePensionInput).type(spousePension);
|
|
||||||
cy.get(savePIT).click();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('complete relative', () => {
|
it('complete relative', () => {
|
||||||
|
|
Loading…
Reference in New Issue