Skip to content

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

  1. Click Create time record in the footer, then click Create to save with defaults. Expected: "Created" popup appears and the table shows 1 record.
  2. Double-click the new time record row to open its edit modal.
  3. Open the more-menu inside the modal and click Move to trash. Expected: the "Move to trash" confirmation modal appears.
  4. Click Move to trash in the confirmation modal. Expected: "Moved to trash" popup appears.
  5. Expected: no tasks remain in the system (the linked task was not created or has been removed).
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 125)