Skip to content

282 — should create rate and edit it

Description

Verifies that an existing hourly rate can be edited — its amount is updated and the list row reflects the new value with an "Updated" toast.

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 (rate A) and Save. Expected: a "Created" toast appears and the list shows 1 rate.
  2. Click the row's Edit action for rate A. Expected: the edit dialog opens pre-populated with rate A's values.
  3. Change the Rate amount to a new random value (rate B) and click Save. Expected: an "Updated" toast appears.
  4. Inspect the row. Expected: the Rate column now shows the new amount (rate B) and the row still represents the same record.
  • Spec: playwright/tests/integration/hourlyRate.spec.ts (line 142)
  • Spec: playwright/tests/integration/hourlyRate.spec.ts (line 142)