285 — should create two rates and bulk delete them¶
Description¶
Verifies the bulk-delete flow: selecting all rates via the header checkbox and moving them to trash empties the 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¶
- Create a first fully-filled rate (rate A) and Save. Expected: a "Created" toast appears and the list shows 1 rate.
- Create a second fully-filled rate (rate B, without a team) and Save. Expected: a "Created" toast appears and the list shows 2 rates.
- Click Select all in the list header. Expected: the bulk-action toolbar reports "2" selected items.
- Click Move selected to trash. Expected: a bulk-delete confirmation modal asks to confirm removal of the two rates.
- Confirm the modal. Expected: a "Moved to trash" toast appears and the active rates list shows 0 rates.
Related¶
- Spec:
playwright/tests/integration/hourlyRate.spec.ts(line 178)
Related¶
- Spec:
playwright/tests/integration/hourlyRate.spec.ts(line 178)