Skip to content

feat: SSO (Single Sign-On) support #7757

feat: SSO (Single Sign-On) support

feat: SSO (Single Sign-On) support #7757

GitHub Actions / Backend Tests succeeded Nov 26, 2024 in 1s

295 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.batch.StartBatchJobControllerTest.xml 12✅ 51s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.contentDelivery.ContentDeliveryConfigControllerTest.xml 21✅ 6s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.V2ExportControllerTest.xml 9✅ 8s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.v2ImageUploadController.SecuredV2ImageUploadControllerTest.xml 4✅ 1s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.v2ProjectsController.ProjectsControllerWithCacheTest.xml 14✅ 7s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.v2ScreenshotController.SecuredKeyScreenshotControllerTest.xml 6✅ 2s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.V2UserControllerTest.xml 16✅ 8s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.automation.AutomationCachingTest.xml 4✅ 987ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.automation.AutomationCachingWithRedisTest.xml 4✅ 1s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml 13✅ 9s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.cache.CacheWithoutRedisTest.xml 11✅ 2s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.cache.CacheWithRedisTest.xml 11✅ 3s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.component.AesTest.xml 1✅ 23ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.component.bucket.TokenBucketManagerTestWithRedis.xml 7✅ 2s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.component.fileStorage.FileStorageS3Test.xml 6✅ 384ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.controllers.internal.SqlControllerTest.xml 3✅ 848ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.initialUserCreation.CreateEnabledTest.xml 5✅ 257ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.initialUserCreation.LegacyMigrationTest.xml 1✅ 429ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.security.DenyInternalTest.xml 2✅ 588ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.security.rateLimits.RateLimitsTest.xml 4✅ 2s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.security.rateLimits.RedisRateLimitsTest.xml 1✅ 298ms
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.service.organizationRole.OrganizationRoleCachingWithRedisTest.xml 6✅ 2s
backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.service.recaptchaValidation.RecaptchaValidationTest.xml 2✅ 372ms
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.AdvancedPermissionControllerTest.xml 13✅ 9s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.AiPromptCustomizationControllerTest.xml 5✅ 1s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.ContentStorageControllerTest.xml 11✅ 4s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.EeLicenseControllerTest.xml 6✅ 1s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.slack.OrganizationSlackControllerTest.xml 4✅ 2s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.slack.SlackLoginControllerTest.xml 4✅ 1s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.SsoProviderControllerTest.xml 7✅ 1s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerActivityTest.xml 5✅ 2s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerAssigneesTest.xml 6✅ 2s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerBlockedTest.xml 1✅ 238ms
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerPermissionsTest.xml 5✅ 2s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerTest.xml 18✅ 5s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.V2ProjectsInvitationControllerEeTest.xml 5✅ 1s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.WebhookConfigControllerTest.xml 7✅ 2s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.EeTolgeeTranslatorControllerTest.xml 1✅ 3s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.EeSubscriptionProviderImplTest.xml 2✅ 2s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.slack.SavedSlackMessageServiceTest.xml 2✅ 452ms
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.slack.SlackConfigServiceTest.xml 2✅ 407ms
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.slack.SlackIntegrationTest.xml 4✅ 2s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.slack.SlackWithAutoTranslationTest.xml 2✅ 5s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.SsoGlobalTest.xml 8✅ 4s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.SsoOrganizationsTest.xml 10✅ 3s
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.UsageReportingTest.xml 1✅ 432ms
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.UserLimitTest.xml 3✅ 1s

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.batch.StartBatchJobControllerTest.xml

12 tests were completed in 51s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.api.v2.controllers.batch.StartBatchJobControllerTest 12✅ 51s

✅ io.tolgee.api.v2.controllers.batch.StartBatchJobControllerTest

✅ it clears translations()
✅ it moves to other namespace()
✅ it tags keys()
✅ it copies translations()
✅ it pre-translates by mt()
✅ it deletes tags when not used()
✅ it deletes keys()
✅ it machine translates()
✅ it changes translation state()
✅ it untags keys()
✅ it validates tag length()
✅ it fails on collision when setting namespaces()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.contentDelivery.ContentDeliveryConfigControllerTest.xml

21 tests were completed in 6s with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.api.v2.controllers.contentDelivery.ContentDeliveryConfigControllerTest 21✅ 6s

✅ io.tolgee.api.v2.controllers.contentDelivery.ContentDeliveryConfigControllerTest

✅ throws when custom slug is used with default storage()
✅ creates content delivery config with auto publish()
✅ does not set custom slug on update without custom storage()
✅ deletes content delivery config()
✅ throws when custom storage removed and generated slug is kept()
✅ creates content delivery config()
✅ does not regenerate slug when not using custom storage()
✅ adds custom slug on update()
✅ lists content delivery configs()
✅ creates content delivery config without pruning()
✅ publishes to default server content delivery config()
✅ updates content delivery config()
✅ publishes to s3()
✅ does not create with custom slug without custom storage()
✅ does not regenerate slug when custom storage not removed()
✅ get single()
✅ publishes to azure()
✅ removes the automation on update()
✅ creates with custom slug()
✅ regenerates slug on update()
✅ doesnt create when feature not enabled()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.V2ExportControllerTest.xml

9 tests were completed in 8s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.api.v2.controllers.V2ExportControllerTest 9✅ 8s

✅ io.tolgee.api.v2.controllers.V2ExportControllerTest

✅ it exports to json with namespaces()
✅ it exports to json()
✅ it exports all languages by default()
✅ it exports only allowed languages()
✅ it filters by keyId in()
✅ the structureDelimiter works()
✅ it exports to single xliff()
✅ it exports to single json()
✅ it reports business event once in a day()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.v2ImageUploadController.SecuredV2ImageUploadControllerTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.api.v2.controllers.v2ImageUploadController.SecuredV2ImageUploadControllerTest 4✅ 1s

✅ io.tolgee.api.v2.controllers.v2ImageUploadController.SecuredV2ImageUploadControllerTest

✅ upload()
✅ getScreenshotFileInvalidTimestamp()
✅ getFile()
✅ getScreenshotFileNoTimestamp()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.v2ProjectsController.ProjectsControllerWithCacheTest.xml

14 tests were completed in 7s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.api.v2.controllers.v2ProjectsController.ProjectsControllerWithCacheTest 14✅ 7s

✅ io.tolgee.api.v2.controllers.v2ProjectsController.ProjectsControllerWithCacheTest

✅ getNotPermitted()
✅ get all has language permissions()
✅ setUsersPermissionsNoAccess()
✅ getAll()
✅ revokeUsersAccessOwn()
✅ setUsersPermissionsOwner()
✅ getAllWithStats()
✅ deleteProject()
✅ getAllUsers()
✅ get single returns permissions()
✅ setUsersPermissionsOwn()
✅ revokeUsersAccess()
✅ with-stats returns permitted languages()
✅ revokeUsersAccessIsOrganizationMember()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.v2ScreenshotController.SecuredKeyScreenshotControllerTest.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.api.v2.controllers.v2ScreenshotController.SecuredKeyScreenshotControllerTest 6✅ 2s

✅ io.tolgee.api.v2.controllers.v2ScreenshotController.SecuredKeyScreenshotControllerTest

✅ uploadScreenshot()
✅ findAll()
✅ getScreenshotFile()
✅ getScreenshotFileInvalidTimestamp()
✅ it applies project permissions when accessing the screenshot()
✅ getScreenshotFileNoTimestamp()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.api.v2.controllers.V2UserControllerTest.xml

16 tests were completed in 8s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.api.v2.controllers.V2UserControllerTest 16✅ 8s

✅ io.tolgee.api.v2.controllers.V2UserControllerTest

✅ it validates the user update request data()
✅ it doesn't allow updating the email without password()
✅ returns correct single owned organizations()
✅ it allows updating the display name without password()
✅ it updates the user profile()
✅ it generates super token (with OTP)()
✅ it doesn't allow updating the password without password()
✅ it deletes user()
✅ it sends an email when updating user email()
✅ it invalidates tokens generated prior a password change()
✅ it doesn't allow updating the email with an invalid password()
✅ it doesn't allow updating the password with an invalid password()
✅ it updates the user password()
✅ it validates the password change request data()
✅ it deletes member user and keeps not owning org()
✅ it generates super token (with password)()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.automation.AutomationCachingTest.xml

4 tests were completed in 987ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.automation.AutomationCachingTest 4✅ 987ms

✅ io.tolgee.automation.AutomationCachingTest

✅ delete clears the cache()
✅ save clears the cache()
✅ correctly caches when when request for null activity type()
✅ caches the automation()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.automation.AutomationCachingWithRedisTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.automation.AutomationCachingWithRedisTest 4✅ 1s

✅ io.tolgee.automation.AutomationCachingWithRedisTest

✅ delete clears the cache()
✅ save clears the cache()
✅ correctly caches when when request for null activity type()
✅ caches the automation()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.autoTranslating.AutoTranslatingTest.xml

13 tests were completed in 9s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.autoTranslating.AutoTranslatingTest 13✅ 9s

✅ io.tolgee.autoTranslating.AutoTranslatingTest

✅ consumes last positive credits()
✅ config test tm enabled()
✅ auto translates when base provided (non-existing)()
✅ it returns per language settings()
✅ auto translates when base provided (existing, but untranslated)()
✅ config test mt disabled()
✅ config test mt enabled()
✅ it returns autoTranslateConfig()
✅ doesn't fail when out of credits()
✅ it sets and returns per language settings()
✅ auto translates new key()
✅ auto translates using TM()
✅ config test tm disabled()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.cache.CacheWithoutRedisTest.xml

11 tests were completed in 2s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.cache.CacheWithoutRedisTest 11✅ 2s

✅ io.tolgee.cache.CacheWithoutRedisTest

✅ caches permission by organization()
✅ is not caching machine translations (different sourceLang)()
✅ is not caching machine translations (different input)()
✅ is caching()
✅ caches project()
✅ caches user account()
✅ caches permission by project and user()
✅ is not caching machine translations (different service)()
✅ is caching machine translations()
✅ is not caching machine translations (different targetLang)()
✅ it has proper cache manager()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.cache.CacheWithRedisTest.xml

11 tests were completed in 3s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.cache.CacheWithRedisTest 11✅ 3s

✅ io.tolgee.cache.CacheWithRedisTest

✅ caches permission by organization()
✅ is not caching machine translations (different sourceLang)()
✅ is not caching machine translations (different input)()
✅ is caching()
✅ caches project()
✅ caches user account()
✅ caches permission by project and user()
✅ is not caching machine translations (different service)()
✅ is caching machine translations()
✅ is not caching machine translations (different targetLang)()
✅ it has proper cache manager()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.component.AesTest.xml

1 tests were completed in 23ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.component.AesTest 1✅ 23ms

✅ io.tolgee.component.AesTest

✅ it works()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.component.bucket.TokenBucketManagerTestWithRedis.xml

7 tests were completed in 2s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.component.bucket.TokenBucketManagerTestWithRedis 7✅ 2s

✅ io.tolgee.component.bucket.TokenBucketManagerTestWithRedis

✅ it adds tokens()
✅ sets empty even when not initialized()
✅ it is thread safe()
✅ it checks positive balance()
✅ it consumes credits()
✅ updates tokens()
✅ empties the bucket until specific time()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.component.fileStorage.FileStorageS3Test.xml

6 tests were completed in 384ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.component.fileStorage.FileStorageS3Test 6✅ 384ms

✅ io.tolgee.component.fileStorage.FileStorageS3Test

✅ testStoreFile()
✅ testPruneDirectory()
✅ testGetFile()
✅ testFileExists()
✅ testDeleteFile()
✅ is S3FileStorage()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.controllers.internal.SqlControllerTest.xml

3 tests were completed in 848ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.controllers.internal.SqlControllerTest 3✅ 848ms

✅ io.tolgee.controllers.internal.SqlControllerTest

✅ delete()
✅ getList()
✅ listEndpoints()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.initialUserCreation.CreateEnabledTest.xml

5 tests were completed in 257ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.initialUserCreation.CreateEnabledTest 5✅ 257ms

✅ io.tolgee.initialUserCreation.CreateEnabledTest

✅ passwordUpdated()
✅ passwordStoredInDb()
✅ passwordNotUpdatedAfterChange()
✅ creates demo project for initial user()
✅ storesPassword()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.initialUserCreation.LegacyMigrationTest.xml

1 tests were completed in 429ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.initialUserCreation.LegacyMigrationTest 1✅ 429ms

✅ io.tolgee.initialUserCreation.LegacyMigrationTest

✅ it migrates the old implicit user when creating the user account()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.security.DenyInternalTest.xml

2 tests were completed in 588ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.DenyInternalTest 2✅ 588ms

✅ io.tolgee.security.DenyInternalTest

✅ getListFail()
✅ setPropertyFail()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.security.rateLimits.RateLimitsTest.xml

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.rateLimits.RateLimitsTest 4✅ 2s

✅ io.tolgee.security.rateLimits.RateLimitsTest

✅ user request limit works()
✅ email verification request limit works()
✅ limits auth endpoints()
✅ ip request limit works()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.security.rateLimits.RedisRateLimitsTest.xml

1 tests were completed in 298ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.security.rateLimits.RedisRateLimitsTest 1✅ 298ms

✅ io.tolgee.security.rateLimits.RedisRateLimitsTest

✅ ip request limit works()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.service.organizationRole.OrganizationRoleCachingWithRedisTest.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.service.organizationRole.OrganizationRoleCachingWithRedisTest 6✅ 2s

✅ io.tolgee.service.organizationRole.OrganizationRoleCachingWithRedisTest

✅ it evicts cache on grant role()
✅ it caches organization roles()
✅ it evicts on set member role()
✅ it evicts on invitation accept()
✅ it evicts on remove user()
✅ it evicts on leave()

✅ backend/app/build/test-results/runContextRecreatingTests/TEST-io.tolgee.service.recaptchaValidation.RecaptchaValidationTest.xml

2 tests were completed in 372ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.service.recaptchaValidation.RecaptchaValidationTest 2✅ 372ms

✅ io.tolgee.service.recaptchaValidation.RecaptchaValidationTest

✅ validates token()
✅ returns false when invalid()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.AdvancedPermissionControllerTest.xml

13 tests were completed in 9s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.AdvancedPermissionControllerTest 13✅ 9s

✅ io.tolgee.ee.api.v2.controllers.AdvancedPermissionControllerTest

✅ validates permissions (empty scopes)()
✅ view contains at least the scopes from translate and state change()
✅ sets user's permissions with translateLanguages and view ()
✅ validates permissions (admin and viewLanguages)()
✅ validates permissions (translate languages and scopes)()
✅ validates permissions (admin and stateChangeLanguages)()
✅ validates permissions (view languages and scopes)()
✅ cannot set organization base permission with scopes when disabled()
✅ validates permissions (state change languages and scopes)()
✅ goes from scopes to type and from type to scopes()
✅ fails to set user's permission when feature disabled()
✅ sets organization base permission with scopes()
✅ validates permissions (admin and translateLanguages)()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.AiPromptCustomizationControllerTest.xml

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.AiPromptCustomizationControllerTest 5✅ 1s

✅ io.tolgee.ee.api.v2.controllers.AiPromptCustomizationControllerTest

✅ get language prompt customizations()
✅ set project prompt customization fails when feature is not enabled()
✅ set language prompt customization()
✅ get project prompt customization()
✅ set project prompt customization()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.ContentStorageControllerTest.xml

11 tests were completed in 4s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.ContentStorageControllerTest 11✅ 4s

✅ io.tolgee.ee.api.v2.controllers.ContentStorageControllerTest

✅ deletes an storage()
✅ tests azure storage()
✅ lists storages()
✅ validates Azure Config storage()
✅ deletes not delete when in use()
✅ creates Content Storage()
✅ updates Content Storage to the same type()
✅ updates Content Storage()
✅ tests s3 storage()
✅ tests new configuration for existing azure storage()
✅ returns single storage()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.EeLicenseControllerTest.xml

6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.EeLicenseControllerTest 6✅ 1s

✅ io.tolgee.ee.api.v2.controllers.EeLicenseControllerTest

✅ prepare operation works fine()
✅ releases license key info()
✅ refreshes subscription()
✅ it set's license key()
✅ set license key operation is not sensitive for non-breaking API change()
✅ returns info()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.slack.OrganizationSlackControllerTest.xml

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.slack.OrganizationSlackControllerTest 4✅ 2s

✅ io.tolgee.ee.api.v2.controllers.slack.OrganizationSlackControllerTest

✅ get all works()
✅ delete one works()
✅ connection works()
✅ fail if connect and already have connection()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.slack.SlackLoginControllerTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.slack.SlackLoginControllerTest 4✅ 1s

✅ io.tolgee.ee.api.v2.controllers.slack.SlackLoginControllerTest

✅ logs in for same Tolgee acc and different workspace()
✅ user logs in()
✅ should not allow duplicate SlackUserConnection for same Tolgee account and workspace()
✅ should not allow duplicate SlackUserConnection for same Tolgee account and workspace and different Slack acc()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.SsoProviderControllerTest.xml

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.SsoProviderControllerTest 7✅ 1s

✅ io.tolgee.ee.api.v2.controllers.SsoProviderControllerTest

✅ does not allow to save invalid sso provider #1()
✅ does not allow to save invalid sso provider #2()
✅ does not allow to save invalid sso provider #3()
✅ does not allow to save invalid sso provider #4()
✅ creates and returns sso provider()
✅ fails if user is not owner of organization()
✅ always creates sso provider when disabled()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerActivityTest.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.task.TaskControllerActivityTest 5✅ 2s

✅ io.tolgee.ee.api.v2.controllers.task.TaskControllerActivityTest

✅ logs task update()
✅ large scope change is doesn't cause n+1 issue()
✅ logs task key done()
✅ logs assignees when creating task()
✅ scope change is logged()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerAssigneesTest.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.task.TaskControllerAssigneesTest 6✅ 2s

✅ io.tolgee.ee.api.v2.controllers.task.TaskControllerAssigneesTest

✅ user tasks filter by type()
✅ properly excludes user with view rights()
✅ user tasks()
✅ properly excludes users without view rights for english()
✅ user tasks filter by assignee()
✅ properly includes user with view rights()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerBlockedTest.xml

1 tests were completed in 238ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.task.TaskControllerBlockedTest 1✅ 238ms

✅ io.tolgee.ee.api.v2.controllers.task.TaskControllerBlockedTest

✅ detects blocked task()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerPermissionsTest.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.task.TaskControllerPermissionsTest 5✅ 2s

✅ io.tolgee.ee.api.v2.controllers.task.TaskControllerPermissionsTest

✅ can do assigned task's basic operations()
✅ sees only tasks assigned to him()
✅ can access assigned task()
✅ can't access unassigned review task's data()
✅ can't do advanced assigned task's operations()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.task.TaskControllerTest.xml

18 tests were completed in 5s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.task.TaskControllerTest 18✅ 5s

✅ io.tolgee.ee.api.v2.controllers.task.TaskControllerTest

✅ project tasks filter by type()
✅ creates new task()
✅ can add keys()
✅ fails to create task with language from different project()
✅ can remove keys()
✅ fails when updating assignees to non-members()
✅ returns list of tasks()
✅ includes keys included in task of different type()
✅ updates existing task()
✅ calculates stats()
✅ gets task detail()
✅ project tasks filter by assignee()
✅ calculates stats for task()
✅ doesn't include keys which are in different task of same type()
✅ creates multiple new tasks()
✅ close and reopen task()
✅ project tasks()
✅ fails to create task with assignee from different project()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.V2ProjectsInvitationControllerEeTest.xml

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.V2ProjectsInvitationControllerEeTest 5✅ 1s

✅ io.tolgee.ee.api.v2.controllers.V2ProjectsInvitationControllerEeTest

✅ fails when feature disabled()
✅ invites user to project with scopes()
✅ adds the languages to view()
✅ validates language permissions()
✅ validates permissions (type vs scopes)()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.WebhookConfigControllerTest.xml

7 tests were completed in 2s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.api.v2.controllers.WebhookConfigControllerTest 7✅ 2s

✅ io.tolgee.ee.api.v2.controllers.WebhookConfigControllerTest

✅ doesnt create multiple webhooks without feature enabled()
✅ creates webhook config()
✅ get single webhook config()
✅ lists webhook configs()
✅ deletes webhook config()
✅ tests a config()
✅ updates webhook config()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.EeTolgeeTranslatorControllerTest.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.EeTolgeeTranslatorControllerTest 1✅ 3s

✅ io.tolgee.ee.EeTolgeeTranslatorControllerTest

✅ it translates()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.EeSubscriptionProviderImplTest.xml

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.service.EeSubscriptionProviderImplTest 2✅ 2s

✅ io.tolgee.ee.service.EeSubscriptionProviderImplTest

✅ cancels subscription when other instance uses the key()
✅ it checks for subscription changes()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.slack.SavedSlackMessageServiceTest.xml

2 tests were completed in 452ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.service.slack.SavedSlackMessageServiceTest 2✅ 452ms

✅ io.tolgee.ee.service.slack.SavedSlackMessageServiceTest

✅ deletes old messages()
✅ finds messages()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.slack.SlackConfigServiceTest.xml

2 tests were completed in 407ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.service.slack.SlackConfigServiceTest 2✅ 407ms

✅ io.tolgee.ee.service.slack.SlackConfigServiceTest

✅ deletes configs()
✅ creates new config()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.slack.SlackIntegrationTest.xml

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.slack.SlackIntegrationTest 4✅ 2s

✅ io.tolgee.ee.slack.SlackIntegrationTest

✅ sends message to correct channel after translation changed()
✅ Doesn't send a message if the subscription isn't global and modified language isn't in preferred languages()
✅ sends message to correct channel after key added()
✅ Doesn't send a message if the event isn't in subscribed by user()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.slack.SlackWithAutoTranslationTest.xml

2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.slack.SlackWithAutoTranslationTest 2✅ 5s

✅ io.tolgee.ee.slack.SlackWithAutoTranslationTest

✅ sends auto translated text on a new key added with base translation()
✅ sends auto translated text when base provided (non-existing)()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.SsoGlobalTest.xml

8 tests were completed in 4s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.SsoGlobalTest 8✅ 4s

✅ io.tolgee.ee.SsoGlobalTest

✅ sso auth saves refresh token()
✅ creates new user account and return access token on sso log in()
✅ does not return auth link when tenant is disabled()
✅ user account available validation works()
✅ doesn't authorize user when token exchange fails()
✅ does not auth user when tenant is disabled()
✅ sso auth works via global config()
✅ after timeout should call token endpoint ()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.SsoOrganizationsTest.xml

10 tests were completed in 3s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.SsoOrganizationsTest 10✅ 3s

✅ io.tolgee.ee.SsoOrganizationsTest

✅ sso auth saves refresh token()
✅ new user belongs to organization associated with the sso issuer()
✅ creates new user account and return access token on sso log in()
✅ does not return auth link when tenant is disabled()
✅ user account available validation works()
✅ sso user can't create organization()
✅ doesn't authorize user when token exchange fails()
✅ does not auth user when tenant is disabled()
✅ sso auth doesn't create demo project and user organization()
✅ after timeout should call token endpoint ()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.UsageReportingTest.xml

1 tests were completed in 432ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.UsageReportingTest 1✅ 432ms

✅ io.tolgee.ee.UsageReportingTest

✅ it checks for subscription changes()

✅ ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.UserLimitTest.xml

3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.ee.UserLimitTest 3✅ 1s

✅ io.tolgee.ee.UserLimitTest

✅ can delete users when over plan()
✅ cannot create 11th user()
✅ can disable users when over plan()