bcgov / MOH-PPPP-Enrolment

Apache License 2.0
1 stars 0 forks source link

Bug fix: Add special character filtering #121

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 new filterSpecialChar() function to the API service --apply new function to freeform fields in Pay Patient and Pay Practitioner (unit number, street number, street name, city, notes) --add cypressID to notes fields to aid with testing --add cypress tests with restricted characters to aid with testing --update unit testing to check that restricted characters are removed --fixed unit testing bug that caused incorrect format in Pay Practitioner test

***push with corrected dates

Additional Notes:

Sorry about the formatting changes in the Pay Patient section. I thought I caught those before merging in the first time, but apparently not.