494 — should create new team¶
Description¶
Verifies that an admin can create a new team with labels and that the team is listed correctly with its labels, title, and breadcrumb on the Teams page.
Preconditions¶
- Signed-in admin user with seeded test users and three pre-created labels.
- The Teams page is open.
Steps¶
- Click the "Add team" button to open the new-team form.
- Enter the generated team name into the Title field.
- Add the three seeded labels (label1, label2, label3) to the team.
- Click Save. Expected: a "Created" success popup appears and the Teams list shows 1 team. Expected: the new team row displays all three labels (label1, label2, label3).
- Double-click the team row, then click "Edit team". Expected: the Title field shows the original team name, and the Labels chip control shows all three labels (label1, label2, label3).
- Click Cancel. Expected: the breadcrumb on the team detail page reads the team's name.
- Click "All teams" to return to the list. Expected: the list still shows exactly 1 team.
Related¶
- Spec:
playwright/tests/integration/teams.spec.ts(line 98)