179 — should create three clients and archive both¶
Description¶
Verifies the bulk archive/unarchive flow: with three clients seeded via API, selecting all and using the bulk archive action moves every client out of the default view, and the same bulk unarchive action restores them.
Preconditions¶
- Signed-in user inside a freshly registered organization
- Three clients have been pre-created via the API
- Browser is on the Clients overview page
Steps¶
- Reload the page. Expected: the clients list shows 3 clients.
- Click Select all. Expected: the selection counter reads "3".
- Click Archive selected and confirm in the modal. Expected: the default list now shows 0 clients.
- Open Filters and apply the Show archived quick filter. Expected: all 3 clients reappear.
- Click Select all again. Expected: the selection counter reads "3".
- Click Unarchive selected and confirm in the modal. Expected: the unarchive modal succeeds.
- Clear filters. Expected: the default list once again shows all 3 clients.
Related¶
- Spec:
playwright/tests/integration/client.spec.ts(line 347)