278 — should create new full filled rate¶
Description¶
Verifies that a fully populated hourly rate can be created and that every chosen field — person, labels, team, client, project, task, amount and creation date — is shown correctly in the Hourly Rates list.
Preconditions¶
- Signed-in tenant owner with a fresh organization.
- Three seeded labels, one seeded team, plus a client, project and task created by the stopwatch flow.
- The Hourly Rates page is open.
Steps¶
- Click Add rate to open the new-rate form. Expected: the add-rate dialog opens with empty fields.
- Pick the current user as the Person, select all three seeded labels, choose the seeded client, project and task, pick the seeded team, and enter a random amount (between 100 and 10000) in the Rate field. Expected: all selections are accepted by the form.
- Click Save. Expected: a "Created" success toast appears.
- Inspect the new row in the rates list. Expected: the row shows the three labels, the owner's name as Person, the team name, the client name, the project title, the task title, the entered amount, and a Created-at timestamp; the list contains exactly 1 rate.
Related¶
- Spec:
playwright/tests/integration/hourlyRate.spec.ts(line 87)
Related¶
- Spec:
playwright/tests/integration/hourlyRate.spec.ts(line 87)