496 — should create two teams and delete one¶
Description¶
Verifies that an admin can create two teams, move one to trash from inside the team detail, and that only the remaining team is shown on the Teams list afterwards.
Preconditions¶
- Signed-in admin user.
- The Teams page is open.
Steps¶
- Click "Add team", enter the first team name (team), and click Save. Expected: a "Created" popup appears.
- Click "Add team" again, enter the second team name (team2), and click Save. Expected: a "Created" popup appears and the Teams list shows 2 teams.
- Double-click the first team (team) to open it, then click "Edit team".
- From the edit menu, click "Move to trash". Expected: the confirmation modal asks the user to confirm moving the team to trash.
- Confirm the modal. Expected: a "Moved to trash" popup appears.
- Click "All teams" to return to the list. Expected: the list now shows exactly 1 team and that team is team2.
Related¶
- Spec:
playwright/tests/integration/teams.spec.ts(line 122)