555 — should render duration in calendar tooltip in decimal hours¶
Description¶
Verifies that with the org-wide formatting set to decimal-hour duration and 12-hour time, a 10-hour time record renders in the calendar with the formatted text "08:30 AM - 06:30 PM [10.00h]" and the day's tracked-time chip shows "10.00h".
Preconditions¶
- Signed in to a seeded test organization.
- One time record seeded for today, 08:30–18:30 (TR01, 10 h).
- Organization duration format set to decimal hours and time format set to 12-hour via the API.
Steps¶
- Reload the page so the new org formatting takes effect.
- Switch to the Calendar view.
- Expected: the seeded event's label reads "08:30 AM - 06:30 PM [10.00h]" (12-hour time with leading zero, duration in 2-decimal hours).
- Expected: today's tracked-time summary chip reads "10.00h".
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 1273)