Skip to content

BACKLOG-22196: Fix tests #1249

BACKLOG-22196: Fix tests

BACKLOG-22196: Fix tests #1249

Triggered via pull request January 12, 2024 13:22
Status Failure
Total duration 45m 58s
Artifacts 2

on-code-change.yml

on: pull_request
Update module signature
8s
Update module signature
Static Analysis (linting, vulns)
1m 41s
Static Analysis (linting, vulns)
Check Javascript dependencies and licenses
10s
Check Javascript dependencies and licenses
Sonar Analysis
4m 8s
Sonar Analysis
Integration Tests (Standalone)
38m 22s
Integration Tests (Standalone)
Check Java dependencies and licenses
12m 53s
Check Java dependencies and licenses
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 13 warnings, and 2 notices
Create multi language content and verify that it is different in all languages ► Can create content in 3 languages and publish respecting mandatory language rules ► Create multi language content and verify that it is different in all languages Can crea...: tests/artifacts/results/xml_reports/cypress/e2e/contentMultiLanguage.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/contentMultiLanguage.cy.ts.xml Error: CypressError: Timed out retrying after 10050ms: `cy.contains()` failed because the page updated as a result of this command, but you tried to continue the command chain. The subject is no longer attached to the DOM, and Cypress cannot requery the page after commands such as `cy.contains()`.
Picker tests ► should go to root when previous location is not available ► Picker tests should go to root when previous location is not available: tests/artifacts/results/xml_reports/cypress/e2e/pickers/picker.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/pickers/picker.cy.ts.xml Error: CypressError: Timed out retrying after 10050ms: `cy.should()` failed because the page updated as a result of this command, but you tried to continue the command chain. The subject is no longer attached to the DOM, and Cypress cannot requery the page after commands such as `cy.should()`.
Test the text field initializer ► Check text field initializer ► Test the text field initializer Check text field initializer: tests/artifacts/results/xml_reports/cypress/e2e/textFieldInitializerTest.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/textFieldInitializerTest.cy.ts.xml Error: CypressError: Timed out retrying after 10050ms: `cy.click()` failed because the page updated while this command was executing. Cypress tried to locate elements based on this query:
Integration Tests (Standalone)
Run has FAILED, could not locate file /opt/actions-runner/_work/content-editor/content-editor/tests/artifacts/results/test_success
Static Analysis (linting, vulns): src/javascript/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/adaptSystemNameField.js#L4
Arrow function has too many parameters (5). Maximum allowed is 4
Static Analysis (linting, vulns): src/javascript/ContentEditorApi/ContentEditorApi.jsx#L94
Unexpected 'todo' comment: 'TODO: best effort to have a unique KEY...'
Static Analysis (linting, vulns): src/javascript/ContentEditorApi/useCreate.js#L66
Async arrow function has too many parameters (12). Maximum allowed is 4
Static Analysis (linting, vulns): src/javascript/ContentEditorApi/useEdit.js#L12
Arrow function has too many parameters (7). Maximum allowed is 4
Static Analysis (linting, vulns): src/javascript/ContentTypeSelectorModal/ContentTypeSelectorModal.jsx#L87
Prop name (open) doesn't match rule (^(is|has)[A-Z]([A-Za-z0-9]?)+)
Static Analysis (linting, vulns): src/javascript/DesignSystem/Card/Card.jsx#L120
Prop name (selected) doesn't match rule (^(is|has)[A-Z]([A-Za-z0-9]?)+)
Static Analysis (linting, vulns): src/javascript/DesignSystem/ColorPickerInput/ColorPickerInput.jsx#L97
Prop name (readOnly) 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)
Unexpected input(s) 'cypress_configuration_file', valid inputs are ['milliseconds', 'module_id', 'primary_release_branch', 'nexus_username', 'nexus_password', 'docker_username', 'docker_password', 'docker_compose_file', 'tests_path', 'tests_profile', 'timeout_minutes', 'tests_manifest', 'jahia_image', 'jahia_superuser_password', 'jahia_cluster_enabled', 'tests_image', 'tests_container_name', 'tests_container_branch', 'tests_report_name', 'tests_report_path', 'tests_report_type', 'jahia_license', 'jcustomer_image', 'elasticsearch_image', 'should_skip_artifacts', 'should_skip_testrail', 'should_skip_notifications', 'should_skip_pagerduty', 'slack_channel_id_notifications', 'slack_channel_id_notifications_all', 'slack_client_token', 'slack_webhook_notifications', 'slack_webhook_notifications_all', 'should_use_build_artifacts', 'build_artifacts', 'should_skip_zencrepes', 'should_build_testsimage', 'zencrepes_secret', 'incident_pagerduty_api_key', 'incident_pagerduty_reporter_email', 'incident_pagerduty_reporter_id', 'incident_google_spreadsheet_id', 'incident_google_client_email', 'incident_google_api_key_base64', 'incident_service', 'testrail_project', 'testrail_milestone', 'testrail_username', 'testrail_password', 'testrail_platformdata', 'ci_startup_script', 'ci_build_script', 'ci_postrun_script', 'node_version', 'debug_session_timeout', 'github_artifact_enable', 'github_artifact_name', 'github_artifact_retention', 'jahia_artifact_enable', 'jahia_artifact_name', 'jahia_artifact_retention', 'bastion_ssh_private_key', 'logging_mode']
Integration Tests (Standalone)
Artifacts (VPN Required) have been uploaded to: https://qa.jahia.com/artifacts-ci/delete-on-2024-02-11_Jahia_content-editor_integration-tests-results_7502755179_1
Integration Tests (Standalone)
Job is running on instance: i-0d262e79279432287 (spec: t3.2xlarge ) - Connect to the instance using: #> aws ssm start-session --target i-0d262e79279432287

Artifacts

Produced during runtime
Name Size
build-artifacts Expired
40.2 MB
content-editor-standalone-artifacts-1249 Expired
198 MB