Skip to content

Commit

Permalink
feat(DTFS2-7781): add eligibility page to amendment journeys
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Roberts committed Jan 29, 2025
1 parent c0aa1c4 commit 31227b7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ context('Amendments - Change both cover end date and facility value - full journ
cy.clickContinueButton();

cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/effective-date`));
cy.completeDateFormFields({ idPrefix: 'effective-from' });
cy.clickContinueButton();

// TODO DTFS2-7524: add steps for effective from date
cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/check-your-answers`));

// TODO DTFS2-7519: add steps for check your answer page
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ context('Amendments - Change cover end date with bank review date - full journey
cy.clickContinueButton();

cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/effective-date`));
cy.completeDateFormFields({ idPrefix: 'effective-from' });
cy.clickContinueButton();

// TODO DTFS2-7524: add steps for effective from date
cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/check-your-answers`));

// TODO DTFS2-7519: add steps for check your answer page
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ context('Amendments - Change cover end date with facility end date - full journe
cy.clickContinueButton();

cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/effective-date`));
cy.completeDateFormFields({ idPrefix: 'effective-from' });
cy.clickContinueButton();

// TODO DTFS2-7524: add steps for effective from date
cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/check-your-answers`));

// TODO DTFS2-7519: add steps for check your answer page
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ context('Amendments - change facility value - full journey', () => {
cy.clickContinueButton();

cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/effective-date`));
cy.completeDateFormFields({ idPrefix: 'effective-from' });
cy.clickContinueButton();

// TODO DTFS2-7524: add steps for effective from date
cy.url().should('eq', relative(`/gef/application-details/${dealId}/facilities/${facilityId}/amendments/${amendmentId}/check-your-answers`));

// TODO DTFS2-7519: add steps for check your answer page
});
Expand Down

0 comments on commit 31227b7

Please sign in to comment.