Skip to content

Test Plan: Calendar

Ben Bucksch edited this page Jul 1, 2025 · 3 revisions

This describes which situations we should test for our calendar app. These should be performed by a human tester. We can also additionally create unit tests for them, without UI, by creating the backend objects using the Event API and checking the output in appGlobal.calendarEvents, which the UI rendering is based on.

Simple personal events

Create and delete an event

  1. Create an event, with title, description with bold formatting (HTML), physical location, etc.
  2. Save
  3. -> It appears in the calendar, at the right time. In all calendar views: Dual view, list view etc.
  4. Open it
  5. Delete it
  6. -> It disappears entirely from the calendar

Reminder

  1. Create an event
  2. Set the time to now plus 11 minutes
  3. Set a reminder 10 minutes before the meeting, i.e. in 1 minute from now.
  4. Save
  5. Wait until 10 minutes before the meeting
  6. -> You should see a notification (e.g. from your OS), and hear a tone

Timezone

  1. Create an event
  2. Set the time to 16:00 local time
  3. Set the timezone to "Brazil"
  4. -> You should see the event in your calendar at 16:00

Recurring events

Create and delete recurring event

  1. Create an event, with daily recurrence
  2. Save
  3. -> It appears in the calendar, on the start date (only once at that time), and every day thereafter, for 2 years or more. In all calendar views: Dual view, list view etc.
  4. Open it
  5. Delete it
  6. -> It disappears entirely from the calendar

Single <-> Recurring

  1. Create a normal event, without recurrence
  2. Save
  3. -> It appears exactly once in the calendar
  4. Open it
  5. Change it to recurring weekly
  6. Save
  7. -> It appears in the calendar, on the start date (only once at that time), and every week thereafter, on the same weekday, for 2 years or more. In all calendar views: Dual view, list view etc.
  8. Open it
  9. Remove the recurrence
  10. Save
  11. -> It appears exactly once in the calendar

Recurrence patterns

Same as "Create and delete recurring event", but with different recurrence patterns:

  • Daily
  • Weekly
    • Every Tuesday
    • Tuesday and Thursday every week
    • Every 2 weeks, on Tuesday
  • Monthly
      1. of every month
    • Every second wednesday of the month
    • Every last Thursday of the month
  • Yearly
    • Every 11. November
    • Every 29. February, if it exists, otherwise every 28. February
    • Every 4 years on 2. Feb

Outgoing Invitations

Invite to a one-time meeting

In Mustang:

  1. Create an event
  2. Add your second email address as participant
  3. Add a physical location and an online meeting URL
  4. Add a description with bold formatting (HTML)
  5. [Send]

In the third party app:

  1. Check your second email address using a third-party application
  2. -> You should see the time, title, location, URL and description
  3. -> Ideally you see the bold formatting in the description. Possibly, you see only the plaintext version.
  4. Accept the invitation
  5. Check the calendar of the third-party app
  6. -> You should see the event at the right time, with title, location, URL and description
  7. -> Ideally you see the bold formatting in the description. Possibly, you see only the plaintext version.
  8. -> The third-party app should send an email with the Accepted participation status

In Mustang:

  1. Check the inbox
  2. Check the calendar event that you created
  3. -> The participant should show as "Confirmed"

In the third-party app:

  1. Change the invitation to Tentative, either: 17.a. ... in the email invitation 17.b. ... in the calendar event
  2. Check the calendar
  3. -> The event should show as "tentative" (depending on the app)
  4. -> The third-party app should send an email with the changed participation status

In Mustang:

  1. Check the inbox
  2. Check the calendar event that you created
  3. -> The participant should show as "Tentative"

Other status:

  1. Repeat steps 17 to 23 with status "Declined"
  2. -> Instead of Step 19: The event disappeared from the calendar
  3. -> Instead of Step 23: The participant should show as "Declined" (e.g. strike-through, red, "not coming" etc.) (depending on the app)

Invite to a recurring meeting

  1. Same as "Invite to a one-time meeting", but:
  2. Add recurrence weekly
  3. -> The recurrence pattern should be described in the invitation (depending on the app)
  4. -> You see the event appearing once every week

Invite with timezone

  1. Same as "Invite to a one-time meeting", but:
  2. Change the timezone to "Brazil". The time is set to 16:00 your local time.
  3. The recipient has timezone "Berlin".
  4. -> The recipient should see the invitation in his local time zone Berlin, and in the Brazil timezone.
  5. -> In the calendar, the recipient see the event appearing in his local time zone Berlin, not Brazil.

Protocols

Do the above tests with every calendar protocol:

  • Local calendar (Personal calendar)
  • CalDAV (should behave like local calendar)
  • JMAP (not yet implemented)
  • EWS
  • OWA
  • ActiveSync
  • MS Graph (not yet implemented)

For the remote calendars, when the step says to look at the calendar, confirm that all calendars match:

  1. Look at the local calendar in Mustang
  2. Then sync
  3. Look at the remove calendar in the web version of the calendar (e.g. Outlook Web Access, or similar)
  4. Look at the local calendar in Mustang again (after the sync)

If there's a discrepancy between them, that's a bug.

Also, note that the Exchange server sends the invitations on the server side, not Mustang.

Incoming Invitations

Same as Outgoing Invitations, just that the roles between Mustang and the third-party app are inversed: The third-party app invites, and Mustang receives the invitation and responds to it.

Protocols

As for Outgoing Invitations, test all protocols.

Also note that Exchange puts incoming invitations immediately into the calendar. This might depend on the sender.

Clone this wiki locally