512 — should create new simple time record¶
Description¶
Verifies that a user can create a brand-new time record from the Reports view with billable turned off and labels attached, and that the resulting row in the table shows the right start/end dates, duration, owner, empty client/project/task placeholders, zero billable time, and the chosen labels.
Preconditions¶
- Signed in to a seeded test organization.
- Time Records page open in the Reports view.
- Three labels (label1, label2, label3) already exist.
Steps¶
- Click the Create time record button in the footer.
- Toggle the Billable switch off.
- Read the auto-populated duration value (default 1 h) and remember the start/end timestamps shown.
- Attach all three seeded labels to the record.
- Click Create. Expected: "Created" confirmation popup appears.
- Inspect the first row in the table. Expected: start date matches the captured value, end date matches the captured value, duration equals the captured duration, user equals the signed-in owner, Client/Project/Task all show "-", Cost shows "€ 0.00", Billable time shows "00:00", Billable cost shows "€ 0.00", and Labels show label1, label2, label3.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 82)