Booking System Tests

Runs 11 automated checks against live Google Calendar to verify bookings are placed accurately. Test events are created and cleaned up automatically.

What gets tested

  • T1Calendar API connectivity
  • T2Events land on the correct calendar
  • T3freeBusy API reflects created events
  • T4NZ timezone stored at correct UTC time
  • T5Overlapping bookings are rejected
  • T630-min cleanup buffer blocks subsequent slots
  • T7Booking immediately after cleanup is allowed
  • T8End-of-day boundary (19:00 NZ) enforced
  • T9Full end-to-end booking via createBooking
  • T10New booking appears in availability check
  • T11Double-booking same slot is prevented