Skip to content

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

Description

Verifies that a saved time record (Reports 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 pencil — and that the Client column reflects the new value after save.

Preconditions

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

Steps

  1. Click Create time record in the footer, then click Create. Expected: "Created" popup appears, the table shows 1 record, and its Client column reads "-".
  2. Open the record via the chosen variant (double-click on the row, or click the inline Edit icon).
  3. In the modal, set the Client to the seeded client.
  4. Click Save. Expected: "Updated" popup appears.
  5. Expected: the record's Client column now shows the seeded client name.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 151)