Skip to content

fix(#2758): set exact-o3r-version as default for all schematics if pr…

Sign in for the full log view
GitHub Actions / IT Tests report-ubuntu-latest-yarn failed Jan 31, 2025 in 1s

60 passed, 1 failed and 2 skipped

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 7✅ 412s
@ama-sdk/schematics/dist-test/it-report.xml 4ms
@o3r/analytics/dist-test/it-report.xml 2✅ 132s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 70s
@o3r/application/dist-test/it-report.xml 41s
@o3r/components/dist-test/it-report.xml 8✅ 574s
@o3r/configuration/dist-test/it-report.xml 2✅ 120s
@o3r/core/dist-test/it-report.xml 1✅ 834s
@o3r/create/dist-test/it-report.xml 2✅ 1❌ 214s
@o3r/design/dist-test/it-report.xml 1✅ 69s
@o3r/eslint-config-otter/dist-test/it-report.xml 2✅ 285s
@o3r/extractors/dist-test/it-report.xml 3✅ 254s
@o3r/localization/dist-test/it-report.xml 8✅ 616s
@o3r/new-version/dist-test/it-report.xml 1✅ 43s
@o3r/pipeline/dist-test/it-report.xml 2✅ 59s
@o3r/rules-engine/dist-test/it-report.xml 2✅ 119s
@o3r/stylelint-plugin/dist-test/it-report.xml 2✅ 101s
@o3r/styling/dist-test/it-report.xml 8✅ 560s
@o3r/testing/dist-test/it-report.xml 2✅ 2⚪ 140s
@o3r/third-party/dist-test/it-report.xml 1✅ 62s
@o3r/workspace/dist-test/it-report.xml 5✅ 327s

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

7 tests were completed in 412s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new sdk command 7✅ 402s

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

Test suite Passed Failed Skipped Time
ng add analytics 2✅ 121s

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

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

✅ 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

No tests found

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

8 tests were completed in 574s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 554s
ng add components 2✅ 129s

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

Test suite Passed Failed Skipped Time
new otter application with configuration 2✅ 108s

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

Test suite Passed Failed Skipped Time
new otter application 1✅ 815s

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

Test suite Passed Failed Skipped Time
Create new otter project command 2✅ 1❌ 207s

❌ 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
	Error: expect(received).toBe(expected) // Object.is equality

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

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

Test suite Passed Failed Skipped Time
new otter application with Design 1✅ 53s

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

Test suite Passed Failed Skipped Time
ng add eslint-config 2✅ 268s

✅ 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/extractors/dist-test/it-report.xml

3 tests were completed in 254s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aggregate migration scripts 1✅ 196s
ng add extractors 2✅ 235s

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

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 598s
ng add otter localization 2✅ 155s

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

Test suite Passed Failed Skipped Time
undefined 1✅ 34s

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

Test suite Passed Failed Skipped Time
new otter project 2✅ 49s

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

Test suite Passed Failed Skipped Time
ng add rules-engine 2✅ 107s

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

Test suite Passed Failed Skipped Time
ng add stylelint-plugin 2✅ 90s

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

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 543s
ng add styling 2✅ 142s

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

Test suite Passed Failed Skipped Time
ng add testing 2✅ 2⚪ 126s

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

Test suite Passed Failed Skipped Time
new Angular application 1✅ 50s

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

Test suite Passed Failed Skipped Time
new otter workspace 5✅ 314s

✅ 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

Annotations

Check failure on line 101 in packages/@o3r/create/src/index.it.spec.ts

See this annotation in the file changed.

@github-actions 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 with --exact-o3r-version ► Create new otter project command should generate a project with an application with --exact-o3r-version

Failed test found in:
  @o3r/create/dist-test/it-report.xml
Error:
  Error: expect(received).toBe(expected) // Object.is equality
Raw output
Error: expect(received).toBe(expected) // Object.is equality

Expected: "@o3r/application=999.0.1738317066962"
Received: "@o3r/application=~999.0.1738317066962"
    at /home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:103:45
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:101:81)