281 — should create two rates and delete one¶
Description¶
Verifies that a single hourly rate can be moved to trash from its row action while another rate remains intact, including the confirmation modal and toast feedback.
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 with a random amount (rate A) and Save. Expected: a "Created" toast appears and the list shows 1 rate.
- Create a second fully-filled rate with a different random amount (rate B, without a team) and Save. Expected: a "Created" toast appears and the list shows 2 rates.
- In the row for rate B, click Move to trash. Expected: a confirmation modal asks to confirm deletion of the hourly rate.
- Confirm in the modal. Expected: a "Moved to trash" toast appears, rate B is removed and the list now shows 1 rate (rate A).
Related¶
- Spec:
playwright/tests/integration/hourlyRate.spec.ts(line 125)
Related¶
- Spec:
playwright/tests/integration/hourlyRate.spec.ts(line 125)