Calendar
Create custom event#
- Navigate to
Calendar. - Observe that the default tab is
list. - Tap the Floating Action Button (FAB).
- Verify that the
create custom eventmodal is presented. - Populate title and note and select date, reminder and time.
- Tap cancel and verify that a
you have unsaved changesmodal is presented. - Tap no, then save.
- Verify navigation back to
calendar list. - Verify presentation of a
event createdtoast. - Verify that a custom event has been added beneath the today group title.
- Navigate to the
datetab. - Verify that a small dot is presented beneath the calendar date.
- Tap today's date and verify that the event is presented beneath the calendar.
- Tap on the event and verify navigation to
event details.
Edit custom event#
- Navigate to
Calendar. - Tap on the newly created custom event.
- Tap edit and modify title, note, date, time and reminder.
- Tap save and verify navigation back to
event details. - Verify updated event details.
- Tap go back.
- Verify updated event details both in the calendar
listanddatetabs. - Verify that the event has been moved to a different date.
View appointment#
- From Helseboka PRO, create an appointment one week from now.
- Navigate to
Calendar. - Verify the presentation of the newly created appointment.
- Tap the appointment.
- Verify appointment details.
Reschedule appointment#
- Navigate to the newly created appointment.
- Tap
reschedule appointment. - Verify unavailable dates presented as disabled and not selectable.
- Select appointment date and time one week from original date.
- Tap
reschedule appointment. - Navigate back and verify new date.
- Navigate back and verify that the appointment has moved to the correct date.
- Navigate to
calendar list. - Verify that the appointment date and small calendar dot has moved to the correct date.
Cancel appointment#
- Navigate to the newly created appointment.
- Tap
cancel appointment. - Verify that the appointment has been cancelled.
- Navigate back to
calendar listand verify that the appointment is marked as cancelled.
View appointment (no reschedule)#
- From Helseboka PRO, create an appointment before today's date and time.
- Navigate to
calendar listand verify that the appointment is presented. - Tap on the appointment.
- Verify message indicating the appointment can't be rescheduled.
Filter calendar#
- Navigate to
Calendar. - Tap the filter button in the header.
- Tap the appointment chip and show result.
- Verify presentation of appointments only and an appointment filter chip beneath tabs.
- Remove the filter chip and verify the presentation of all calendar events.
- Tap on the filter button again.
- Tap the date list item and select a date range containing at least one calendar event.
- Tap save and verify presentation of the expected calendar events.
Delete custom event#
- Navigate to
Calendar. - Tap the newly created custom event.
- Tap
delete eventand confirm deletion. - Verify navigation back to
Calendar, a toast confirmation and the removal of the event.
Next