Skip to content

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

  1. Confirm all three records start owned by the org owner. Expected: the User column shows the owner on all three rows.
  2. Tick the selection checkbox on all three rows. Expected: the floating bar shows "3 selected".
  3. Open the bulk-edit modal via the pencil action.
  4. Set Project → Replace and pick the first record's project (reveals the User field).
  5. Set User → Replace and pick the second (member) user.
  6. Click Save. Expected: "Success" popup appears.
  7. Inspect all three rows. Expected: the User column shows the member user on all three rows.
  • Spec: playwright/tests/integration/timerecord.spec.ts (describe "Timerecord - Bulk edit")