640 — Bulk replace labels on selected time records¶
Description¶
Verifies that bulk-editing the Labels field with the Replace action sets the chosen labels on every selected record (overwriting whatever labels they had before).
Preconditions¶
- Signed in to a freshly seeded test organization.
- Three labels (label1, label2, label3) already exist.
- Three time records seeded via the GraphQL API (no labels initially).
- Time Records page open in the Reports view.
Steps¶
- 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 Labels → Replace and pick label1 and label2.
- Click Save. Expected: "Success" popup appears.
- Inspect all three rows. Expected: the Labels column shows label1 and label2 on all three rows.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(describe "Timerecord - Bulk edit")