bcgov / MOH-PPPP-Enrolment

Apache License 2.0
1 stars 0 forks source link

Phn mod check nine #147

Closed stephanieharrison-maximus closed 2 years ago

stephanieharrison-maximus commented 2 years ago

Please check if the PR fulfills these requirements:

Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):

--Add "check to make sure first digit of phn is a 9" validator to helpers --Import phnNineValidator to main form, add to the list of existing phn validators (pay patient + pay prac) --Change validation error to check for phnNineValidator (pay patient + pay prac) --Change validation error message language (pay patient + pay prac) --Add validator-specific testing --Add main form page testing to make sure it doesn't proceed if there's a validator error

Additional Notes:

Was NOT able to run the end-to-end tests, as these appear to have broken in commit 7abe64d7bdee863721080636cd7fda6d57965031.