bcgov / MOH-PPPP-Enrolment

Apache License 2.0
1 stars 0 forks source link

Feature/Bug: Add Start New Form button, fix form reset bug #133

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.):

--Fix reset form bug (add set facility number commit to store modules to ensure that field gets cleared --Fix broken tests that happened on deploy-phase-2 merge (birthDatePastValidator now checks for CSR, birth date validator fix tests added, dayTo now sets to null in tests where dayFrom is changed to prevent real life date-based test failures) --Add Start New Form button to pay patient and pay practitioner --Add end-to-end tests to verify Start New Form button functionality

Additional Notes:

All unit and e2e tests pass, no weird console logs