Skip to content

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

  1. Set Default time record duration to the chosen value (either "45 minutes" or "4 hour").
  2. Click Save. Expected: "Updated" popup appears.
  3. Reload the page.
  4. Click Create time record from the footer.
  5. Expected: the new record's Duration prefills to "00:45" for the 45-minute case, or "04:00" for the 4-hour case.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 1246)