571 — should permanently delete client¶
Description¶
Verifies that permanently deleting a single trashed client removes it from trash and confirms the Clients page no longer lists it — confirming permanent delete is irreversible and only affects the selected entity.
Preconditions¶
- Signed-in admin owner of a fresh organization.
- A client and a task have already been moved to trash via API.
- User lands on the Trash page.
Steps¶
- View the Trash list. Expected: Exactly 2 trashed items are shown.
- Trigger the "permanently delete" action for the client row and confirm. Expected: The client is removed from trash.
- Re-check the Trash count. Expected: Exactly 1 item remains (the task).
- Navigate to the Clients page. Expected: The Clients table shows 0 clients.
Related¶
- Spec:
playwright/tests/integration/trash.spec.ts(line 115)