Skip to content

493 — should delete 100 task at once

Description

Verifies the bulk-delete flow at scale: 100 tasks created via the API are all selected at once and moved to trash in a single action, leaving the grid empty.

Preconditions

  • Signed-in tenant with a seeded Advanced project and an employee.
  • Currently on the seeded project's Tasks tab. Tasks are seeded directly through the GraphQL API (the form's Assignee/Reporter/Sprint visibility rules do not apply here).

Steps

  1. Create 100 tasks via the API, each named "Task 01" through "Task 100" with priority "Highest", assigned and reported by the seeded employee.
  2. Reload the page and scroll the table with the mouse wheel to force virtual rows to render.
  3. Inspect the grid → Expected: the grid contains exactly 100 tasks.
  4. Click the "Select all" checkbox → Expected: the bulk toolbar shows "100" selected items.
  5. Click "Move to trash" on the bulk toolbar → Expected: the bulk move-to-trash confirmation modal is displayed.
  6. Confirm the modal.
  7. Inspect the grid → Expected: the grid contains 0 tasks.
  • Spec: playwright/tests/integration/task.spec.ts (line 420)