Calendar

Create custom event#

  1. Navigate to Calendar.
  2. Observe that the default tab is list.
  3. Tap the Floating Action Button (FAB).
  4. Verify that the create custom event modal is presented.
  5. Populate title and note and select date, reminder and time.
  6. Tap cancel and verify that a you have unsaved changes modal is presented.
  7. Tap no, then save.
  8. Verify navigation back to calendar list.
  9. Verify presentation of a event created toast.
  10. Verify that a custom event has been added beneath the today group title.
  11. Navigate to the date tab.
  12. Verify that a small dot is presented beneath the calendar date.
  13. Tap today's date and verify that the event is presented beneath the calendar.
  14. Tap on the event and verify navigation to event details.

Edit custom event#

  1. Navigate to Calendar.
  2. Tap on the newly created custom event.
  3. Tap edit and modify title, note, date, time and reminder.
  4. Tap save and verify navigation back to event details.
  5. Verify updated event details.
  6. Tap go back.
  7. Verify updated event details both in the calendar list and date tabs.
  8. Verify that the event has been moved to a different date.

View appointment#

  1. From Helseboka PRO, create an appointment one week from now.
  2. Navigate to Calendar.
  3. Verify the presentation of the newly created appointment.
  4. Tap the appointment.
  5. Verify appointment details.

Reschedule appointment#

  1. Navigate to the newly created appointment.
  2. Tap reschedule appointment.
  3. Verify unavailable dates presented as disabled and not selectable.
  4. Select appointment date and time one week from original date.
  5. Tap reschedule appointment.
  6. Navigate back and verify new date.
  7. Navigate back and verify that the appointment has moved to the correct date.
  8. Navigate to calendar list.
  9. Verify that the appointment date and small calendar dot has moved to the correct date.

Cancel appointment#

  1. Navigate to the newly created appointment.
  2. Tap cancel appointment.
  3. Verify that the appointment has been cancelled.
  4. Navigate back to calendar list and verify that the appointment is marked as cancelled.

View appointment (no reschedule)#

  1. From Helseboka PRO, create an appointment before today's date and time.
  2. Navigate to calendar list and verify that the appointment is presented.
  3. Tap on the appointment.
  4. Verify message indicating the appointment can't be rescheduled.

Filter calendar#

  1. Navigate to Calendar.
  2. Tap the filter button in the header.
  3. Tap the appointment chip and show result.
  4. Verify presentation of appointments only and an appointment filter chip beneath tabs.
  5. Remove the filter chip and verify the presentation of all calendar events.
  6. Tap on the filter button again.
  7. Tap the date list item and select a date range containing at least one calendar event.
  8. Tap save and verify presentation of the expected calendar events.

Delete custom event#

  1. Navigate to Calendar.
  2. Tap the newly created custom event.
  3. Tap delete event and confirm deletion.
  4. Verify navigation back to Calendar, a toast confirmation and the removal of the event.

Next

Diagnoses

me