530 — should set duration to 3h 5min via clock element¶
Description¶
Verifies that typing 3 h 5 min into the Duration clock control of an open time record (Table view, opened via footer Create) keeps the start time anchored and shifts the end time to start + 3:05, with both the worked and billable durations reading 3:05 (and the end date rolling to tomorrow if the new end crosses midnight).
Preconditions¶
- Signed in to a seeded test organization.
- Time Records page open in the Table view.
Steps¶
- Click Create time record from the footer and switch to Detailed view. Capture the prefilled start time.
- Click the Duration clock and enter
3hours5minutes via the inputs, press Escape. Expected: billable duration is 3:05. - Expected: start date is today, end date is today (or tomorrow if start + 3:05 crosses midnight), start time still equals the captured value, end time equals start time + 3:05, and both duration and billable duration read 3:05.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 611)