This commit is contained in:
parent
5dd508c559
commit
2bc2217406
|
@ -14,6 +14,7 @@ describe('WorkerPit', () => {
|
||||||
const adoptionYearInput = '[data-cy="Adoption Year_input"]';
|
const adoptionYearInput = '[data-cy="Adoption Year_input"]';
|
||||||
const adoptionYear = '2004';
|
const adoptionYear = '2004';
|
||||||
const saveRelative = '[data-cy="workerPitRelativeSaveBtn"]';
|
const saveRelative = '[data-cy="workerPitRelativeSaveBtn"]';
|
||||||
|
const savePIT = '#st-actions > .q-btn-group > .q-btn--standard';
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.viewport(1920, 1080);
|
cy.viewport(1920, 1080);
|
||||||
|
@ -26,7 +27,7 @@ describe('WorkerPit', () => {
|
||||||
cy.get(childPensionInput).type(childPension);
|
cy.get(childPensionInput).type(childPension);
|
||||||
cy.get(spouseNifInput).type(spouseNif);
|
cy.get(spouseNifInput).type(spouseNif);
|
||||||
cy.get(spousePensionInput).type(spousePension);
|
cy.get(spousePensionInput).type(spousePension);
|
||||||
cy.saveCard();
|
cy.get(savePIT).click();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('delete relative', () => {
|
it('delete relative', () => {
|
||||||
|
|
Loading…
Reference in New Issue