638 — Bulk replace project (cascades client) on selected time records¶
Description¶
Verifies that selecting multiple time records and bulk-editing the Project field with the Replace action applies the chosen project to every selected record, and that the Client column follows the new project.
Preconditions¶
- Signed in to a freshly seeded test organization.
- Three time records seeded via the GraphQL API, each on a different client/project/task.
- Time Records page open in the Reports view.
Steps¶
- Confirm the three records start on different projects. Expected: all three seeded project titles appear in the Project column.
- Tick the selection checkbox on all three rows. Expected: the floating bar shows "3 selected".
- Open the bulk-edit modal via the pencil action.
- Set Project → Replace and pick the first record's project.
- Click Save. Expected: "Success" popup appears.
- Inspect all three rows. Expected: Project equals the chosen project on all three rows, and Client equals that project's client on all three rows.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(describe "Timerecord - Bulk edit")