test: add proper page navigation to team-management-permissions
Merged
JE
6mo ago+22+22+01234567890123456789-30-30-01234567890123456789
Proposed changes (including videos or screenshots)
This PR fixes flakiness in the team-management-permissions e2e tests by making page navigation
explicit after permission changes and improving the API assertions.
What changed
- Added waitForHome() before interacting with the home page UI
- Replaced permission update response checks with expect(...).toBeOK()
- Moved page.goto('/home') from beforeEach into each test, after the permission change, so the
page is loaded only after the updated permissions are applied