562 — Should reject creating rows with duplicate configuration¶
Description¶
Verifies that the timesheet refuses to create a second row whose Client + Project + Task + Label + Billable combination matches an existing row in the same week.
Preconditions¶
- Signed-in user on a fresh organization.
- One seeded client, one seeded project, at least two tasks, one label.
- Timesheet is open on the current week.
Steps¶
- Add a row with Client + Project + Task + Label + Billable and save. Expected: total rows = 1.
- Click "Add row" again and fill in the exact same Client + Project + Task + Label combination, then click Create. Expected: a duplicate-row warning popup appears and the timesheet still shows only 1 row (the duplicate was rejected).
Related¶
- Spec:
playwright/tests/integration/timesheet.spec.ts(line 247)