Skip to content

497 — should create 100 teams and move all to trash

Description

Verifies that an admin can bulk-select 100 teams in the Teams list and move all of them to trash in a single action, leaving the list empty. (Currently skipped.)

Preconditions

  • Signed-in admin user.
  • 100 teams (named "Team 01" … "Team 100") are seeded via API.
  • The Teams page is open.

Steps

  1. Reload the page so the seeded teams appear, then scroll the list to ensure all rows are loaded. Expected: the Teams list shows 100 teams.
  2. Select the row "Team 01" using its row checkbox.
  3. Click the "All" selector to select every team. Expected: the bulk-selection counter shows "100" selected items.
  4. Click the bulk "Move to trash" action. Expected: a confirmation modal asks the user to confirm moving all selected teams to trash.
  5. Confirm the modal. Expected: a "Moved to trash" popup appears and the Teams list is empty (0 teams).
  • Spec: playwright/tests/integration/teams.spec.ts (line 148)