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