64 passed, 1 failed and 2 skipped
✅ @ama-sdk/create/dist-test/it-report.xml
7 tests were completed in 628s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 7✅ | 618s |
✅ Create new sdk command
Create new sdk command should generate a light SDK when the specification is provided
✅ Create new sdk command should generate a light 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 a full SDK when the specification is provided
Create new sdk command should generate a full SDK when the specification is provided as npm dependency
✅ Create new sdk command should generate a full SDK when the specification is provided as npm dependency
Create new sdk command should generate an SDK with no package scope
✅ Create new sdk command should generate an SDK with no package scope
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
Create new sdk command should fail when there is an error
✅ Create new sdk command should fail when there is an error
Create new sdk command should use pinned versions when --exact-o3r-version is used
✅ Create new sdk command should use pinned versions when --exact-o3r-version is used
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
✅ @o3r/analytics/dist-test/it-report.xml
2 tests were completed in 180s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add analytics | 2✅ | 166s |
✅ ng add analytics
ng add analytics should add analytics to an application
✅ ng add analytics should add analytics to an application
ng add analytics should add analytics to a library
✅ ng add analytics should add analytics to a library
✅ @o3r/apis-manager/dist-test/it-report.xml
1 tests were completed in 73s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1✅ | 62s |
✅ 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/application/dist-test/it-report.xml
1 tests were completed in 48s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1✅ | 36s |
✅ new Angular application
new Angular application should add Otter Application to existing Angular app
✅ new Angular application should add Otter Application to existing Angular app
✅ @o3r/components/dist-test/it-report.xml
8 tests were completed in 741s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 722s | ||
ng add components | 2✅ | 160s |
✅ check metadata migration
check metadata migration should not throw
✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
✅ check metadata migration should throw because of unused migration data
✅ ng add components
ng add components should add components to an application
✅ ng add components should add components to an application
ng add components should add components to a library
✅ ng add components should add components to a library
✅ @o3r/configuration/dist-test/it-report.xml
2 tests were completed in 154s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 2✅ | 141s |
✅ new otter application with configuration
new otter application with configuration should add configuration to an application
✅ new otter application with configuration should add configuration to an application
new otter application with configuration should add configuration to a library
✅ new otter application with configuration should add configuration to a library
✅ @o3r/core/dist-test/it-report.xml
1 tests were completed in 883s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 1✅ | 859s |
✅ new otter application
new otter application should build empty app
✅ new otter application should build empty app
✅ @o3r/create/dist-test/it-report.xml
3 tests were completed in 509s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 3✅ | 499s |
✅ 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
Create new otter project command should generate a project with a library
✅ Create new otter project command should generate a project with a library
Create new otter project command should generate a project with an application with --exact-o3r-version
✅ Create new otter project command should generate a project with an application with --exact-o3r-version
✅ @o3r/design/dist-test/it-report.xml
1 tests were completed in 74s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with Design | 1✅ | 60s |
✅ new otter application with Design
new otter application with Design should add design to existing application
✅ new otter application with Design should add design to existing application
✅ @o3r/eslint-config-otter/dist-test/it-report.xml
2 tests were completed in 156s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add eslint-config | 2✅ | 143s |
✅ ng add eslint-config
ng add eslint-config should add eslint-config to an application
✅ ng add eslint-config should add eslint-config to an application
ng add eslint-config should add eslint-config to a library
✅ ng add eslint-config should add eslint-config to a library
✅ @o3r/eslint-config/dist-test/it-report.xml
3 tests were completed in 505s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with eslint config | 3✅ | 484s |
✅ new otter application with eslint config
new otter application with eslint config should add eslint config to existing application
✅ new otter application with eslint config should add eslint config to existing application
new otter application with eslint config should add eslint config to existing library
✅ new otter application with eslint config should add eslint config to existing library
new otter application with eslint config should add eslint config to existing repository
✅ new otter application with eslint config should add eslint config to existing repository
✅ @o3r/extractors/dist-test/it-report.xml
3 tests were completed in 404s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
aggregate migration scripts | 1✅ | 320s | ||
ng add extractors | 2✅ | 382s |
✅ aggregate migration scripts
aggregate migration scripts should create migration scripts including lib content
✅ aggregate migration scripts should create migration scripts including lib content
✅ ng add extractors
ng add extractors should add extractors to an application
✅ ng add extractors should add extractors to an application
ng add extractors should add extractors to a library
✅ ng add extractors should add extractors to a library
✅ @o3r/localization/dist-test/it-report.xml
8 tests were completed in 801s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 782s | ||
ng add otter localization | 2✅ | 206s |
✅ check metadata migration
check metadata migration should not throw
✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
✅ check metadata migration should throw because of unused migration data
✅ ng add otter localization
ng add otter localization should add localization to an application
✅ ng add otter localization should add localization to an application
ng add otter localization should add localization to a library
✅ ng add otter localization should add localization to a library
✅ @o3r/new-version/dist-test/it-report.xml
1 tests were completed in 58s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
undefined | 1✅ | 46s |
✅ undefined
should add Otter Application to existing Angular app
✅ should add Otter Application to existing Angular app
✅ @o3r/pipeline/dist-test/it-report.xml
2 tests were completed in 72s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter project | 2✅ | 60s |
✅ new otter project
new otter project should add a GitHub pipeline to existing project
✅ new otter project should add a GitHub pipeline to existing project
new otter project should add a GitHub pipeline to existing project with custom runner and registry
✅ new otter project should add a GitHub pipeline to existing project with custom runner and registry
✅ @o3r/rules-engine/dist-test/it-report.xml
2 tests were completed in 148s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add rules-engine | 2✅ | 134s |
✅ ng add rules-engine
ng add rules-engine should add rules engine to an application
✅ ng add rules-engine should add rules engine to an application
ng add rules-engine should add rules engine to a library
✅ ng add rules-engine should add rules engine to a library
✅ @o3r/stylelint-plugin/dist-test/it-report.xml
2 tests were completed in 143s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add stylelint-plugin | 2✅ | 131s |
✅ ng add stylelint-plugin
ng add stylelint-plugin should add stylelint-plugin to an application
✅ ng add stylelint-plugin should add stylelint-plugin to an application
ng add stylelint-plugin should add stylelint-plugin to a library
✅ ng add stylelint-plugin should add stylelint-plugin to a library
✅ @o3r/styling/dist-test/it-report.xml
8 tests were completed in 784s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 6✅ | 766s | ||
ng add styling | 2✅ | 201s |
✅ check metadata migration
check metadata migration should not throw
✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
✅ check metadata migration should throw because of unused migration data
✅ ng add styling
ng add styling should add styling to an application
✅ ng add styling should add styling to an application
ng add styling should add styling to a library
✅ ng add styling should add styling to a library
✅ @o3r/testing/dist-test/it-report.xml
4 tests were completed in 151s with 2 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add testing | 2✅ | 2⚪ | 134s |
✅ ng add testing
ng add testing should add testing to an application
✅ ng add testing should add testing to an application
ng add testing should add testing to an application and fixture to component
✅ ng add testing should add testing to an application and fixture to component
ng add testing should add testing to a library
⚪ ng add testing should add testing to a library
ng add testing should add testing to a library and fixture to component
⚪ ng add testing should add testing to a library and fixture to component
✅ @o3r/third-party/dist-test/it-report.xml
1 tests were completed in 301s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1✅ | 290s |
✅ new Angular application
new Angular application should add Otter Third Party to existing Angular app
✅ new Angular application should add Otter Third Party to existing Angular app
❌ @o3r/workspace/dist-test/it-report.xml
5 tests were completed in 554s with 4 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter workspace | 4✅ | 1❌ | 543s |
❌ new otter workspace
new otter workspace should add sdk to an existing workspace
✅ new otter workspace should add sdk to an existing workspace
new otter workspace should add sdk to an existing workspace with local spec
✅ new otter workspace should add sdk to an existing workspace with local spec
new otter workspace should add sdk to an existing workspace with spec package name
✅ new otter workspace should add sdk to an existing workspace with spec package name
new otter workspace should add a library to an existing workspace
✅ new otter workspace should add a library to an existing workspace
new otter workspace should generate a monorepo setup
❌ new otter workspace should generate a monorepo setup
Error: expect(received).not.toThrow()
Annotations
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-yarn-
new otter workspace ► new otter workspace should generate a monorepo setup ► new otter workspace should generate a monorepo setup
Failed test found in:
@o3r/workspace/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 run test
STDERR:
lerna notice cli v8.1.9
lerna info ci enabled·
OUTPUT:
,·
Lerna (powered by Nx) Running target test for 3 projects:···
- test-app·
- test-lib·
- untouched-lib·······
::group::❌ > untouched-lib:test···
Error: Your application tried to access ts-jest, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.
Required package: ts-jest
Required by: D:\\a\\otter\\it-tests\\test-app-workspace4\\libs\\untouched-lib\\
Require stack:
- D:\\a\\otter\\it-tests\\test-app-workspace4\\libs\\untouched-lib\\jest.config.js
- D:\\a\\otter\\otter\\.cache\\test-app\\cache\\jest-util-npm-29.7.0-ff1d59714b-10c0.zip\\node_modules\\jest-util\\build\\requireOrImportModule.js
- D:\\a\\otter\\otter\\.cache\\test-app\\cache\\jest-util-npm-29.7.0-ff1d59714b-10c0.zip\\node_modules\\jest-util\\build\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\FailedTestsInteractiveMode.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\plugins\\FailedTestsInteractive.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\watch.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\cli\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-cli-virtual-d20567bc42\\3\\otter\\.cache\\test-app\\cache\\jest-cli-npm-29.7.0-9adb356180-10c0.zip\\node_modules\\jest-cli\\build\\run.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-cli-virtual-d20567bc42\\3\\otter\\.cache\\test-app\\cache\\jest-cli-npm-29.7.0-9adb356180-10c0.zip\\node_modules\\jest-cli\\build\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-cli-virtual-d20567bc42\\3\\otter\\.cache\\test-app\\cache\\jest-cli-npm-29.7.0-9adb356180-10c0.zip\\node_modules\\jest-cli\\bin\\jest.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-virtual-cbaa8e867a\\3\\otter\\.cache\\test-app\\cache\\jest-npm-29.7.0-d8dd095b81-10c0.zip\\node_modules\\jest\\bin\\jest.js
at require$$0.Module._resolveFilename (D:\\a\\otter\\it-tests\\test-app-workspace4\\.pnp.cjs:27191:13)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at require$$0.Module._load (D:\\a\\otter\\it-tests\\test-app-workspace4\\.pnp.cjs:27082:31)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (D:\\a\\otter\\it-tests\\test-app-workspace4\\libs\\untouched-lib\\jest.config.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at require$$0.Module._extensions..js (D:\\a\\otter\\it-tests\\test-app-workspace4\\.pnp.cjs:27235:35)
at Module.load (node:internal/modules/cjs/loader:1288:32)
::endgroup::·
::group::❌ > test-lib:test···
Error: Your application tried to access ts-jest, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.
Required package: ts-jest
Required by: D:\\a\\otter\\it-tests\\test-app-workspace4\\libs\\test-lib\\
Require stack:
- D:\\a\\otter\\it-tests\\test-app-workspace4\\libs\\test-lib\\jest.config.js
- D:\\a\\otter\\otter\\.cache\\test-app\\cache\\jest-util-npm-29.7.0-ff1d59714b-10c0.zip\\node_modules\\jest-util\\build\\requireOrImportModule.js
- D:\\a\\otter\\otter\\.cache\\test-app\\cache\\jest-util-npm-29.7.0-ff1d59714b-10c0.zip\\node_modules\\jest-util\\build\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\FailedTestsInteractiveMode.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\plugins\\FailedTestsInteractive.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\watch.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\cli\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\@jest-core-virtual-9990ebc370\\3\\otter\\.cache\\test-app\\cache\\@jest-core-npm-29.7.0-cef60d74c4-10c0.zip\\node_modules\\@jest\\core\\build\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-cli-virtual-d20567bc42\\3\\otter\\.cache\\test-app\\cache\\jest-cli-npm-29.7.0-9adb356180-10c0.zip\\node_modules\\jest-cli\\build\\run.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-cli-virtual-d20567bc42\\3\\otter\\.cache\\test-app\\cache\\jest-cli-npm-29.7.0-9adb356180-10c0.zip\\node_modules\\jest-cli\\build\\index.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-cli-virtual-d20567bc42\\3\\otter\\.cache\\test-app\\cache\\jest-cli-npm-29.7.0-9adb356180-10c0.zip\\node_modules\\jest-cli\\bin\\jest.js
- D:\\a\\otter\\it-tests\\test-app-workspace4\\.yarn\\__virtual__\\jest-virtual-cbaa8e867a\\3\\otter\\.cache\\test-app\\cache\\jest-npm-29.7.0-d8dd095b81-10c0.zip\\node_modules\\jest\\bin\\jest.js
at require$$0.Module._resolveFilename (D:\\a\\otter\\it-tests\\test-app-workspace4\\.pnp.cjs:27191:13)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at require$$0.Module._load (D:\\a\\otter\\it-tests\\test-app-workspace4\\.pnp.cjs:27082:31)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (D:\\a\\otter\\it-tests\\test-app-workspace4\\libs\\test-lib\\jest.config.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at require$$0.Module._extensions..js (D:\\a\\otter\\it-tests\\test-app-workspace4\\.pnp.cjs:27235:35)
at Module.load (node:internal/modules/cjs/loader:1288:32)
::endgroup::·
::group::✅ > test-app:test···
PASS test-app src/app/app.component.spec.ts
AppComponent
√ should create the app (138 ms)
√ should have the 'test-app' title (15 ms)
√ should render title (23 ms)·
Test Suites: 1 passed, 1 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 5.539 s
Ran all test suites.
::endgroup::·····
Lerna (powered by Nx) Running target test for 3 projects failed···
Failed tasks:···
- untouched-lib:test·
- test-lib:test···
,lerna notice cli v8.1.9
lerna info ci enabled
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:226:10)
at packages/@o3r/workspace/schematics/index.it.spec.ts:137:35
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/workspace/schematics/index.it.spec.ts:137:77)
at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\workspace\schematics\index.it.spec.ts:137:77)