Skip to content

422 — should delete all 100 projects and check count

Description

Bulk-deletion scenario that verifies the projects table can display 100 projects, that "Select all" picks every row, and that the bulk "Move to trash" action removes them all in a single operation. (Currently skipped pending a stable bulk-trash flow.)

Preconditions

  • Signed-in tenant on the Projects page.

Steps

  1. Seed 100 projects via the API ("Project 01" through "Project 100", each with a matching "PRO_xx" code).
  2. Reload the Projects page and scroll the table to load every row. Expected: exactly 100 project rows are listed.
  3. Click "Select all". Expected: the selection counter reads "100".
  4. Click "Move to trash" on the bulk action bar. Expected: the bulk move-to-trash confirmation modal is shown.
  5. Confirm the modal. Expected: a "Moved to trash" success toast is shown.
  6. Expected: the projects table now lists 0 projects.
  • Spec: playwright/tests/integration/project.spec.ts (line 244)