Skip to content

564 — Should distinguish billable vs non-billable as different rows

Description

Verifies that the Billable flag is part of a row's uniqueness key: an otherwise-identical row is accepted as a separate row when Billable is toggled on vs off.

Preconditions

  • Signed-in user on a fresh organization.
  • Timesheet is open on the current week (no client/project/task needed for this row).

Steps

  1. Click "Add row", set Billable to "On" (leave everything else blank), and save. Expected: "Created" toast, total rows = 1, and the row reports Billable = on.
  2. Click "Add row" again and set Billable to "On" again, then click Create. Expected: duplicate-row popup and total rows still 1.
  3. Without closing the modal, toggle Billable to "Off" and click Create. Expected: "Created" toast, total rows = 2, and the new row reports Billable = off.
  • Spec: playwright/tests/integration/timesheet.spec.ts (line 279)