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.):
--Introduces logic gate to the ReviewPage.vue for both Pay Patient and Pay Practitioner. If the API response contains a plan reference number in it (eg. if the database is down but the response is still processed by MAXImage), the page redirects to SubmissionPage instead of SubmissionErrorPage.
--Updates tests accordingly and makes a few minor fixes to test names as well.
Additional Notes:
--This approach was tested with Denis Brake, who manually turned off the database for me so I could evaluate the redirection code. I did this for both Pay Patient and Pay Practitioner successfully. Unit and E2E tests all pass.
--Completes the work required by ticket CLMWEBDE-94
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.):
--Introduces logic gate to the ReviewPage.vue for both Pay Patient and Pay Practitioner. If the API response contains a plan reference number in it (eg. if the database is down but the response is still processed by MAXImage), the page redirects to SubmissionPage instead of SubmissionErrorPage. --Updates tests accordingly and makes a few minor fixes to test names as well.
Additional Notes:
--This approach was tested with Denis Brake, who manually turned off the database for me so I could evaluate the redirection code. I did this for both Pay Patient and Pay Practitioner successfully. Unit and E2E tests all pass. --Completes the work required by ticket CLMWEBDE-94