Skip to content

feat: notifications core #6104

feat: notifications core

feat: notifications core #6104

GitHub Actions / Backend Tests succeeded Feb 5, 2024 in 0s

52 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
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.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.UsageReportingTest.xml 1✅ 518ms
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.UserLimitTest.xml 1✅ 1s

✅ 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.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.UsageReportingTest.xml

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

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

✅ io.tolgee.ee.UsageReportingTest

✅ it checks for subscription changes()

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

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

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

✅ io.tolgee.ee.UserLimitTest

✅ cannot create 11th user()