Skip to content

286 — should create two rates and bulk archive them

Description

Verifies the bulk-archive flow: selecting all rates via the header checkbox and archiving them removes them from the active list in a single confirmed action.

Preconditions

  • Signed-in tenant owner with a fresh organization.
  • Seeded labels, team, client, project and task ready to be referenced.
  • The Hourly Rates page is open.

Steps

  1. Create a first fully-filled rate (rate A) and Save. Expected: a "Created" toast appears and the list shows 1 rate.
  2. Create a second fully-filled rate (rate B, without a team) and Save. Expected: a "Created" toast appears and the list shows 2 rates.
  3. Click Select all in the list header. Expected: the bulk-action toolbar reports "2" selected items.
  4. Click Archive selected. Expected: a bulk-archive confirmation modal asks to confirm archiving of the two rates.
  5. Confirm the modal. Expected: an "Archived" toast appears and the active rates list shows 0 rates.
  • Spec: playwright/tests/integration/hourlyRate.spec.ts (line 197)
  • Spec: playwright/tests/integration/hourlyRate.spec.ts (line 197)