514 — should create + delete from doubleclick¶
Description¶
Verifies that a freshly created time record (Reports view) can be soft-deleted by opening it via double-click and choosing Move to trash from the modal's more-menu, and that no orphan task remains.
Preconditions¶
- Signed in to a seeded test organization.
- Time Records page open in the Reports view.
Steps¶
- Click Create time record in the footer, then click Create to save with defaults. Expected: "Created" popup appears and the table shows 1 record.
- Double-click the new time record row to open its edit modal.
- Open the more-menu inside the modal and click Move to trash. Expected: the "Move to trash" confirmation modal appears.
- Click Move to trash in the confirmation modal. Expected: "Moved to trash" popup appears.
- Expected: no tasks remain in the system (the linked task was not created or has been removed).
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 125)