-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPP-163, 164 Under 18 Redirection - Edit Journey #77
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logic looks good, just a question about a step on the amend journey, not sure what it is for. I've not gone through the tests in details
@@ -207,6 +212,10 @@ module.exports = { | |||
fields: ['amend-countersignatory-document-type'], | |||
next: '/confirm' | |||
}, | |||
'/birth-certificate': { | |||
fields: [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no fields on this step? Is this step used for these 2 tickets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@william-gu-hof This is just a placeholder route to validate the navigation. The page is not built yet.
No, this is only used in amend. new-renew /birth-certificate
route already exists so I didn't add that.
@@ -5,6 +5,9 @@ | |||
"name-on-licence": { | |||
"header": "What is your name on the licence?" | |||
}, | |||
"date-of-birth": { | |||
"header": "What is your date of birth?" | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What?
https://collaboration.homeoffice.gov.uk/jira/browse/EPP-163 - Amend - Edit Journey for DOB page
https://collaboration.homeoffice.gov.uk/jira/browse/EPP-164 - New & Renew - Edit Journey for DOB page
Why?
EPP-163 & EPP-164 are combined into a single PR because they are using the same behaviour and have same implementation logic. Grouping them together minimise redundant reviews, and duplicate code effort.
How?
New behaviour has been added to validate the date and redirect if required
Helper is created to verify the edit journey
Testing?
Local and branch testing
Screenshots (optional)
Anything Else? (optional)
Check list
here is an example commit