Feature/otter theme entrypoint #4470
IT Tests report-ubuntu-latest-npm ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/create/dist-test/it-report.xml | 2✅ | 158s | ||
@ama-sdk/generator-sdk/dist-test/it-report.xml | 1✅ | 194s | ||
@ama-sdk/schematics/dist-test/it-report.xml | 2ms | |||
@o3r/analytics/dist-test/it-report.xml | 2✅ | 297s | ||
@o3r/apis-manager/dist-test/it-report.xml | 1✅ | 82s | ||
@o3r/components/dist-test/it-report.xml | 1✅ | 89s | ||
@o3r/configuration/dist-test/it-report.xml | 1✅ | 90s | ||
@o3r/core/dist-test/it-report.xml | 2❌ | 421s | ||
@o3r/extractors/dist-test/it-report.xml | 1✅ | 182s | ||
@o3r/localization/dist-test/it-report.xml | 1✅ | 113s | ||
@o3r/rules-engine/dist-test/it-report.xml | 1✅ | 119s | ||
@o3r/styling/dist-test/it-report.xml | 1❌ | 196s | ||
@o3r/testing/dist-test/it-report.xml | 1✅ | 89s |
✅ @ama-sdk/create/dist-test/it-report.xml
2 tests were completed in 158s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 2✅ | 158s |
✅ 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/generator-sdk/dist-test/it-report.xml
1 tests were completed in 194s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/sdk:create | 1✅ | 194s |
✅ @ama-sdk/sdk:create
@ama-sdk/sdk:create should generate a working SDK
✅ @ama-sdk/sdk:create should generate a working SDK
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
✅ @o3r/analytics/dist-test/it-report.xml
2 tests were completed in 297s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with analytics | 2✅ | 297s |
✅ 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 82s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1✅ | 82s |
✅ 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 89s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with components | 1✅ | 89s |
✅ 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 90s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 1✅ | 89s |
✅ 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 421s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 2❌ | 421s |
❌ new otter application
new otter application standalone should build empty app
❌ new otter application standalone should build empty app
Error: expect(received).not.toThrow()
new otter application monorepo should build empty app
❌ new otter application monorepo should build empty app
Error: expect(received).not.toThrow()
✅ @o3r/extractors/dist-test/it-report.xml
1 tests were completed in 182s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with extractors | 1✅ | 181s |
✅ 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 113s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with localization | 1✅ | 113s |
✅ 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 119s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with rules-engine | 1✅ | 119s |
✅ 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 196s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with styling | 1❌ | 196s |
❌ 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
Error: expect(received).not.toThrow()
✅ @o3r/testing/dist-test/it-report.xml
1 tests were completed in 89s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with testing | 1✅ | 88s |
✅ 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-npm
new otter application ► new otter application standalone should build empty app ► new otter application standalone should build empty app
Failed test found in:
@o3r/core/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 run build
STDERR:
The file /home/runner/work/otter/it-tests/test-app-core/localisation.metadata.json does not exist, the extractor will be run
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
Warning: /home/runner/work/otter/it-tests/test-app-core/node_modules/@o3r/application/fesm2022/o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /home/runner/work/otter/it-tests/test-app-core/node_modules/ngrx-store-localstorage/fesm2022/ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Can't find stylesheet to import.
╷
33 │ @use '@material/focus-ring/focus-ring';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/@material/button/_button-base.scss 33:1 @use
@material/button/_button.scss 30:1 @use
node_modules/@angular/material/button/_button-theme.scss 2:1 @use
node_modules/@angular/material/core/density/private/_all-density.scss 2:1 @forward
@angular/_index.scss 20:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_theme.scss 4:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_variables.scss 2:1 @forward
@o3r/styling/_index.scss 1:1 @use
src/styling/_theme.scss 1:1 @import
src/styles.scss 5:9 root stylesheet
./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Can't find stylesheet to import.
╷
33 │ @use '@material/focus-ring/focus-ring';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/@material/button/_button-base.scss 33:1 @use
@material/button/_button.scss 30:1 @use
node_modules/@angular/material/button/_button-theme.scss 2:1 @use
node_modules/@angular/material/core/density/private/_all-density.scss 2:1 @forward
@angular/_index.scss 20:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_theme.scss 4:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_variables.scss 2:1 @forward
@o3r/styling/_index.scss 1:1 @use
src/styling/_theme.scss 1:1 @import
src/styles.scss 5:9 root stylesheet
·
OUTPUT:
,
> [email protected] build
> npm run generate:translations && ng build··
> [email protected] generate:translations
> ng run test-app:generate-translations:production·
Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk /home/runner/work/otter/it-tests/test-app-core/dist/localizations/en-GB.json
,The file /home/runner/work/otter/it-tests/test-app-core/localisation.metadata.json does not exist, the extractor will be run
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
Warning: /home/runner/work/otter/it-tests/test-app-core/node_modules/@o3r/application/fesm2022/o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /home/runner/work/otter/it-tests/test-app-core/node_modules/ngrx-store-localstorage/fesm2022/ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Can't find stylesheet to import.
╷
33 │ @use '@material/focus-ring/focus-ring';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/@material/button/_button-base.scss 33:1 @use
@material/button/_button.scss 30:1 @use
node_modules/@angular/material/button/_button-theme.scss 2:1 @use
node_modules/@angular/material/core/density/private/_all-density.scss 2:1 @forward
@angular/_index.scss 20:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_theme.scss 4:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_variables.scss 2:1 @forward
@o3r/styling/_index.scss 1:1 @use
src/styling/_theme.scss 1:1 @import
src/styles.scss 5:9 root stylesheet
./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Can't find stylesheet to import.
╷
33 │ @use '@material/focus-ring/focus-ring';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/@material/button/_button-base.scss 33:1 @use
@material/button/_button.scss 30:1 @use
node_modules/@angular/material/button/_button-theme.scss 2:1 @use
node_modules/@angular/material/core/density/private/_all-density.scss 2:1 @forward
@angular/_index.scss 20:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_theme.scss 4:1 @use
node_modules/@o3r/styling/scss/theming/otter-theme/_variables.scss 2:1 @forward
@o3r/styling/_index.scss 1:1 @use
src/styling/_theme.scss 1:1 @import
src/styles.scss 5:9 root stylesheet
"
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 execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
at packages/@o3r/core/schematics/index.it.spec.ts:84:37
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:84:68)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/core/schematics/index.it.spec.ts:84:68)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.zip/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.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-3494371489.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-3494371489.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-3494371489.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-f0405778ea.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-f0405778ea.zip/node_modules/jest-runner/build/runTest.js:444:34)
Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm
new otter application ► new otter application monorepo should build empty app ► new otter application monorepo should build empty app
Failed test found in:
@o3r/core/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 run build
STDERR:
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
- Copying assets...
✔ Copying assets complete.
- Generating index html...
✔ Index html generation complete.
npm WARN ignoring workspace config at /home/runner/work/otter/it-tests/test-app-core-monorepo/projects/test-app/.npmrc·
The file /home/runner/work/otter/it-tests/test-app-core-monorepo/localisation.metadata.json does not exist, the extractor will be run
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
Warning: /home/runner/work/otter/it-tests/test-app-core-monorepo/node_modules/@o3r/application/fesm2022/o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /home/runner/work/otter/it-tests/test-app-core-monorepo/node_modules/ngrx-store-localstorage/fesm2022/ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
./projects/test-app/src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
./projects/test-app/src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
npm ERR! Lifecycle script `build` failed with error:·
npm ERR! Error: command failed·
npm ERR! in workspace: [email protected]·
npm ERR! at location: /home/runner/work/otter/it-tests/test-app-core-monorepo/projects/test-app··
OUTPUT:
,
> [email protected] build
> npm run build --workspaces··
> [email protected] build
> ng build··
Initial Chunk Files | Names | Raw Size | Estimated Transfer Size
main.24adfbc06cd9fcd0.js | main | 207.73 kB | 56.49 kB
polyfills.f7024f6504ff10a1.js | polyfills | 33.04 kB | 10.67 kB
runtime.19a1e7ee5b2d6610.js | runtime | 906 bytes | 522 bytes
styles.ef46db3751d8e999.css | styles | 0 bytes | -
| Initial Total | 241.65 kB | 67.67 kB
Build at: 2023-10-12T18:20:54.121Z - Hash: 3d6650ee5a1fc9d1 - Time: 19096ms·
> [email protected] build
> npm run generate:translations && ng build··
> [email protected] generate:translations
> ng run test-app:generate-translations:production·
Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk /home/runner/work/otter/it-tests/test-app-core-monorepo/projects/test-app/projects/test-app/dist/localizations/en-GB.json
,- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
- Copying assets...
✔ Copying assets complete.
- Generating index html...
✔ Index html generation complete.
npm WARN ignoring workspace config at /home/runner/work/otter/it-tests/test-app-core-monorepo/projects/test-app/.npmrc·
The file /home/runner/work/otter/it-tests/test-app-core-monorepo/localisation.metadata.json does not exist, the extractor will be run
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
Warning: /home/runner/work/otter/it-tests/test-app-core-monorepo/node_modules/@o3r/application/fesm2022/o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /home/runner/work/otter/it-tests/test-app-core-monorepo/node_modules/ngrx-store-localstorage/fesm2022/ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
./projects/test-app/src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
./projects/test-app/src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
npm ERR! Lifecycle script `build` failed with error:·
npm ERR! Error: command failed·
npm ERR! in workspace: [email protected]·
npm ERR! at location: /home/runner/work/otter/it-tests/test-app-core-monorepo/projects/test-app·
"
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 execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
at packages/@o3r/core/schematics/index.it.spec.ts:213:37
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:213:68)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/core/schematics/index.it.spec.ts:213:68)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.zip/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.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-3494371489.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-3494371489.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-3494371489.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-f0405778ea.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-f0405778ea.zip/node_modules/jest-runner/build/runTest.js:444:34)
Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm
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
Failed test found in:
@o3r/styling/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 run build
STDERR:
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
Warning: /home/runner/work/otter/it-tests/test-app-styling/node_modules/@o3r/application/fesm2022/o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /home/runner/work/otter/it-tests/test-app-styling/node_modules/ngrx-store-localstorage/fesm2022/ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
·
OUTPUT:
,
> [email protected] build
> ng build·
,- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
Warning: /home/runner/work/otter/it-tests/test-app-styling/node_modules/@o3r/application/fesm2022/o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /home/runner/work/otter/it-tests/test-app-styling/node_modules/ngrx-store-localstorage/fesm2022/ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styling/global-styles.scss 6:26 @import
src/styles.scss 6:9 root stylesheet
"
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 execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
at packages/@o3r/styling/schematics/index.it.spec.ts:30:35
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/styling/schematics/index.it.spec.ts:30:66)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/styling/schematics/index.it.spec.ts:30:66)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.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-3494371489.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-f0405778ea.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-f0405778ea.zip/node_modules/jest-runner/build/runTest.js:444:34)