Skip to content

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

  1. Click Create time record, toggle Billable off, and click Create. Expected: "Created" popup appears and the table shows 1 record.
  2. Double-click the new record to open its edit modal.
  3. Click Move to trash inside the modal. Expected: the "Move to trash" confirmation modal appears.
  4. Confirm by clicking Move to trash again. Expected: "Moved to trash" popup appears.
  5. Expected: no tasks remain in the system.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 499)