617 — should adjust end time when start date is moved after end¶
Description¶
Verifies that when the user moves the Start date of an open time record to a day later than the current End date, the form snaps both dates onto the picked day and preserves the original times and duration.
Preconditions¶
- Signed in to a seeded test organization.
- Time Records page open in the Reports view.
Steps¶
- Click Create time record in the footer and switch to Detailed view. Expected: start/end dates are today, start time is "now − 1 h", end time is "now", and duration is 1:00.
- Click the Start date picker and choose a day 5 days from today.
- Expected: both start date and end date display the chosen day (today + 5).
- Expected: start time still equals "now − 1 h", end time still equals "now", and the duration is still 1:00.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 282)