Skip to content

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

  1. Confirm the three records start on different projects. Expected: all three seeded project titles appear in the Project column.
  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 ProjectReplace and pick the first record's project.
  5. Click Save. Expected: "Success" popup appears.
  6. 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.
  • Spec: playwright/tests/integration/timerecord.spec.ts (describe "Timerecord - Bulk edit")