Skip to content

fix(loc): validation on localization metadata #4228

fix(loc): validation on localization metadata

fix(loc): validation on localization metadata #4228

GitHub Actions / UT Tests report-ubuntu-latest succeeded Dec 13, 2023 in 0s

UT Tests report-ubuntu-latest ✅

Tests passed successfully

Report Passed Failed Skipped Time
apps/chrome-devtools/dist-test/ut-report.xml 1✅ 8s
packages/@o3r/application/dist-test/ut-report.xml 1✅ 9s
packages/@o3r/components/dist-test/ut-report.xml 63✅ 46s
packages/@o3r/configuration/dist-test/ut-report.xml 36✅ 36s
packages/@o3r/localization/dist-test/ut-report.xml 50✅ 42s
packages/@o3r/rules-engine/dist-test/ut-report.xml 267✅ 80s
packages/@o3r/storybook/dist-test/ut-report.xml 21✅ 10s
packages/@o3r/testing/dist-test/ut-report.xml 14✅ 27s

✅ apps/chrome-devtools/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
undefined 1✅ 5s

✅ packages/@o3r/application/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
undefined 1✅ 6s

✅ packages/@o3r/components/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
CapitalizePipe 4✅ 1s
DurationPipe 14✅ 1s
Keep white space pipe 3✅ 1s
Otter inspector helpers 7✅ 36s
Otter Inspector Service 4✅ 40s
Placeholder component 4✅ 3s
PlaceholderRequest Selectors tests 2✅ 1s
PlaceholderRequest Store reducer 7✅ 2s
PlaceholderTemplate Store reducer 3✅ 1s
Rendering helpers 4✅ 2s
Replace with bold pipe 7✅ 1s
selectPlaceholderRenderedTemplates 4✅ 32s

✅ packages/@o3r/configuration/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Add Config 6✅ 18s
ConfigOverride Store reducer 2✅ 1s
Configuration DevTools console 5✅ 22s
Configuration DevTools message 3✅ 15s
Configuration operators getConfiguration 2✅ 1s
Configuration Store 8✅ 9s
ConfigurationBaseService 10✅ 14s

✅ packages/@o3r/localization/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Add Localization 6✅ 31s
Add Localization 6✅ 10s
Localization builder 3✅ 28s
Localization DevTools console 1✅ 7s
LocalizationOverride Store reducer 2✅ 2s
LocalizationService 10✅ 5s
LocalizationTranslatePipe 5✅ 6s
LocalizedCurrencyPipe 2✅ 2s
LocalizedDatePipe 2✅ 1s
LocalizedDecimalPipe 2✅ 2s
TranslationsLoader - no endPointUrl 11✅ 20s

✅ packages/@o3r/rules-engine/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Array based operator 86✅ 18s
Basic operator 20✅ 869ms
Enable rules-engine on component 4✅ 42s
Filter rulesets event operator 5✅ 1s
Generate facts service 1✅ 3s
Generate operator 2✅ 9s
Number based operator 12✅ 831ms
Operator helpers 15✅ 1s
Operators 32✅ 2s
Rule helpers 13✅ 897ms
Rules engine debug 5✅ 2s
Rules engine debug helpers 6✅ 792ms
Rules Engine DevTools console 1✅ 38s
Rules Engine Effects 5✅ 2s
Rules Engine Effects 1✅ 5s
Rules engine fact 2✅ 857ms
Rules engine service 14✅ 58s
RuleSets Selector tests 8✅ 18s
Rulesets Store reducer 13✅ 1s
Rx Rule Engine 5✅ 973ms
ShoppingCart Effects 1✅ 1s
ShoppingCart Selectors tests 1✅ 2s
ShoppingCart Store reducer 15✅ 1s

✅ packages/@o3r/storybook/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Configuration Metadata setup 5✅ 8s
generateThemeCss 2✅ 585ms
Localization Metadata setup 4✅ 8s
Styling Metadata setup 10✅ 8s

✅ packages/@o3r/testing/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Add Fixture 5✅ 21s
Fixture 2✅ 20s
Localization mocks imports 1✅ 2s
Playwright Sanity 2✅ 2s
Playwright Scenario 2✅ 19s
Update ThrowOnUndefined helper 2✅ 2s