553 — should set default duration to ${c.setting}¶
Description¶
Verifies the Calendar settings → Default time record duration option: choosing "45 minutes" or "4 hour" updates the duration that the new-time-record modal prefills (00:45 or 04:00 respectively) and the setting persists across reloads.
Preconditions¶
- Signed in to a seeded test organization.
- Time tracking settings open on the Calendar settings tab.
- One sample time record exists.
Steps¶
- Set Default time record duration to the chosen value (either "45 minutes" or "4 hour").
- Click Save. Expected: "Updated" popup appears.
- Reload the page.
- Click Create time record from the footer.
- Expected: the new record's Duration prefills to "00:45" for the 45-minute case, or "04:00" for the 4-hour case.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 1246)