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