Skip to content

[StepSecurity] Apply security best practices #258

[StepSecurity] Apply security best practices

[StepSecurity] Apply security best practices #258

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

16 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 4✅ 204s
@ama-sdk/schematics/dist-test/it-report.xml 3ms
@o3r/analytics/dist-test/it-report.xml 1✅ 55s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 59s
@o3r/components/dist-test/it-report.xml 1✅ 69s
@o3r/configuration/dist-test/it-report.xml 1✅ 64s
@o3r/core/dist-test/it-report.xml 1✅ 297s
@o3r/create/dist-test/it-report.xml 1✅ 1❌ 131s
@o3r/design/dist-test/it-report.xml 1✅ 63s
@o3r/extractors/dist-test/it-report.xml 1✅ 116s
@o3r/localization/dist-test/it-report.xml 1✅ 134s
@o3r/rules-engine/dist-test/it-report.xml 1✅ 69s
@o3r/styling/dist-test/it-report.xml 1✅ 81s
@o3r/testing/dist-test/it-report.xml 1✅ 53s

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

4 tests were completed in 204s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new sdk command 4✅ 203s

✅ 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
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

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

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

✅ new otter application with analytics

new otter application with analytics should add analytics to existing application
  ✅ new otter application with analytics should add analytics to existing application

✅ @o3r/apis-manager/dist-test/it-report.xml

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

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

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

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

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

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

✅ 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

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

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

✅ new otter application

new otter application should build empty app
  ✅ new otter application should build empty app

❌ @o3r/create/dist-test/it-report.xml

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

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

❌ 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 an application with --exact-o3r-version
  ❌ Create new otter project command should generate a project with an application with --exact-o3r-version
	TypeError: Cannot convert undefined or null to object

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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 80 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-npm

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:
  TypeError: Cannot convert undefined or null to object
Raw output
TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:80:118)