Skip to content

283 — should create rate and archive it

Description

Verifies that an hourly rate can be archived from its row action, with confirmation modal and toast, and that the archived rate is no longer shown in the active list.

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 fully-filled rate with a random amount and Save. Expected: a "Created" toast appears and the list shows 1 rate.
  2. In that row, click Archive. Expected: an archive confirmation modal opens.
  3. Confirm the archive action in the modal. Expected: an "Archived" toast appears and the active rates list now shows 0 rates.
  • Spec: playwright/tests/integration/hourlyRate.spec.ts (line 155)
  • Spec: playwright/tests/integration/hourlyRate.spec.ts (line 155)