Skip to content

639 — Bulk replace project and task on selected time records

Description

Verifies that bulk-editing applies a replaced Project and Task to every selected record. The task picker is scoped to the chosen project, so the project is set first within the same modal.

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 tasks. Expected: all three seeded task titles appear in the Task 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 Project → Replace and pick the first record's project.
  5. Set Task → Replace and pick the first record's task (now listed under that project).
  6. Click Save. Expected: "Success" popup appears.
  7. Inspect all three rows. Expected: Project and Task equal the chosen values on all three rows.
  • Spec: playwright/tests/integration/timerecord.spec.ts (describe "Timerecord - Bulk edit")