Skip to content

498 — should create 100 teams and archive all of them

Description

Verifies that an admin can bulk-archive 100 teams from the Teams list and that the archived teams reappear when the "Show archived" quick filter is applied. (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 and scroll the list so every row is loaded. Expected: the Teams list shows 100 teams.
  2. Select the row "Team 01", then click the "All" selector. Expected: the bulk-selection counter shows "100" selected items.
  3. Click the bulk "Archive" action. Expected: the confirmation modal asks the user to confirm archiving all selected teams.
  4. Confirm the modal. Expected: an "Archived" popup appears and the Teams list shows 0 teams.
  5. Open the Filters panel, enable the "Show archived" quick filter, and click Apply.
  6. Scroll the list so every row is loaded. Expected: the Teams list shows the 100 archived teams.
  • Spec: playwright/tests/integration/teams.spec.ts (line 164)