fix: Respect slug on project creation #8420
test.yml
on: pull_request
Build backend 🏗️
4m 55s
Build frontend 🏗️
2m 1s
Install E2E dependencies ⬇️
55s
Frontend static check 🪲
2m 25s
E2E Static Check 🪲
30s
Ktlint 🪲
1m 43s
Matrix: BT 🔎
Matrix: E2E testing 🔎
Everything passed 🎉
0s
Annotations
8 errors and 3 warnings
Ktlint 🪲
Process completed with exit code 1.
|
io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest ► testCreateSlugValidation():
backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/organizationController/OrganizationControllerTest.kt#L187
Failed test found in:
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
Error:
java.lang.AssertionError: Error has no message 'address_part_not_unique'. Validation map is: '{slug_not_unique=[]}'
|
io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest ► slug validation():
backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/organizationController/OrganizationControllerTest.kt#L272
Failed test found in:
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.organizationController.OrganizationControllerTest.xml
Error:
java.lang.AssertionError: Error has no message 'address_part_not_unique'. Validation map is: '{slug_not_unique=[]}'
|
BT 🔎 (server-app:runStandardTests)
Failed test were found and 'fail-on-error' option is set to true
|
BT 🔎 (server-app:runStandardTests)
Final attempt failed. Child_process exited with error code 1
|
BT 🔎 (server-app:runWebsocketTests)
No test report files were found
|
BT 🔎 (server-app:runWebsocketTests)
Final attempt failed. Timeout of 1800000ms hit
|
Everything passed 🎉
Process completed with exit code 1.
|
BT 🔎 (server-app:runStandardTests)
Test report summary exceeded limit of 65535 bytes and will be trimmed
|
BT 🔎 (server-app:runWebsocketTests)
No files were found with the provided path: ./**/build/reports/**/*. No artifacts will be uploaded.
|
BT 🔎 (server-app:runWebsocketTests)
No file matches path **/build/test-results/**/TEST-*.xml
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
backend
|
238 MB |
|
backend_test_reports_data_test
|
142 KB |
|
backend_test_reports_ee-test_test
|
543 KB |
|
backend_test_reports_security_test
|
18.7 KB |
|
backend_test_reports_server-app_runContextRecreatingTests
|
717 KB |
|
backend_test_reports_server-app_runStandardTests
|
1.21 MB |
|
backend_test_reports_server-app_runWithoutEeTests
|
59.8 KB |
|
e2e_deps
|
197 MB |
|
webapp
|
2.28 MB |
|