mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
* test(e2e/ui): cover member role and budget edits, member permission delegation, and team guardrail removal Three Playwright specs for the Teams flows enterprise customers hit most, each owning its fixtures and proving the mutation through a read-back rather than a toast. - teamMemberEdit: an admin edits a member's team role and per-member budget, and both survive a reload of the Members table - memberPermissions: a plain member is refused /key/generate for their team, a team admin grants it on the Member Permissions tab, and the member then creates a team key that serves a real completion - teamGuardrailRemoval: clearing a team's only guardrail on the Settings tab really clears it, and traffic the guardrail refused starts serving again * test(e2e/ui): make the new team specs safe to run in parallel Fixture ids came from Date.now(), so two repeats starting in the same millisecond minted the same user id: one got a 409 and the loser's teardown deleted the user the other was still signed in as. Ids now carry a random suffix. Also move the member-permissions setup inside the cleanup-protected block so a half-finished setup cannot leak a team, and close both browser contexts the test opens. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| tests | ||
| constants.ts | ||
| globalSetup.ts | ||
| migration.serverRootPath.config.ts | ||
| migration.serverRootPath.globalSetup.ts | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| run_e2e.sh | ||
| tsconfig.json | ||