509 — should create two teams and check users tab if teams are assigned¶
Description¶
Verifies that team membership added on the Teams page is correctly reflected on the Users tab — each user shows all teams they belong to.
Preconditions¶
- Signed-in admin user (the team owner).
- Two seeded users (member1, member2) are available.
- A first team (team) has just been created and the team detail is open.
Steps¶
- In team, click "Add members", pick member1 and member2, pick the roles teamRoleName1 and teamRoleName2, and click Save. Expected: a success popup appears.
- Click "All teams" to return to the list.
- Click "Add team", enter the second team name (team2), and click Save. Expected: a "Created" popup appears and the Teams list shows 2 teams.
- Double-click team2, click "Add members", pick member1, pick the role teamRoleName3, and click Save. Expected: a success popup appears.
- Switch to the Users tab. Expected: the Users page is shown.
- Reload the page so the Teams column is up-to-date. Expected: member1's row shows both team and team2 in the Teams column. Expected: member2's row shows only team. Expected: the signed-in user's row shows both team and team2 (they are the owner of both).
Related¶
- Spec:
playwright/tests/integration/teams.spec.ts(line 373)