feat: captcha support on sdk plugins #4226
UT Tests report-ubuntu-latest ❌
✅ apps/chrome-devtools/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 |
✅ apps/vscode-extension/dist-test/ut-report.xml
1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
undefined | 1✅ | 3s |
❌ packages/@ama-sdk/core/dist-test/ut-report.xml
175 tests were completed in 13s with 173 passed, 1 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Additional Params Request Plugin | 6✅ | 288ms | ||
Api Key Request Plugin | 2✅ | 530ms | ||
Api Key Request Plugin | 6✅ | 342ms | ||
ApiConfigurationOverride Plugin | 3✅ | 499ms | ||
BotProtectionFingerprint | 22✅ | 5s | ||
Client Facts request plugin | 8✅ | 460ms | ||
Concurrent Fetch Plugin | 3✅ | 350ms | ||
Custom info reply plugin | 4✅ | 300ms | ||
DateTime | 13✅ | 373ms | ||
Exception Reply Plugin | 5✅ | 302ms | ||
Fetch API cache Request Plugin | 5✅ | 387ms | ||
Fetch API cache Request Plugin | 3✅ | 293ms | ||
Fetch API credentials Request Plugin | 2✅ | 280ms | ||
Gateway token plugin | 5✅ | 903ms | ||
getResponseReviver - revivers by status code | 8✅ | 7s | ||
Imperva fetch plug-in | 6✅ | 333ms | ||
JSON auth token request plugin | 5✅ | 688ms | ||
Json Token | 3✅ | 460ms | ||
JSON token utils | 3✅ | 488ms | ||
Keepalive Request Plugin | 1✅ | 277ms | ||
Mock intercept | 5✅ | 1⚪ | 495ms | |
Ng add @ama-sdk/core | 1✅ | 11s | ||
PerformanceMetricPlugin | 3✅ | 446ms | ||
Public Facts request plugin | 7✅ | 440ms | ||
Raw response info Reply plugin | 4✅ | 298ms | ||
Retry Fetch Plugin | 6✅ | 352ms | ||
Reviver Reply Plugin | 3✅ | 346ms | ||
Revivers : | 1✅ | 289ms | ||
Session ID Request Plugin | 6✅ | 291ms | ||
SI Token Request Plugin | 1✅ | 677ms | ||
Timeout Fetch Plugin | 4✅ | 1❌ | 397ms | |
Tokenizer Request Plugin | 11✅ | 705ms | ||
URL Rewrite Request Plugin | 2✅ | 366ms | ||
Wait For Fetch Plugin | 6✅ | 364ms |
❌ Timeout Fetch Plugin
Timeout Fetch Plugin should reject on timeout
❌ Timeout Fetch Plugin should reject on timeout
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Timeout Fetch Plugin should not reject on fetch rejection
✅ Timeout Fetch Plugin should not reject on fetch rejection
Timeout Fetch Plugin should forward the fetch response
✅ Timeout Fetch Plugin should forward the fetch response
Timeout Fetch Plugin should not reject if the timeout has been paused and reject if restarted
✅ Timeout Fetch Plugin should not reject if the timeout has been paused and reject if restarted
Timeout Fetch Plugin should take into account pause events triggered before the call
✅ Timeout Fetch Plugin should take into account pause events triggered before the call
✅ packages/@ama-sdk/generator-sdk/dist-test/ut-report.xml
3 tests were completed in 9s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/sdk:core | 1✅ | 8s | ||
@ama-sdk/sdk:shell | 2✅ | 7s |
✅ packages/@ama-sdk/schematics/dist-test/ut-report.xml
9 tests were completed in 10s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Java Core Generator | 1✅ | 7s | ||
Ng add | 1✅ | 988ms | ||
Typescript Core Generator | 3✅ | 9s | ||
Typescript Shell Generator | 4✅ | 8s |
✅ packages/@ama-sdk/showcase-sdk/dist-test/ut-report.xml
No tests found
✅ packages/@o3r/analytics/dist-test/ut-report.xml
51 tests were completed in 26s with 42 passed, 0 failed and 9 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Add Analytics | 5✅ | 23s | ||
EventTrack Selectors tests | 3✅ | 3s | ||
EventTrack Store reducer | 13✅ | 9s | ||
Performance metrics | 7✅ | 9⚪ | 10s | |
Track click directive: | 5✅ | 3s | ||
Track events directive: | 4✅ | 2s | ||
Track focus directive: | 5✅ | 4s |
✅ packages/@o3r/apis-manager/dist-test/ut-report.xml
3 tests were completed in 10s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
appendPreconnect | 3✅ | 6s |
✅ packages/@o3r/application/dist-test/ut-report.xml
1 tests were completed in 11s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
undefined | 1✅ | 7s |
✅ packages/@o3r/components/dist-test/ut-report.xml
63 tests were completed in 40s 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✅ | 32s | ||
Otter Inspector Service | 4✅ | 34s | ||
Placeholder component | 4✅ | 4s | ||
PlaceholderRequest Selectors tests | 2✅ | 957ms | ||
PlaceholderRequest Store reducer | 7✅ | 1s | ||
PlaceholderTemplate Store reducer | 3✅ | 1s | ||
Rendering helpers | 4✅ | 1s | ||
Replace with bold pipe | 7✅ | 1s | ||
selectPlaceholderRenderedTemplates | 4✅ | 27s |
✅ packages/@o3r/configuration/dist-test/ut-report.xml
36 tests were completed in 34s with 36 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Add Config | 6✅ | 19s | ||
ConfigOverride Store reducer | 2✅ | 883ms | ||
Configuration DevTools console | 5✅ | 22s | ||
Configuration DevTools message | 3✅ | 12s | ||
Configuration operators getConfiguration | 2✅ | 1s | ||
Configuration Store | 8✅ | 9s | ||
ConfigurationBaseService | 10✅ | 14s |
✅ packages/@o3r/core/dist-test/ut-report.xml
117 tests were completed in 161s with 116 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Add context | 5✅ | 6s | ||
AsyncOperator | 1✅ | 2s | ||
AsyncStoreItemAdapter tests | 22✅ | 2s | ||
Component container | 11✅ | 96s | ||
Component presenter | 13✅ | 158s | ||
Convert component generator | 3✅ | 6s | ||
createEntityAsyncRequestAdapter tests | 16✅ | 2s | ||
debug helper | 4✅ | 2s | ||
Deep fill function | 18✅ | 16s | ||
Page | 9✅ | 58s | ||
Rendering helpers | 4✅ | 2s | ||
Renovate Bot generator | 1✅ | 2s | ||
Service generator | 2✅ | 1⚪ | 4s | |
Store Action generator | 1✅ | 4s | ||
Store entity async generator | 2✅ | 6s | ||
Store entity sync generator | 1✅ | 4s | ||
Store simple async generator | 1✅ | 13s | ||
Store simple sync generator | 1✅ | 4s | ||
Update component decorators | 1✅ | 11s |
✅ packages/@o3r/dynamic-content/dist-test/ut-report.xml
62 tests were completed in 19s with 62 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AssetPathOverride Store reducer | 2✅ | 12s | ||
DynamicContentPipe | 1✅ | 2s | ||
DynamicContentService | 18✅ | 13s | ||
RequestParametersService | 41✅ | 12s |
✅ packages/@o3r/extractors/dist-test/ut-report.xml
4 tests were completed in 6s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
config doc | 4✅ | 5s |
✅ packages/@o3r/forms/dist-test/ut-report.xml
28 tests were completed in 19s with 28 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Form helpers | 15✅ | 9s | ||
FormErrorMessages Selectors | 2✅ | 1s | ||
FormErrorMessages Store reducer | 7✅ | 9s | ||
Max Date | 2✅ | 7s | ||
Min Date | 2✅ | 16s |
✅ 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✅ | 29s | ||
Add Localization | 6✅ | 11s | ||
Localization builder | 3✅ | 27s | ||
Localization DevTools console | 1✅ | 9s | ||
LocalizationOverride Store reducer | 2✅ | 2s | ||
LocalizationService | 10✅ | 4s | ||
LocalizationTranslatePipe | 5✅ | 6s | ||
LocalizedCurrencyPipe | 2✅ | 2s | ||
LocalizedDatePipe | 2✅ | 2s | ||
LocalizedDecimalPipe | 2✅ | 2s | ||
TranslationsLoader - no endPointUrl | 11✅ | 17s |
✅ packages/@o3r/logger/dist-test/ut-report.xml
16 tests were completed in 13s with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Logger service | 16✅ | 9s |
✅ packages/@o3r/mobile/dist-test/ut-report.xml
6 tests were completed in 9s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Capacitor helpers | 6✅ | 6s |
✅ packages/@o3r/routing/dist-test/ut-report.xml
57 tests were completed in 17s with 57 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
RequestParametersService | 41✅ | 12s | ||
Routing guard effects | 3✅ | 11s | ||
RoutingGuard Selectors tests | 5✅ | 1s | ||
RoutingGuard Store reducer | 8✅ | 11s |
✅ packages/@o3r/rules-engine/dist-test/ut-report.xml
267 tests were completed in 74s with 267 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Array based operator | 86✅ | 12s | ||
Basic operator | 20✅ | 1s | ||
Enable rules-engine on component | 4✅ | 36s | ||
Filter rulesets event operator | 5✅ | 1s | ||
Generate facts service | 1✅ | 8s | ||
Generate operator | 2✅ | 9s | ||
Number based operator | 12✅ | 1s | ||
Operator helpers | 15✅ | 999ms | ||
Operators | 32✅ | 1s | ||
Rule helpers | 13✅ | 879ms | ||
Rules engine debug | 5✅ | 3s | ||
Rules engine debug helpers | 6✅ | 1s | ||
Rules Engine DevTools console | 1✅ | 36s | ||
Rules Engine Effects | 5✅ | 2s | ||
Rules Engine Effects | 1✅ | 1s | ||
Rules engine fact | 2✅ | 948ms | ||
Rules engine service | 14✅ | 51s | ||
RuleSets Selector tests | 8✅ | 17s | ||
Rulesets Store reducer | 13✅ | 8s | ||
Rx Rule Engine | 5✅ | 7s | ||
ShoppingCart Effects | 1✅ | 1s | ||
ShoppingCart Selectors tests | 1✅ | 1s | ||
ShoppingCart Store reducer | 15✅ | 1s |
✅ packages/@o3r/store-sync/dist-test/ut-report.xml
40 tests were completed in 23s with 40 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ngrxLocalStorage | 40✅ | 20s |
✅ 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✅ | 621ms | ||
Localization Metadata setup | 4✅ | 8s | ||
Styling Metadata setup | 10✅ | 8s |
✅ packages/@o3r/styling/dist-test/ut-report.xml
15 tests were completed in 18s with 15 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Add Theming | 2✅ | 17s | ||
CSS Variable extractor | 2✅ | 15s | ||
Theming functions | 2✅ | 1s | ||
Theming mixins | 3✅ | 1s | ||
undefined | 1✅ | 493ms | ||
Update Styling imports | 1✅ | 8s | ||
Utils function | 4✅ | 6s |
✅ packages/@o3r/testing/dist-test/ut-report.xml
14 tests were completed in 33s with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Add Fixture | 5✅ | 27s | ||
Fixture | 2✅ | 24s | ||
Localization mocks imports | 1✅ | 2s | ||
Playwright Sanity | 2✅ | 3s | ||
Playwright Scenario | 2✅ | 24s | ||
Update ThrowOnUndefined helper | 2✅ | 2s |
✅ packages/@o3r/third-party/dist-test/ut-report.xml
9 tests were completed in 25s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
A/B testing bridge | 3✅ | 11s | ||
Add Iframe | 5✅ | 21s | ||
third party integration | 1✅ | 9s |
✅ packages/@o3r/workspace/dist-test/ut-report.xml
7 tests were completed in 23s with 5 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
generateApplication | 4✅ | 13s | ||
New module generator | 1✅ | 2⚪ | 19s |
Annotations
Check failure on line 17 in packages/@ama-sdk/core/src/plugins/timeout/timeout.spec.ts
github-actions / UT Tests report-ubuntu-latest
Timeout Fetch Plugin ► Timeout Fetch Plugin should reject on timeout ► Timeout Fetch Plugin should reject on timeout
Failed test found in:
packages/@ama-sdk/core/dist-test/ut-report.xml
Error:
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: [Error: [SDK] [Response timeout] in 100ms]
Number of calls: 0
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/core/src/plugins/timeout/timeout.spec.ts:17:22)