Skip to content

129 — should add time record

Description

Verifies on the personal Calendar that using the task card's "Add time record" action creates a new 1-hour billable time record on the calendar and the chip's tooltip shows the right values.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Three seeded time records (one per mutableData1/2/3 flow) already on today

Steps

  1. Click Current. Expected: the calendar shows 3 existing time records on today.
  2. Open mutableData1's task card and choose Add time record.
  3. Expected: the new-time-record modal pre-fills duration 01:00.
  4. Set the hourly Rate to 200 and click Save. Expected: the "Created" toast appears.
  5. Hover the newly created 01:00 chip on today. Expected: its tooltip shows the chosen start/end, duration 01:00 and billable 100.00%.
  6. Re-check the calendar count. Expected: there are now 4 time records on today.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 682)