Skip to content

BACKLOG-21108: Add tests, allow import on navMenuText #779

BACKLOG-21108: Add tests, allow import on navMenuText

BACKLOG-21108: Add tests, allow import on navMenuText #779

Triggered via pull request August 9, 2023 09:33
@tdraiertdraier
synchronize #928
BACKLOG-21108
Status Failure
Total duration 1h 45m 12s
Artifacts 2

on-code-change.yml

on: pull_request
Update module signature
5s
Update module signature
Static Analysis (linting, vulns)
3m 28s
Static Analysis (linting, vulns)
Sonar Analysis
4m 54s
Sonar Analysis
Integration Tests (Standalone)
1h 19m
Integration Tests (Standalone)
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 13 warnings, and 2 notices
Create content tests ► Can create multiple content in same modal ► Create content tests Can create multiple content in same modal: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContent.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContent.cy.ts.xml Error: AssertionError: Timed out retrying after 30000ms: Expected <div.jss29.jss15> not to exist in the DOM, but it was continuously found.
Create content tests ► keeps "create another" checkbox state after save ► Create content tests keeps "create another" checkbox state after save: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContent.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContent.cy.ts.xml Error: AssertionError: Timed out retrying after 30000ms: Expected <div.jss29.jss15> not to exist in the DOM, but it was continuously found.
Create content tests in I18N site ► Can create multiple content in same modal ► Create content tests in I18N site Can create multiple content in same modal: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContentI18N.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContentI18N.cy.ts.xml Error: AssertionError: Timed out retrying after 30000ms: Expected <div.jss29.jss15> not to exist in the DOM, but it was continuously found.
Create content tests in I18N site ► Can create a news in en -> fr and then create a new one in en only ► Create content tests in I18N site Can create a news in en -> fr and then create a new one in en only: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContentI18N.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContentI18N.cy.ts.xml Error: AssertionError: Timed out retrying after 30000ms: Expected <div.jss29.jss15> not to exist in the DOM, but it was continuously found.
Test the save publish buttons flow) ► Check save publish buttons flow ► Test the save publish buttons flow) Check save publish buttons flow: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/savePublishButtonsFlow.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/savePublishButtonsFlow.cy.ts.xml Error: AssertionError: Timed out retrying after 30000ms: Expected <div.jss29.jss15.src-javascript-ContentEditor-ContentEditorApi-ContentEditorModal__ceDialogRootFullscreen--vhcsL> not to exist in the DOM, but it was continuously found.
Test the consistency of the validation of regular expressions added to the definition ► Check consistencies of RegExp validation pattern ► Test the consistency of the validation of regular expressions added to the definition Check consistencies of RegE...: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/textRegexInDefinition.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/textRegexInDefinition.cy.ts.xml Error: AssertionError: Timed out retrying after 30000ms: Expected to find element: `div[data-sel-content-editor-field="cent:testRegExp_comment"] div.flexFluid p[data-sel-error="invalidPattern"]`, but never found it.
Integration Tests (Standalone)
Run has FAILED, could not locate file /opt/actions-runner/_work/jcontent/jcontent/tests/artifacts/results/test_success
Update module signature
Unexpected input(s) 'nexus_enterprise_releases_url', valid inputs are ['except_folders', 'nexus_internal_releases_url', 'nexus_username', 'nexus_password', 'force_signature', 'git_user_name', 'git_user_email', 'keymaker_location', 'keymaker_version', 'keymaker_name']
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentEditor/EditPanel/HeaderBadges/ReadOnlyBadge.jsx#L37
Prop name (readOnly) doesn't match rule (^(is|has)[A-Z]([A-Za-z0-9]?)+)
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentEditor/adaptSystemNameField.js#L11
Unexpected 'todo' comment: 'TODO completely get rid of this adapter'
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentEditorApi/ContentEditorApi.jsx#L111
Unexpected 'todo' comment: 'Todo : handle the case when stacking a...'
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentEditorApi/ContentEditorApi.jsx#L194
Unexpected 'todo' comment: 'TODO: best effort to have a unique KEY...'
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentEditorApi/useCreate.js#L7
Async arrow function has too many parameters (5). Maximum allowed is 4
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentEditorApi/useCreate.js#L67
Async arrow function has too many parameters (12). Maximum allowed is 4
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentEditorApi/useEdit.js#L12
Arrow function has too many parameters (7). Maximum allowed is 4
Static Analysis (linting, vulns): src/javascript/ContentEditor/ContentTypeSelectorModal/ContentTypeSelectorModal.jsx#L87
Prop name (open) doesn't match rule (^(is|has)[A-Z]([A-Za-z0-9]?)+)
Build Module
Unexpected input(s) 'module_id', valid inputs are ['mvn_settings_filepath', 'nexus_username', 'nexus_password', 'debug_session_timeout', 'github_artifact_retention', 'tests_module_path', 'tests_module_type', 'node_version']
Build Module
Unexpected input(s) 'module_id', valid inputs are ['mvn_settings_filepath', 'nexus_username', 'nexus_password', 'debug_session_timeout', 'github_artifact_retention', 'tests_module_path', 'tests_module_type', 'node_version']
Integration Tests (Standalone)
Artifacts (VPN Required) have been uploaded to: https://qa.jahia.com/artifacts-ci/delete-on-2023-09-08_Jahia_jcontent_integration-tests-results_5807366260_1
Integration Tests (Standalone)
Job is running on instance: i-0337ba868c2041312 (spec: t3.2xlarge ) - Connect to the instance using: #> aws ssm start-session --target i-0337ba868c2041312

Artifacts

Produced during runtime
Name Size
build-artifacts Expired
49.8 MB
jcontent-standalone-artifacts-779 Expired
462 MB