573 — should restore client¶
Description¶
Verifies that restoring a single trashed client returns it to the Clients page (with its original title) while leaving other trashed entities untouched.
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 "Restore" action for the client row. Expected: The client row disappears from trash.
- Re-check the Trash count. Expected: Exactly 1 item remains (the task).
- Navigate to the Clients page. Expected: Clients page loads, lists exactly 1 client, and the client's name matches the originally-deleted client title.
Related¶
- Spec:
playwright/tests/integration/trash.spec.ts(line 139)