As a user, I would like the option to choose appointment preference dates that I may be able to be seen by my provider.
As part of this story we want to:
Implement screen and transition rules for Choosing Date & Time preference
Acceptance Criteria
**Appt Date & Time Preference Screen**
_**Add Preference**_
1. - [ ] Verify when user selects First preference 'Add Preference' link the Calendar View Request appointment modal appears
2. - [ ] Verify if user selects Second preference 'Add Preference' link without having added a First preference that in line message X appears
3. - [ ] Verify if user selects Third preference 'Add Preference' link without having added a Second preference that in line message X appears
4. - [ ] Verify if user selects Continue without having selected at least one preference in line error message X appears
5. - [ ] Verify if user selects the Back button they are directed back to the previous screen
6. - [ ] Verify if user selects Cancel the Appointment Request Cancel snack bar is displayed
7. - [ ] Verify if user selects '?' help icon Appointment general help modal appears
_**Calendar View Request appointment modal appears**_
1. - [ ] Verify when the calendar modal displays it starts with the **current** month and only displays weekdays
2. - [ ] Verify the earliest date allowed for selection is 5 days after the current date
3. - [ ] Verify the latest date allowed for scheduling is 120 days after current date
4. - [ ] Verify when user selects available date they are able to choose preferred time of day options
5. - [ ] Verify if user selects a date, but does not select at least 1 preferred time and selects Apply that in line message X is displayed
6. - [ ] Verify if user selects a date, at least 1 preferred time, and selects Apply the calendar modal closes and user is directed back to the Date & Time Preference screen
Example:
Current Date = July 21, 2022
Earliest Date avail = July 26, 2022
Latest Date allowed = Nov 18, 2022
** Appt Date & Time Preference Screen**
Viewing/Editing
7. - [ ] Verify the applicable Preferred preference list item is updated with the appropriate information that was added on the Calendar view screen.
- Weekday, Month, Date, year (i.e. September 22, 2022) in the morning (8:00 AM - noon)
8. - [ ] Verify the user is able to edit the date & time preference by selecting 'Edit this preference' in which the user would be displayed with the calendar view with pre-selected dates.
9. - [ ] Verify if user added a second or third preference that they have the option to edit or remove the preference
**Accessibility Requirements**
- [ ] AC 1
- [ ] AC 2
- [ ] AC 3
## Notes & Open Questions
- Dependencies/Roadblocks:
- Any internal/external dependencies?
- Test accounts needed?
- Does this require QA?
- Dev Notes:
## Ticket Checklist
- [ ] Acceptance criteria defined
- [X] Labels added (front-end, back-end, feature)
- [X] Linked to an Epic
Description
As a user, I would like the option to choose appointment preference dates that I may be able to be seen by my provider.
As part of this story we want to:
Acceptance Criteria
**Appt Date & Time Preference Screen** _**Add Preference**_ 1. - [ ] Verify when user selects First preference 'Add Preference' link the Calendar View Request appointment modal appears 2. - [ ] Verify if user selects Second preference 'Add Preference' link without having added a First preference that in line message X appears 3. - [ ] Verify if user selects Third preference 'Add Preference' link without having added a Second preference that in line message X appears 4. - [ ] Verify if user selects Continue without having selected at least one preference in line error message X appears 5. - [ ] Verify if user selects the Back button they are directed back to the previous screen 6. - [ ] Verify if user selects Cancel the Appointment Request Cancel snack bar is displayed 7. - [ ] Verify if user selects '?' help icon Appointment general help modal appears _**Calendar View Request appointment modal appears**_ 1. - [ ] Verify when the calendar modal displays it starts with the **current** month and only displays weekdays 2. - [ ] Verify the earliest date allowed for selection is 5 days after the current date 3. - [ ] Verify the latest date allowed for scheduling is 120 days after current date 4. - [ ] Verify when user selects available date they are able to choose preferred time of day options 5. - [ ] Verify if user selects a date, but does not select at least 1 preferred time and selects Apply that in line message X is displayed 6. - [ ] Verify if user selects a date, at least 1 preferred time, and selects Apply the calendar modal closes and user is directed back to the Date & Time Preference screen Example: Current Date = July 21, 2022 Earliest Date avail = July 26, 2022 Latest Date allowed = Nov 18, 2022 ** Appt Date & Time Preference Screen** Viewing/Editing 7. - [ ] Verify the applicable Preferred preference list item is updated with the appropriate information that was added on the Calendar view screen. - Weekday, Month, Date, year (i.e. September 22, 2022) in the morning (8:00 AM - noon) 8. - [ ] Verify the user is able to edit the date & time preference by selecting 'Edit this preference' in which the user would be displayed with the calendar view with pre-selected dates. 9. - [ ] Verify if user added a second or third preference that they have the option to edit or remove the preference **Accessibility Requirements** - [ ] AC 1 - [ ] AC 2 - [ ] AC 3 ## Notes & Open Questions - Dependencies/Roadblocks: - Any internal/external dependencies? - Test accounts needed? - Does this require QA? - Dev Notes: ## Ticket Checklist - [ ] Acceptance criteria defined - [X] Labels added (front-end, back-end, feature) - [X] Linked to an Epic