Please check if the PR fulfills these requirements:
[X] After these changes, the app was run and still works as expected
[X] Tests for these changes were added (if applicable)
[X] All existing unit tests were run and still pass
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.
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.