Skip to content

TECH-1657: Replace jahia-discovery with jahia-ee (#113) #33

TECH-1657: Replace jahia-discovery with jahia-ee (#113)

TECH-1657: Replace jahia-discovery with jahia-ee (#113) #33

GitHub Actions / Tests Report (Standalone) succeeded Apr 3, 2024 in 1s

1 passed, 4 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
tests/artifacts/results/xml_reports/cypress/e2e/basic.test.cy.ts.xml 1✅ 11s
tests/artifacts/results/xml_reports/cypress/e2e/languageSettingsUI.cy.ts.xml 1❌ 1s
tests/artifacts/results/xml_reports/cypress/e2e/properties.cy.ts.xml 2❌ 38s
tests/artifacts/results/xml_reports/cypress/e2e/removingLanguage.test.cy.ts.xml 1❌ 1s

✅ tests/artifacts/results/xml_reports/cypress/e2e/basic.test.cy.ts.xml

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

Test suite Passed Failed Skipped Time
First cypress launch 1✅ 11s
Root Suite 0ms

✅ First cypress launch

Check that basic test working.
  ✅ First cypress launch Check that basic test working.

❌ tests/artifacts/results/xml_reports/cypress/e2e/languageSettingsUI.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Tests on UI for language settings 1❌ 1s

❌ Tests on UI for language settings

Check for Catalan website
  ❌ Tests on UI for language settings Check for Catalan website
	TypeError: Cannot read properties of undefined (reading 'jcr')

❌ tests/artifacts/results/xml_reports/cypress/e2e/properties.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Tests for site properties panel 2❌ 38s

❌ Tests for site properties panel

Edits site properties
  ❌ Tests for site properties panel Edits site properties
	AssertionError: Timed out retrying after 10000ms: Expected to find element: `[aria-labelledby="site-properties"]`, but never found it.
Navigates to edit languages
  ❌ Tests for site properties panel Navigates to edit languages
	AssertionError: Timed out retrying after 10000ms: Expected to find element: `[aria-labelledby="site-properties"]`, but never found it.

❌ tests/artifacts/results/xml_reports/cypress/e2e/removingLanguage.test.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Language deactivation test 1❌ 1s
Root Suite 0ms

❌ Language deactivation test

Should be able to deactivate a non-mandatory language
  ❌ Language deactivation test Should be able to deactivate a non-mandatory language
	CypressError: `cy.visit()` failed trying to load:

Annotations

Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/languageSettingsUI.cy.ts.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Report (Standalone)

Tests on UI for language settings ► Check for Catalan website ► Tests on UI for language settings Check for Catalan website

Failed test found in:
  tests/artifacts/results/xml_reports/cypress/e2e/languageSettingsUI.cy.ts.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'jcr')
Raw output
TypeError: Cannot read properties of undefined (reading 'jcr')
    at Context.eval (webpack:///./cypress/e2e/languageSettingsUI.cy.ts:17:31)

Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/properties.cy.ts.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Report (Standalone)

Tests for site properties panel ► Edits site properties ► Tests for site properties panel Edits site properties

Failed test found in:
  tests/artifacts/results/xml_reports/cypress/e2e/properties.cy.ts.xml
Error:
  AssertionError: Timed out retrying after 10000ms: Expected to find element: `[aria-labelledby="site-properties"]`, but never found it.
Raw output
AssertionError: Timed out retrying after 10000ms: Expected to find element: `[aria-labelledby="site-properties"]`, but never found it.
    at getElement (webpack:///./node_modules/@jahia/cypress/dist/page-object/utils.js:5:0)
    at getComponentBySelector (webpack:///./node_modules/@jahia/cypress/dist/page-object/utils.js:13:0)
    at ./cypress/page-object/siteProperties.ts.SiteProperties.visit (webpack:///./cypress/page-object/siteProperties.ts:9:38)
    at Context.eval (webpack:///./cypress/e2e/properties.cy.ts:30:41)

Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/properties.cy.ts.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Report (Standalone)

Tests for site properties panel ► Navigates to edit languages ► Tests for site properties panel Navigates to edit languages

Failed test found in:
  tests/artifacts/results/xml_reports/cypress/e2e/properties.cy.ts.xml
Error:
  AssertionError: Timed out retrying after 10000ms: Expected to find element: `[aria-labelledby="site-properties"]`, but never found it.
Raw output
AssertionError: Timed out retrying after 10000ms: Expected to find element: `[aria-labelledby="site-properties"]`, but never found it.
    at getElement (webpack:///./node_modules/@jahia/cypress/dist/page-object/utils.js:5:0)
    at getComponentBySelector (webpack:///./node_modules/@jahia/cypress/dist/page-object/utils.js:13:0)
    at ./cypress/page-object/siteProperties.ts.SiteProperties.visit (webpack:///./cypress/page-object/siteProperties.ts:9:38)
    at Context.eval (webpack:///./cypress/e2e/properties.cy.ts:40:41)

Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/removingLanguage.test.cy.ts.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Report (Standalone)

Language deactivation test ► Should be able to deactivate a non-mandatory language ► Language deactivation test Should be able to deactivate a non-mandatory language

Failed test found in:
  tests/artifacts/results/xml_reports/cypress/e2e/removingLanguage.test.cy.ts.xml
Error:
  CypressError: `cy.visit()` failed trying to load:
Raw output
CypressError: `cy.visit()` failed trying to load:

http://jahia:8080/cms/editframe/default/en/sites/siteSettingsSite.manageLanguages.html

The response we received from your web server was:

  > 404: Not Found

This was considered a failure because the status code was not `2xx`.

If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
    at <unknown> (http://jahia:8080/__cypress/runner/cypress_runner.js:138236:84)
    at visitFailedByErr (http://jahia:8080/__cypress/runner/cypress_runner.js:137644:12)
    at <unknown> (http://jahia:8080/__cypress/runner/cypress_runner.js:138219:13)
    at tryCatcher (http://jahia:8080/__cypress/runner/cypress_runner.js:8914:23)
    at Promise._settlePromiseFromHandler (http://jahia:8080/__cypress/runner/cypress_runner.js:6849:31)
    at Promise._settlePromise (http://jahia:8080/__cypress/runner/cypress_runner.js:6906:18)
    at Promise._settlePromise0 (http://jahia:8080/__cypress/runner/cypress_runner.js:6951:10)
    at Promise._settlePromises (http://jahia:8080/__cypress/runner/cypress_runner.js:7027:18)
    at _drainQueueStep (http://jahia:8080/__cypress/runner/cypress_runner.js:3621:12)
    at _drainQueue (http://jahia:8080/__cypress/runner/cypress_runner.js:3614:9)
    at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://jahia:8080/__cypress/runner/cypress_runner.js:3630:5)
    at Async.drainQueues (http://jahia:8080/__cypress/runner/cypress_runner.js:3500:14)
From Your Spec Code:
    at Context.eval (webpack:///./node_modules/@jahia/cypress/dist/support/login.js:26:0)