QA-15315 Backport from jcontent, clearing multiple localized props #1373
34 passed, 7 failed and 0 skipped
✅ tests/artifacts/results/xml_reports/cypress/e2e/addMixinChoicelistInitializers.cy.ts.xml
2 tests were completed in 88s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Add Mixin by using choice list initializers (Image Reference) | 2✅ | 88s | ||
Root Suite | 0ms |
✅ Add Mixin by using choice list initializers (Image Reference)
Can create a document manager image reference link
✅ Add Mixin by using choice list initializers (Image Reference) Can create a document manager image reference link
Can edit a document manager image reference link
✅ Add Mixin by using choice list initializers (Image Reference) Can edit a document manager image reference link
✅ tests/artifacts/results/xml_reports/cypress/e2e/categories.cy.ts.xml
2 tests were completed in 21s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Category tests | 2✅ | 21s | ||
Root Suite | 0ms |
✅ Category tests
Category only displays Content section in edit
✅ Category tests Category only displays Content section in edit
Displays limited advanced options
✅ Category tests Displays limited advanced options
✅ tests/artifacts/results/xml_reports/cypress/e2e/choicelist.cy.ts.xml
1 tests were completed in 15s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Choicelist tests | 1✅ | 15s | ||
Root Suite | 0ms |
✅ Choicelist tests
should select from basic static choicelist with no default value
✅ Choicelist tests should select from basic static choicelist with no default value
✅ tests/artifacts/results/xml_reports/cypress/e2e/contentEditorForm.cy.ts.xml
2 tests were completed in 36s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Content editor form | 2✅ | 35s | ||
Root Suite | 0ms |
✅ Content editor form
Should display custom title label and error message
✅ Content editor form Should display custom title label and error message
Should display overridden title label for boolean buttons
✅ Content editor form Should display overridden title label for boolean buttons
❌ tests/artifacts/results/xml_reports/cypress/e2e/contentMultiLanguage.cy.ts.xml
2 tests were completed in 474s with 1 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create multi language content and verify that it is different in all languages | 1✅ | 1❌ | 474s | |
Root Suite | 0ms |
❌ 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 create content in 3 languages and publish respecting mandatory language rules
Can create and modify content in 2 languages and publish respecting mandatory language rules
❌ Create multi language content and verify that it is different in all languages Can create and modify content in 2 languages and publish respecting mandatory language rules
AssertionError: Timed out retrying after 60000ms: expected '<div.jss399.jss407.jss372.jss380.jss369>' to contain 'Content successfully saved'
✅ tests/artifacts/results/xml_reports/cypress/e2e/createContent.cy.ts.xml
5 tests were completed in 126s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create content tests | 5✅ | 126s | ||
Root Suite | 0ms |
✅ Create content tests
Can create content
✅ Create content tests Can create content
Can create multiple content in same modal
✅ Create content tests Can create multiple content in same modal
Can create work in progress content
✅ Create content tests Can create work in progress content
Can create a news and edit it from the successful alert
✅ Create content tests Can create a news and edit it from the successful alert
keeps "create another" checkbox state after save
✅ Create content tests keeps "create another" checkbox state after save
❌ tests/artifacts/results/xml_reports/cypress/e2e/createContentI18N.cy.ts.xml
7 tests were completed in 228s with 6 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create content tests in I18N site | 6✅ | 1❌ | 228s | |
Root Suite | 0ms |
❌ Create content tests in I18N site
Can create content
✅ Create content tests in I18N site Can create content
Can create multiple content in same modal
✅ Create content tests in I18N site Can create multiple content in same modal
Can create work in progress content for all properties
✅ Create content tests in I18N site Can create work in progress content for all properties
Can create work in progress content for en/fr properties
✅ Create content tests in I18N site Can create work in progress content for en/fr properties
keeps "create another" checkbox state when switching languages
✅ Create content tests in I18N site keeps "create another" checkbox state when switching languages
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
Correctly handles i18n title with jcr:title property on the node itself
❌ Create content tests in I18N site Correctly handles i18n title with jcr:title property on the node itself
AssertionError: Timed out retrying after 60000ms: expected '<div.jss187.jss195.jss160.jss168.jss157>' to contain 'Content successfully saved'
✅ tests/artifacts/results/xml_reports/cypress/e2e/jsonOverridestest.cy.ts.xml
1 tests were completed in 14s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test that the json overrides deployed in the test modules are behaving as expected | 1✅ | 14s |
✅ Test that the json overrides deployed in the test modules are behaving as expected
Should display the form as defined and ordered in the override for cent:listeZigzag
✅ Test that the json overrides deployed in the test modules are behaving as expected Should display the form as defined and ordered in the override for cent:listeZigzag
✅ tests/artifacts/results/xml_reports/cypress/e2e/language.cy.ts.xml
4 tests were completed in 55s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Language switcher tests | 4✅ | 55s | ||
Root Suite | 0ms |
✅ Language switcher tests
Create content - should have all language options in "Create translation" group
✅ Language switcher tests Create content - should have all language options in "Create translation" group
Create content - should have edited language in "View language" group after edit
✅ Language switcher tests Create content - should have edited language in "View language" group after edit
Edit content - Should have edited language in "View language" group
✅ Language switcher tests Edit content - Should have edited language in "View language" group
Create content - saves multiple languages
✅ Language switcher tests Create content - saves multiple languages
✅ tests/artifacts/results/xml_reports/cypress/e2e/listOrdering.cy.ts.xml
1 tests were completed in 14s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test list ordering | 1✅ | 14s |
✅ Test list ordering
Verifies that list ordering section is available
✅ Test list ordering Verifies that list ordering section is available
✅ tests/artifacts/results/xml_reports/cypress/e2e/orderableValues.cy.ts.xml
2 tests were completed in 31s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test ordering properties with multiple values | 2✅ | 31s |
✅ Test ordering properties with multiple values
Drag value test2=2 in shared small text over test1=1
✅ Test ordering properties with multiple values Drag value test2=2 in shared small text over test1=1
Can add a new value test3=3 and drag it between test2=2 and test1=1
✅ Test ordering properties with multiple values Can add a new value test3=3 and drag it between test2=2 and test1=1
✅ tests/artifacts/results/xml_reports/cypress/e2e/previewContent.cy.ts.xml
3 tests were completed in 58s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Preview tests | 3✅ | 58s | ||
Root Suite | 0ms |
✅ Preview tests
It shows correctly preview of edited page even if not the one currently rendered in PageComposer
✅ Preview tests It shows correctly preview of edited page even if not the one currently rendered in PageComposer
does not render any template includes
✅ Preview tests does not render any template includes
It shows correctly preview of edited page even if the parent node name have special character
✅ Preview tests It shows correctly preview of edited page even if the parent node name have special character
❌ tests/artifacts/results/xml_reports/cypress/e2e/savePublishButtonsFlow.cy.ts.xml
1 tests were completed in 77s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test the save publish buttons flow) | 1❌ | 77s |
❌ Test the save publish buttons flow)
Check save publish buttons flow
❌ Test the save publish buttons flow) Check save publish buttons flow
AssertionError: Timed out retrying after 60000ms: expected '<div.jss282.jss290.jss255.jss263.jss252>' to contain 'Content successfully saved'
✅ tests/artifacts/results/xml_reports/cypress/e2e/systemNameTest.cy.ts.xml
1 tests were completed in 19s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
System name test | 1✅ | 19s |
✅ System name test
Check system name sync
✅ System name test Check system name sync
✅ tests/artifacts/results/xml_reports/cypress/e2e/textFieldInitializerTest.cy.ts.xml
No tests found
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test the text field initializer | 97ms |
✅ tests/artifacts/results/xml_reports/cypress/e2e/textRegexInDefinition.cy.ts.xml
1 tests were completed in 25s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test the consistency of the validation of regular expressions added to the definition | 1✅ | 25s |
✅ 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 RegExp validation pattern
✅ tests/artifacts/results/xml_reports/cypress/e2e/usagesScreen.cy.ts.xml
1 tests were completed in 16s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Usages screen tests | 1✅ | 16s |
✅ Usages screen tests
display 16 usages
✅ Usages screen tests display 16 usages
❌ tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
5 tests were completed in 196s with 1 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test the text field initializer | 1✅ | 4❌ | 196s |
❌ Test the text field initializer
should handle constraint on create/normal prop
✅ Test the text field initializer should handle constraint on create/normal prop
should handle constraint on edit/normal prop
❌ Test the text field initializer should handle constraint on edit/normal prop
AssertionError: Timed out retrying after 60000ms: Expected to find content: 'There is one validation error' but never did.
should handle constraint on create/i18n prop
❌ Test the text field initializer should handle constraint on create/i18n prop
CypressError: Timed out retrying after 60050ms: `cy.click()` failed because this element:
should handle constraint on edit/i18n prop
❌ Test the text field initializer should handle constraint on edit/i18n prop
AssertionError: Timed out retrying after 60000ms: Expected to find content: 'test-validator-i18n' within the element: <tr.flexRow.moonstone-TableRow.alignCenter.src-javascript-JContent-ContentRoute-ContentLayout-ContentTable-ContentTable__tableRow--2CTJ0> but never did.
"after all" hook for "should handle constraint on edit/i18n prop"
❌ Test the text field initializer "after all" hook for "should handle constraint on edit/i18n prop"
CypressError: `cy.readFile("./node_modules/@jahia/cypress/fixtures/groovy/admin/deleteSite.groovy")` timed out.
Annotations
github-actions / Tests Report (Standalone)
Create multi language content and verify that it is different in all languages ► Can create and modify content in 2 languages and publish respecting mandatory language rules ► Create multi language content and verify that it is different in all languag...
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/contentMultiLanguage.cy.ts.xml
Error:
AssertionError: Timed out retrying after 60000ms: expected '<div.jss399.jss407.jss372.jss380.jss369>' to contain 'Content successfully saved'
Raw output
AssertionError: Timed out retrying after 60000ms: expected '<div.jss399.jss407.jss372.jss380.jss369>' to contain 'Content successfully saved'
at __webpack_modules__../cypress/page-object/contentEditor.ts.ContentEditor.save (webpack://@jahia/content-editor-cypress/./cypress/page-object/contentEditor.ts:45:60)
at Context.eval (webpack://@jahia/content-editor-cypress/./cypress/e2e/contentMultiLanguage.cy.ts:329:22)
github-actions / Tests Report (Standalone)
Create content tests in I18N site ► Correctly handles i18n title with jcr:title property on the node itself ► Create content tests in I18N site Correctly handles i18n title with jcr:title property on the node itself
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/createContentI18N.cy.ts.xml
Error:
AssertionError: Timed out retrying after 60000ms: expected '<div.jss187.jss195.jss160.jss168.jss157>' to contain 'Content successfully saved'
Raw output
AssertionError: Timed out retrying after 60000ms: expected '<div.jss187.jss195.jss160.jss168.jss157>' to contain 'Content successfully saved'
at __webpack_modules__../cypress/page-object/contentEditor.ts.ContentEditor.save (webpack://@jahia/content-editor-cypress/./cypress/page-object/contentEditor.ts:45:60)
at Context.eval (webpack://@jahia/content-editor-cypress/./cypress/e2e/createContentI18N.cy.ts:203:30)
github-actions / Tests Report (Standalone)
Test the save publish buttons flow) ► Check save publish buttons flow ► Test the save publish buttons flow) Check save publish buttons flow
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/savePublishButtonsFlow.cy.ts.xml
Error:
AssertionError: Timed out retrying after 60000ms: expected '<div.jss282.jss290.jss255.jss263.jss252>' to contain 'Content successfully saved'
Raw output
AssertionError: Timed out retrying after 60000ms: expected '<div.jss282.jss290.jss255.jss263.jss252>' to contain 'Content successfully saved'
at __webpack_modules__../cypress/page-object/contentEditor.ts.ContentEditor.save (webpack://@jahia/content-editor-cypress/./cypress/page-object/contentEditor.ts:45:60)
at updateAndSave (webpack://@jahia/content-editor-cypress/./cypress/e2e/savePublishButtonsFlow.cy.ts:64:22)
at Context.eval (webpack://@jahia/content-editor-cypress/./cypress/e2e/savePublishButtonsFlow.cy.ts:110:8)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
github-actions / Tests Report (Standalone)
Test the text field initializer ► should handle constraint on edit/normal prop ► Test the text field initializer should handle constraint on edit/normal prop
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
Error:
AssertionError: Timed out retrying after 60000ms: Expected to find content: 'There is one validation error' but never did.
Raw output
AssertionError: Timed out retrying after 60000ms: Expected to find content: 'There is one validation error' but never did.
at Context.eval (webpack://@jahia/content-editor-cypress/./cypress/e2e/validation.cy.ts:36:11)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
github-actions / Tests Report (Standalone)
Test the text field initializer ► should handle constraint on create/i18n prop ► Test the text field initializer should handle constraint on create/i18n prop
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
Error:
CypressError: Timed out retrying after 60050ms: `cy.click()` failed because this element:
Raw output
CypressError: Timed out retrying after 60050ms: `cy.click()` failed because this element:
`<button class="moonstone-button moonstone-size_default moonstone-variant_ghost moonstone-color_default moonstone-icon" type="button" data-sel-role="createContent">...</button>`
is being covered by another element:
`<div class="flexFluid"></div>`
Fix this problem, or use {force: true} to disable error checking.
https://on.cypress.io/element-cannot-be-interacted-with
at ensureIsDescendent (http://jahia:8080/__cypress/runner/cypress_runner.js:112962:68)
at ensureDescendents (http://jahia:8080/__cypress/runner/cypress_runner.js:113013:5)
at ensureDescendentsAndScroll (http://jahia:8080/__cypress/runner/cypress_runner.js:113019:14)
at ensureElIsNotCovered (http://jahia:8080/__cypress/runner/cypress_runner.js:113150:5)
at runAllChecks (http://jahia:8080/__cypress/runner/cypress_runner.js:113349:52)
at retryActionability (http://jahia:8080/__cypress/runner/cypress_runner.js:113386:16)
at tryCatcher (http://jahia:8080/__cypress/runner/cypress_runner.js:1807:23)
at Promise.attempt.Promise.try (http://jahia:8080/__cypress/runner/cypress_runner.js:4315:29)
at whenStable (http://jahia:8080/__cypress/runner/cypress_runner.js:143797:68)
at <unknown> (http://jahia:8080/__cypress/runner/cypress_runner.js:143738:14)
at tryCatcher (http://jahia:8080/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://jahia:8080/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://jahia:8080/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://jahia:8080/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://jahia:8080/__cypress/runner/cypress_runner.js:1701:18)
at Promise._fulfill (http://jahia:8080/__cypress/runner/cypress_runner.js:1645:18)
at <unknown> (http://jahia:8080/__cypress/runner/cypress_runner.js:5450:46)
From Your Spec Code:
at __webpack_modules__../node_modules/@jahia/cypress/dist/page-object/moonstone/button.js.Button.click (webpack://@jahia/content-editor-cypress/./node_modules/@jahia/cypress/dist/page-object/moonstone/button.js:26:0)
at __webpack_modules__../cypress/page-object/createContent.ts.CreateContent.open (webpack://@jahia/content-editor-cypress/./cypress/page-object/createContent.ts:14:52)
at __webpack_modules__../cypress/page-object/jcontent.ts.JContent.createContent (webpack://@jahia/content-editor-cypress/./cypress/page-object/jcontent.ts:45:13)
at Context.eval (webpack://@jahia/content-editor-cypress/./cypress/e2e/validation.cy.ts:42:28)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
github-actions / Tests Report (Standalone)
Test the text field initializer ► should handle constraint on edit/i18n prop ► Test the text field initializer should handle constraint on edit/i18n prop
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
Error:
AssertionError: Timed out retrying after 60000ms: Expected to find content: 'test-validator-i18n' within the element: <tr.flexRow.moonstone-TableRow.alignCenter.src-javascript-JContent-ContentRoute-ContentLayout-ContentTable-ContentTable__tableRow--2CTJ0> but never did.
Raw output
AssertionError: Timed out retrying after 60000ms: Expected to find content: 'test-validator-i18n' within the element: <tr.flexRow.moonstone-TableRow.alignCenter.src-javascript-JContent-ContentRoute-ContentLayout-ContentTable-ContentTable__tableRow--2CTJ0> but never did.
at __webpack_modules__../cypress/page-object/jcontent.ts.JContent.editComponentByText (webpack://@jahia/content-editor-cypress/./cypress/page-object/jcontent.ts:53:87)
at Context.eval (webpack://@jahia/content-editor-cypress/./cypress/e2e/validation.cy.ts:52:28)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
github-actions / Tests Report (Standalone)
Test the text field initializer ► "after all" hook for "should handle constraint on edit/i18n prop" ► Test the text field initializer "after all" hook for "should handle constraint on edit/i18n prop"
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/validation.cy.ts.xml
Error:
CypressError: `cy.readFile("./node_modules/@jahia/cypress/fixtures/groovy/admin/deleteSite.groovy")` timed out.
Raw output
CypressError: `cy.readFile("./node_modules/@jahia/cypress/fixtures/groovy/admin/deleteSite.groovy")` timed out.
https://on.cypress.io/readfile
Because this error occurred during a `after all` hook we are skipping the remaining tests in the current suite: `Test the text field initial...`
at cypressErr (http://jahia:8080/__cypress/runner/cypress_runner.js:76101:18)
at Object.cypressErrByPath (http://jahia:8080/__cypress/runner/cypress_runner.js:76106:10)
at $Command.readFile (http://jahia:8080/__cypress/runner/cypress_runner.js:120422:88)
at cyFn (http://jahia:8080/__cypress/runner/cypress_runner.js:138254:19)
From Your Spec Code:
at append (webpack://@jahia/content-editor-cypress/./node_modules/@jahia/cypress/dist/support/provisioning/runProvisioningScript.js:19:0)
at eval (webpack://@jahia/content-editor-cypress/./node_modules/@jahia/cypress/dist/support/provisioning/runProvisioningScript.js:54:0)
at Array.forEach (<anonymous>)
at Context.runProvisioningScript (webpack://@jahia/content-editor-cypress/./node_modules/@jahia/cypress/dist/support/provisioning/runProvisioningScript.js:53:0)