mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
* feat(external-api): return per-workspace inviteUrl in POST /ext/users response * test(external-api): expand POST /ext/users coverage — roles, multi-group, and failure conditions Adds 8 new e2e tests covering role assignment, per-workspace role variance, multiple custom groups, and all key failure paths (duplicate email, missing workspace, default group in groups field, nonexistent group, end-user/builder group conflict). Also seeds the builder default group in maybeCreateDefaultGroupPermissions to unblock role-assignment tests against test orgs. * test(external-api): clarify conflicting-permissions error shape in users spec * feat(external-api): update default status to INVITED in user-related DTOs and add defaultOrganizationId field * feat(external-api): enhance invited user session guard and expand user creation tests for archived status * feat(external-api): add tests for org-invite URL behavior based on user and workspace status * feat(external-api): update user status handling and invite URL logic in tests * feat(external-api): update invite URL logic and OrganizationUser status handling for active users |
||
|---|---|---|
| .. | ||
| __fixtures__ | ||
| __mocks__ | ||
| helpers | ||
| modules | ||
| jest-coverage.config.ts | ||
| jest-e2e.config.ts | ||
| jest-global-setup.ts | ||
| jest-retry-setup.ts | ||
| jest-setup.ts | ||
| jest-transaction-setup.ts | ||
| test.helper.ts | ||
| tooljet-db-test.helper.ts | ||