feat: add integration test for Otter Create package #4161
IT Tests report-windows-latest-npm ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/create/dist-test/it-report.xml | 2✅ | 183s | ||
@ama-sdk/schematics/dist-test/it-report.xml | 6ms | |||
@o3r/analytics/dist-test/it-report.xml | 2✅ | 245s | ||
@o3r/apis-manager/dist-test/it-report.xml | 1✅ | 54s | ||
@o3r/components/dist-test/it-report.xml | 1✅ | 76s | ||
@o3r/configuration/dist-test/it-report.xml | 1✅ | 76s | ||
@o3r/core/dist-test/it-report.xml | 2✅ | 848s | ||
@o3r/create/dist-test/it-report.xml | 1❌ | 22s | ||
@o3r/extractors/dist-test/it-report.xml | 1✅ | 206s | ||
@o3r/localization/dist-test/it-report.xml | 1✅ | 90s | ||
@o3r/rules-engine/dist-test/it-report.xml | 1✅ | 85s | ||
@o3r/styling/dist-test/it-report.xml | 1✅ | 93s | ||
@o3r/testing/dist-test/it-report.xml | 1✅ | 70s |
✅ @ama-sdk/create/dist-test/it-report.xml
2 tests were completed in 183s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 2✅ | 182s |
✅ 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 245s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with analytics | 2✅ | 244s |
✅ 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 54s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1✅ | 53s |
✅ 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 76s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with components | 1✅ | 75s |
✅ 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 76s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 1✅ | 75s |
✅ 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 848s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 2✅ | 847s |
✅ 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 22s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 1❌ | 21s |
❌ 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 206s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with extractors | 1✅ | 204s |
✅ 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 90s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with localization | 1✅ | 89s |
✅ 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 85s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with rules-engine | 1✅ | 84s |
✅ 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 93s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with styling | 1✅ | 92s |
✅ 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 70s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with testing | 1✅ | 69s |
✅ 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-windows-latest-npm
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: npm create --yes @o3r create my-project
STDERR:
Error: Unknown argument: my-project
Error: spawnSync C:\\hostedtoolcache\\windows\\node\\18.19.0\\x64\\node.exe ENOENT
at Object.spawnSync (node:internal/child_process:1117:20)
at spawnSync (node:child_process:876:24)
at addOtterFramework (D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_npx\\f28c8debf1335594\\node_modules\\@o3r\\create\\index.js:115:58)
at Object.<anonymous> (D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_npx\\f28c8debf1335594\\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 Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
errno: -4058,
code: 'ENOENT',
syscall: 'spawnSync C:\\\\hostedtoolcache\\\\windows\\\\node\\\\18.19.0\\\\x64\\\\node.exe',
path: 'C:\\\\hostedtoolcache\\\\windows\\\\node\\\\18.19.0\\\\x64\\\\node.exe',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'npm',
'--no-create-application'
]
}
npm ERR! code 2
npm ERR! path D:\\a\\otter\\it-tests\\test-create-app
npm ERR! command failed
npm ERR! command C:\\Windows\\system32\\cmd.exe /d /s /c create create my-project·
npm ERR! A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2023-12-11T10_45_45_400Z-debug-0.log·
OUTPUT:
,·
&BPPPB & &BPGB&
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5
BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B
G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75&
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B
P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y&
&Y!!!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|| .|...|| ||' ''
'|. || || || || ||
''|...|' '|.' '|.' '|...' .||.·
,Error: Unknown argument: my-project
Error: spawnSync C:\\hostedtoolcache\\windows\\node\\18.19.0\\x64\\node.exe ENOENT
at Object.spawnSync (node:internal/child_process:1117:20)
at spawnSync (node:child_process:876:24)
at addOtterFramework (D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_npx\\f28c8debf1335594\\node_modules\\@o3r\\create\\index.js:115:58)
at Object.<anonymous> (D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_npx\\f28c8debf1335594\\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 Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
errno: -4058,
code: 'ENOENT',
syscall: 'spawnSync C:\\\\hostedtoolcache\\\\windows\\\\node\\\\18.19.0\\\\x64\\\\node.exe',
path: 'C:\\\\hostedtoolcache\\\\windows\\\\node\\\\18.19.0\\\\x64\\\\node.exe',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'npm',
'--no-create-application'
]
}
npm ERR! code 2
npm ERR! path D:\\a\\otter\\it-tests\\test-create-app
npm ERR! command failed
npm ERR! command C:\\Windows\\system32\\cmd.exe /d /s /c create create my-project·
npm ERR! A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2023-12-11T10_45_45_400Z-debug-0.log
"
66 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
67 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 68 | throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
69 | }
70 | }
71 |
at addOtterFramework (.cache/test-app/npm-cache/_npx/f28c8debf1335594/node_modules/@o3r/create/index.js:115:58)
at Object.<anonymous> (.cache/test-app/npm-cache/_npx/f28c8debf1335594/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 Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
errno: -4058,
code: 'ENOENT',
syscall: 'spawnSync C:\\hostedtoolcache\\windows\\node\\18.19.0\\x64\\node.exe',
path: 'C:\\hostedtoolcache\\windows\\node\\18.19.0\\x64\\node.exe',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'npm',
'--no-create-application'
]
}
npm ERR! code 2
npm ERR! path D:\a\otter\it-tests\test-create-app
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create create my-project
npm ERR! A complete log of this run can be found in: D:\a\otter\otter\.cache\test-app\npm-cache\_logs\2023-12-11T10_45_45_400Z-debug-0.log
OUTPUT:
,
&BPPPB & &BPGB&
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5
BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B
G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75&
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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&&&& &&&##BBGPP5YJ??777!!!!!!!!!!7?5#
&#BBGGGGBB##&& &&#BBGGPPPGGB#
..|''|| . .
.|' || .||. .||. .... ... ..
|| || || || .|...|| ||' ''
'|. || || || || ||
''|...|' '|.' '|.' '|...' .||.
,Error: Unknown argument: my-project
Error: spawnSync C:\hostedtoolcache\windows\node\18.19.0\x64\node.exe ENOENT
at Object.spawnSync (node:internal/child_process:1117:20)
at spawnSync (node:child_process:876:24)
at addOtterFramework (.cache/test-app/npm-cache/_npx/f28c8debf1335594/node_modules/@o3r/create/index.js:115:58)
at Object.<anonymous> (.cache/test-app/npm-cache/_npx/f28c8debf1335594/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 Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
errno: -4058,
code: 'ENOENT',
syscall: 'spawnSync C:\\hostedtoolcache\\windows\\node\\18.19.0\\x64\\node.exe',
path: 'C:\\hostedtoolcache\\windows\\node\\18.19.0\\x64\\node.exe',
spawnargs: [
'add',
'@o3r/[email protected]',
'my-project',
'--style',
'scss',
'--package-manager',
'npm',
'--no-create-application'
]
}
npm ERR! code 2
npm ERR! path D:\a\otter\it-tests\test-create-app
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create create my-project
npm ERR! A complete log of this run can be found in: D:\a\otter\otter\.cache\test-app\npm-cache\_logs\2023-12-11T10_45_45_400Z-debug-0.log
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> (D:\a\otter\otter\packages\@o3r\create\src\index.it.spec.ts:48:86)
at Promise.then.completed (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\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 (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)