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