feat: add integration test for Otter Create package #4161
IT Tests report-ubuntu-latest-yarn ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/create/dist-test/it-report.xml | 2✅ | 96s | ||
@ama-sdk/schematics/dist-test/it-report.xml | 5ms | |||
@o3r/analytics/dist-test/it-report.xml | 2✅ | 332s | ||
@o3r/apis-manager/dist-test/it-report.xml | 1✅ | 75s | ||
@o3r/components/dist-test/it-report.xml | 1✅ | 105s | ||
@o3r/configuration/dist-test/it-report.xml | 1✅ | 108s | ||
@o3r/core/dist-test/it-report.xml | 2✅ | 1004s | ||
@o3r/create/dist-test/it-report.xml | 1❌ | 14s | ||
@o3r/extractors/dist-test/it-report.xml | 1✅ | 235s | ||
@o3r/localization/dist-test/it-report.xml | 1✅ | 116s | ||
@o3r/rules-engine/dist-test/it-report.xml | 1✅ | 107s | ||
@o3r/styling/dist-test/it-report.xml | 1✅ | 116s | ||
@o3r/testing/dist-test/it-report.xml | 1✅ | 134s |
✅ @ama-sdk/create/dist-test/it-report.xml
2 tests were completed in 96s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 2✅ | 95s |
✅ Create new sdk command
Create new sdk command should generate a full SDK when the specification is provided
✅ Create new sdk command should generate a full SDK when the specification is provided
Create new sdk command should generate an empty SDK ready to be used
✅ Create new sdk command should generate an empty SDK ready to be used
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
✅ @o3r/analytics/dist-test/it-report.xml
2 tests were completed in 332s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with analytics | 2✅ | 331s |
✅ new otter application with analytics
new otter application with analytics standalone should add analytics to existing application
✅ new otter application with analytics standalone should add analytics to existing application
new otter application with analytics monorepo should add analytics to existing application
✅ new otter application with analytics monorepo should add analytics to existing application
✅ @o3r/apis-manager/dist-test/it-report.xml
1 tests were completed in 75s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1✅ | 74s |
✅ new otter application with apis-manager
new otter application with apis-manager should add apis-manager to existing application
✅ new otter application with apis-manager should add apis-manager to existing application
✅ @o3r/components/dist-test/it-report.xml
1 tests were completed in 105s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with components | 1✅ | 104s |
✅ new otter application with components
new otter application with components should add components to existing application
✅ new otter application with components should add components to existing application
✅ @o3r/configuration/dist-test/it-report.xml
1 tests were completed in 108s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 1✅ | 107s |
✅ new otter application with configuration
new otter application with configuration should add configuration to existing application
✅ new otter application with configuration should add configuration to existing application
✅ @o3r/core/dist-test/it-report.xml
2 tests were completed in 1004s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 2✅ | 1003s |
✅ new otter application
new otter application standalone should build empty app
✅ new otter application standalone should build empty app
new otter application monorepo should build empty app
✅ new otter application monorepo should build empty app
❌ @o3r/create/dist-test/it-report.xml
1 tests were completed in 14s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 1❌ | 13s |
❌ Create new otter project command
Create new otter project command should generate a project with an application
❌ Create new otter project command should generate a project with an application
Error: expect(received).not.toThrow()
✅ @o3r/extractors/dist-test/it-report.xml
1 tests were completed in 235s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with extractors | 1✅ | 234s |
✅ new otter application with extractors
new otter application with extractors should add extractors to existing application
✅ new otter application with extractors should add extractors to existing application
✅ @o3r/localization/dist-test/it-report.xml
1 tests were completed in 116s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with localization | 1✅ | 115s |
✅ new otter application with localization
new otter application with localization should add localization to existing application
✅ new otter application with localization should add localization to existing application
✅ @o3r/rules-engine/dist-test/it-report.xml
1 tests were completed in 107s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with rules-engine | 1✅ | 106s |
✅ new otter application with rules-engine
new otter application with rules-engine should add rules engine to existing application
✅ new otter application with rules-engine should add rules engine to existing application
✅ @o3r/styling/dist-test/it-report.xml
1 tests were completed in 116s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with styling | 1✅ | 115s |
✅ new otter application with styling
new otter application with styling should add styling to existing application
✅ new otter application with styling should add styling to existing application
✅ @o3r/testing/dist-test/it-report.xml
1 tests were completed in 134s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with testing | 1✅ | 133s |
✅ new otter application with testing
new otter application with testing should add testing to existing application
✅ new otter application with testing should add testing to existing application
Annotations
Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn
Create new otter project command ► Create new otter project command should generate a project with an application ► Create new otter project command should generate a project with an application
Failed test found in:
@o3r/create/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn create @o3r create my-project
STDERR:
Error: Unknown argument: my-project
Error: spawnSync /opt/hostedtoolcache/node/18.19.0/x64/bin/node ENOENT
at Object.spawnSync (node:internal/child_process:1117:20)
at spawnSync (node:child_process:876:24)
at addOtterFramework (/tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:115:58)
at Object.<anonymous> (/tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:128:1)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at require$$0.Module._extensions..js (/tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7920:33)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at require$$0.Module._load (/tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7768:31) {
errno: -2,
code: 'ENOENT',
syscall: 'spawnSync /opt/hostedtoolcache/node/18.19.0/x64/bin/node',
path: '/opt/hostedtoolcache/node/18.19.0/x64/bin/node',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'yarn',
'--no-create-application'
]
}·
OUTPUT:
,➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
::group::Resolution step
➤ YN0085: │ + @o3r/create@npm:999.0.0, @angular-devkit/architect@npm:0.1700.6, @angular-devkit/core@npm:17.0.6, @angular-devkit/schematics@npm:17.0.6, and 216 more.
::endgroup::
➤ YN0000: └ Completed in 0s 588ms
➤ YN0000: ┌ Fetch step
::group::Fetch step
➤ YN0013: │ 220 packages were added to the project (+ 29.76 MiB).
::endgroup::
➤ YN0000: └ Completed in 0s 261ms
➤ YN0000: ┌ Link step
::group::Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
::endgroup::
➤ YN0000: └ Completed in 0s 247ms
➤ YN0000: · Done with warnings in 1s 142ms···
&BPPPB & &BPGB&
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5
BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5
&?!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7777????JJJJJJJYYYYJJJJJJJ????7777!!!!!!!!!!!!!!!!!!!!!!!!!!!7G
GJ?7!!!!!!!!!777??JJY55PGGBB##&&&& &&&##BBGPP5YJ??777!!!!!!!!!!7?5#
&#BBGGGGBB##&& &&#BBGGPPPGGB#···
..|''|| . .
.|' || .||. .||. .... ... ..
|| || || || .|...|| ||' ''
'|. || || || || ||
''|...|' '|.' '|.' '|...' .||.·
,Error: Unknown argument: my-project
Error: spawnSync /opt/hostedtoolcache/node/18.19.0/x64/bin/node ENOENT
at Object.spawnSync (node:internal/child_process:1117:20)
at spawnSync (node:child_process:876:24)
at addOtterFramework (/tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:115:58)
at Object.<anonymous> (/tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:128:1)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at require$$0.Module._extensions..js (/tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7920:33)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at require$$0.Module._load (/tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7768:31) {
errno: -2,
code: 'ENOENT',
syscall: 'spawnSync /opt/hostedtoolcache/node/18.19.0/x64/bin/node',
path: '/opt/hostedtoolcache/node/18.19.0/x64/bin/node',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'yarn',
'--no-create-application'
]
}
"
at addOtterFramework (../../../../../tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:115:58)
at Object.<anonymous> (../../../../../tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:128:1)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at require$$0.Module._extensions..js (../../../../../tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7920:33)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at require$$0.Module._load (../../../../../tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7768:31) {
errno: -2,
code: 'ENOENT',
syscall: 'spawnSync /opt/hostedtoolcache/node/18.19.0/x64/bin/node',
path: '/opt/hostedtoolcache/node/18.19.0/x64/bin/node',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'yarn',
'--no-create-application'
]
}
OUTPUT:
,➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
::group::Resolution step
➤ YN0085: │ + @o3r/create@npm:999.0.0, @angular-devkit/architect@npm:0.1700.6, @angular-devkit/core@npm:17.0.6, @angular-devkit/schematics@npm:17.0.6, and 216 more.
::endgroup::
➤ YN0000: └ Completed in 0s 588ms
➤ YN0000: ┌ Fetch step
::group::Fetch step
➤ YN0013: │ 220 packages were added to the project (+ 29.76 MiB).
::endgroup::
➤ YN0000: └ Completed in 0s 261ms
➤ YN0000: ┌ Link step
::group::Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
::endgroup::
➤ YN0000: └ Completed in 0s 247ms
➤ YN0000: · Done with warnings in 1s 142ms
&BPPPB & &BPGB&
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
#!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7777????JJJJJJJYYYYJJJJJJJ????7777!!!!!!!!!!!!!!!!!!!!!!!!!!!7G
GJ?7!!!!!!!!!777??JJY55PGGBB##&&&& &&&##BBGPP5YJ??777!!!!!!!!!!7?5#
&#BBGGGGBB##&& &&#BBGGPPPGGB#
..|''|| . .
.|' || .||. .||. .... ... ..
|| || || || .|...|| ||' ''
'|. || || || || ||
''|...|' '|.' '|.' '|...' .||.
,Error: Unknown argument: my-project
Error: spawnSync /opt/hostedtoolcache/node/18.19.0/x64/bin/node ENOENT
at Object.spawnSync (node:internal/child_process:1117:20)
at spawnSync (node:child_process:876:24)
at addOtterFramework (../../../../../tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:115:58)
at Object.<anonymous> (../../../../../tmp/xfs-c69c1c92/dlx-27852/.yarn/cache/@o3r-create-npm-999.0.0-ea9a3036fd-c447a57c1e.zip/node_modules/@o3r/create/index.js:128:1)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at require$$0.Module._extensions..js (../../../../../tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7920:33)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at require$$0.Module._load (../../../../../tmp/xfs-c69c1c92/dlx-27852/.pnp.cjs:7768:31) {
errno: -2,
code: 'ENOENT',
syscall: 'spawnSync /opt/hostedtoolcache/node/18.19.0/x64/bin/node',
path: '/opt/hostedtoolcache/node/18.19.0/x64/bin/node',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'yarn',
'--no-create-application'
]
}
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:90:10)
at packages/@o3r/create/src/index.it.spec.ts:48:38
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/create/src/index.it.spec.ts:48:86)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:48:86)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)