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