Skip to content

499 — should archive team from inside

Description

Verifies that an admin can archive a team from inside the team detail (via the Edit menu) and that the team is then visibly marked as archived.

Preconditions

  • Signed-in admin user.
  • The Teams page is open.

Steps

  1. Click "Add team", enter the team name (team), and click Save. Expected: a "Created" popup appears and the Teams list shows 1 team.
  2. Double-click the team row to open the team detail, then click "Edit team".
  3. From the edit menu, click "Archive". Expected: a confirmation modal asks the user to confirm archiving this team.
  4. Confirm the modal. Expected: an "Archived" popup appears and the team detail shows an "archived" status indicator.
  • Spec: playwright/tests/integration/teams.spec.ts (line 186)