UC100 (UC New)
This PR contains UC New or UC100, which allows a patient to cancel or edit a new appointment (aka requesting a similar one based off of the past details).
Created:
- The ability for the patient to cancel an existing appointment
- The ability for a patient to reschedule an existing appointment (form is pre-populated with current information)
- Additional unit tests for canceling and editing appointments
- Selenium tests
To test in iTrust:
- Log in as a patient
- Click on
Appointments
menu tab, and click onView/Edit Appointments
- Try testing with the new
Edit
andCancel Appointment
buttons.
- Please note that it would not make sense for the patient to have the ability to edit their appointment details without approval from a HCP
To run the tests, do the following:
- First, run
mvn install -DskipTests
to build and deploy the website (this will ensure that the selenium tests work as expected) - Run
mvn test -Dtest=EditApptPatientActionTest
andmvn test -Dtest=CancelApptPatientActionTest
to run the unit tests - Run
mvn test -Dtest=EditApptPatientTest
to run the selenium tests