525 — should create + trash from doubleclick¶
Description¶
Verifies that a freshly created non-billable time record (Table view) can be moved to trash by opening it via double-click and clicking Move to trash in the modal, and that no orphan task is left behind.
Preconditions¶
- Signed in to a seeded test organization.
- Time Records page open in the Table view.
Steps¶
- Click Create time record, toggle Billable off, and click Create. Expected: "Created" popup appears and the table shows 1 record.
- Double-click the new record to open its edit modal.
- Click Move to trash inside the modal. Expected: the "Move to trash" confirmation modal appears.
- Confirm by clicking Move to trash again. Expected: "Moved to trash" popup appears.
- Expected: no tasks remain in the system.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 499)