Skip to content

feat: add design token page on showcase app #39

feat: add design token page on showcase app

feat: add design token page on showcase app #39

GitHub Actions / IT Tests report-ubuntu-latest-npm failed Jan 23, 2024 in 0s

IT Tests report-ubuntu-latest-npm ❌

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 1✅ 1❌ 88s
@ama-sdk/schematics/dist-test/it-report.xml 5ms
@o3r/analytics/dist-test/it-report.xml 2✅ 89s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 38s
@o3r/components/dist-test/it-report.xml 1✅ 39s
@o3r/configuration/dist-test/it-report.xml 1✅ 45s
@o3r/core/dist-test/it-report.xml 2✅ 457s
@o3r/create/dist-test/it-report.xml 1✅ 50s
@o3r/extractors/dist-test/it-report.xml 1✅ 97s
@o3r/localization/dist-test/it-report.xml 1✅ 50s
@o3r/rules-engine/dist-test/it-report.xml 1✅ 46s
@o3r/styling/dist-test/it-report.xml 1✅ 55s
@o3r/testing/dist-test/it-report.xml 1✅ 30s

❌ @ama-sdk/create/dist-test/it-report.xml

2 tests were completed in 88s with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new sdk command 1✅ 1❌ 87s

❌ 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
	Error: expect(received).not.toThrow()

✅ @ama-sdk/schematics/dist-test/it-report.xml

No tests found

✅ @o3r/analytics/dist-test/it-report.xml

2 tests were completed in 89s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with analytics 2✅ 88s

✅ 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 38s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with apis-manager 1✅ 37s

✅ 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 39s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with components 1✅ 38s

✅ 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 45s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with configuration 1✅ 44s

✅ 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 457s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application 2✅ 455s

✅ 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 50s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new otter project command 1✅ 49s

✅ 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

✅ @o3r/extractors/dist-test/it-report.xml

1 tests were completed in 97s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with extractors 1✅ 96s

✅ 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 50s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with localization 1✅ 49s

✅ 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 46s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with rules-engine 1✅ 44s

✅ 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 55s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with styling 1✅ 54s

✅ 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 30s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with testing 1✅ 29s

✅ 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

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-ubuntu-latest-npm

Create new sdk command ► 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

Failed test found in:
  @ama-sdk/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 exec schematics @ama-sdk/schematics:typescript-core -- --spec-path ../../swagger-spec.yml
STDERR:
Error: Cannot find module '@angular/cli/src/utilities/prompt'
Require stack:
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/utility/component.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/utility/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/tasks/package-manager/add-dev-dependency.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/tasks/package-manager/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/tasks/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/rule-factories/eslint-fix/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/rule-factories/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/public_api.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@ama-sdk/schematics/schematics/typescript/core/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@angular-devkit/schematics/tools/export-ref.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@angular-devkit/schematics/tools/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@angular-devkit/schematics-cli/bin/schematics.js·
OUTPUT:
,,Error: Cannot find module '@angular/cli/src/utilities/prompt'
Require stack:
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/utility/component.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/utility/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/tasks/package-manager/add-dev-dependency.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/tasks/package-manager/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/tasks/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/rule-factories/eslint-fix/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/rule-factories/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@o3r/schematics/src/public_api.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@ama-sdk/schematics/schematics/typescript/core/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@angular-devkit/schematics/tools/export-ref.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@angular-devkit/schematics/tools/index.js
- /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/node_modules/@angular-devkit/schematics-cli/bin/schematics.js
"

      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 packageManagerExec (packages/@o3r/test-helpers/src/utilities/package-manager.ts:102:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:62:25
      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/@ama-sdk/create/src/index.it.spec.ts:65:14)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:65:14)
    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)