642 — Bulk replace user with a project member on selected time records¶
Description¶
Verifies that bulk-editing the User field replaces the assignee on every selected record. The User field only renders once a project value is chosen, and its options are scoped to that project's members — so a second user is added as a member of the target project first.
Preconditions¶
- Signed in to a freshly seeded test organization.
- Three time records seeded via the GraphQL API, owned by the org owner.
- A second user created and added as a member of the first record's project.
- Time Records page open in the Reports view.
Steps¶
- Confirm all three records start owned by the org owner. Expected: the User column shows the owner on all three rows.
- 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 (reveals the User field).
- Set User → Replace and pick the second (member) user.
- Click Save. Expected: "Success" popup appears.
- Inspect all three rows. Expected: the User column shows the member user on all three rows.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(describe "Timerecord - Bulk edit")