Skip to content

527 — should create + edit client from ${variant}

Description

Verifies that a saved time record (Table view) can be edited to attach a client via both entry points — opening the modal by double-click and using the row's inline edit action — and that the Client column shows the new value after save.

Preconditions

  • Signed in to a seeded test organization.
  • Time Records page open in the Table view.
  • A client (seeded via the stopwatch fixture) exists.

Steps

  1. Click Create time record, toggle Billable off, and click Create. Expected: "Created" popup appears, the table shows 1 record, and Client reads "-".
  2. Open the record via the chosen variant (double-click row, or click inline Edit).
  3. Set Client to the seeded client name.
  4. Click Save. Expected: "Updated" popup appears.
  5. Expected: the row's Client column now displays the seeded client name.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 527)