Skip to content

BACKLOG-23358 Add highlight test #1759

BACKLOG-23358 Add highlight test

BACKLOG-23358 Add highlight test #1759

GitHub Actions / Tests Report cypress.config-contentEditor.ts succeeded Nov 8, 2024 in 1s

103 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/addMixinChoicelistInitializers.cy.ts.xml 2✔️ 88s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/choiceTree.cy.ts.xml 3✔️ 44s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/constraints.cy.ts.xml 6✔️ 72s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/contentEditorForm.cy.ts.xml 15✔️ 193s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/contentMultiLanguage.cy.ts.xml 1✔️ 27s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/copyFromOneLanguageToCurrentLanguage.cy.ts.xml 1✔️ 21s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContent.cy.ts.xml 5✔️ 82s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContentI18N.cy.ts.xml 4✔️ 88s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/editContent.cy.ts.xml 2✔️ 25s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/editorUrl.cy.ts.xml 12✔️ 231s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/hidePreview.cy.ts.xml 4✔️ 54s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/choicelist.cy.ts.xml 5✔️ 70s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/extendMixins.cy.ts.xml 2✔️ 40s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/jsonOverrideTests.cy.ts.xml 5✔️ 76s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/language.cy.ts.xml 4✔️ 83s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/listOrdering.cy.ts.xml 1✔️ 22s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/orderableValues.cy.ts.xml 2✔️ 36s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/pageAsModel.cy.ts.xml 1✔️ 32s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/permissions.cy.ts.xml 1✔️ 15s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/previewContent.cy.ts.xml 3✔️ 74s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/richText.cy.ts.xml 2✔️ 25s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/savePublishButtonsFlow.cy.ts.xml 1✔️ 48s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/systemNameTest.cy.ts.xml 8✔️ 209s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/textFieldInitializerTest.cy.ts.xml 1✔️ 87s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/textRegexInDefinition.cy.ts.xml 1✔️ 35s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/usagesScreen.cy.ts.xml 2✔️ 75s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/validation.cy.ts.xml 4✔️ 39s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/visibilityScreen.cy.ts.xml 5✔️ 107s

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/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/contentEditor/choiceTree.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test Choicetree selector type 3✔️ 44s

✔️ Test Choicetree selector type

can handle choice tree selector with a custom root path
  ✔️ Test Choicetree selector type can handle choice tree selector with a custom root path
can handle choice tree selector for multiple types
  ✔️ Test Choicetree selector type can handle choice tree selector for multiple types
can display the category selector
  ✔️ Test Choicetree selector type can display the category selector

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/constraints.cy.ts.xml

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

Test suite Passed Failed Skipped Time
constraints 6✔️ 72s
Root Suite 0ms

✔️ constraints

can set restrictions on content list
  ✔️ constraints can set restrictions on content list
can set restrictions on content folder
  ✔️ constraints can set restrictions on content folder
can create restricted content
  ✔️ constraints can create restricted content
can inherit restricted content to subfolders
  ✔️ constraints can inherit restricted content to subfolders
can add to current restrictions
  ✔️ constraints can add to current restrictions
can create another added restricted content
  ✔️ constraints can create another added restricted content

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/contentEditorForm.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Content editor form 15✔️ 193s
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
Should display overridden property in correct section
  ✔️ Content editor form Should display overridden property in correct section
Should update dependent property "j:subNodesView" in content retrieval when changing "j:type"
  ✔️ Content editor form Should update dependent property "j:subNodesView" in content retrieval when changing "j:type"
Should use site default template value
  ✔️ Content editor form Should use site default template value
Should display hidden property with overridden hide flag
  ✔️ Content editor form Should display hidden property with overridden hide flag
Should display overridden title label and description label from json overrides define by labelKey and descriptionKey
  ✔️ Content editor form Should display overridden title label and description label from json overrides define by labelKey and descriptionKey
Should display overridden system name and description labels from json overrides
  ✔️ Content editor form Should display overridden system name and description labels from json overrides
Should enable automatically cemix:testAutoActivatedMixin on jnt:bigText for create
  ✔️ Content editor form Should enable automatically cemix:testAutoActivatedMixin on jnt:bigText for create
Should enable automatically cemix:testAutoAlwaysActivatedMixin on jnt:bigText for edit
  ✔️ Content editor form Should enable automatically cemix:testAutoAlwaysActivatedMixin on jnt:bigText for edit
Should not enable automatically cemix:testAutoActivatedMixin on jnt:simpleText for create
  ✔️ Content editor form Should not enable automatically cemix:testAutoActivatedMixin on jnt:simpleText for create
Should not see readonly text field for reviewer
  ✔️ Content editor form Should not see readonly text field for reviewer
Should not see see field for reviewer
  ✔️ Content editor form Should not see see field for reviewer
Should render only one title field
  ✔️ Content editor form Should render only one title field
should display default resource key when module is disabled
  ✔️ Content editor form should display default resource key when module is disabled

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/contentMultiLanguage.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Create multi language content and verify that it is different in all languages 1✔️ 27s
Root Suite 0ms

✔️ Create multi language content and verify that it is different in all languages

Can create content in 3 languages
  ✔️ Create multi language content and verify that it is different in all languages Can create content in 3 languages

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/copyFromOneLanguageToCurrentLanguage.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
test copyFromOneLanguageToCurrentLanguage 1✔️ 21s

✔️ test copyFromOneLanguageToCurrentLanguage

test
  ✔️ test copyFromOneLanguageToCurrentLanguage test

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContent.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Create content tests 5✔️ 82s
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/contentEditor/createContentI18N.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Create content tests in I18N site 4✔️ 88s
Root Suite 0ms

✔️ Create content tests in I18N site

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

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/editContent.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Create content tests 2✔️ 25s
Root Suite 0ms

✔️ Create content tests

can edit content
  ✔️ Create content tests can edit content
can edit source ref
  ✔️ Create content tests can edit source ref

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/editorUrl.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Editor url test 12✔️ 231s
Root Suite 0ms

✔️ Editor url test

should open editor
  ✔️ Editor url test should open editor
Should open editor upon login
  ✔️ Editor url test Should open editor upon login
Should open editor already logged in
  ✔️ Editor url test Should open editor already logged in
Should create hash
  ✔️ Editor url test Should create hash
History is handled consistently
  ✔️ Editor url test History is handled consistently
Handles breadcrumb in GWT correctly
  ✔️ Editor url test Handles breadcrumb in GWT correctly
Should not show error modal for valid uuid
  ✔️ Editor url test Should not show error modal for valid uuid
Should show error modal for opening CE url for invalid UUID
  ✔️ Editor url test Should show error modal for opening CE url for invalid UUID
should break all inheritance for node
  ✔️ Editor url test should break all inheritance for node
Should show error modal for opening CE url for user with no permission
  ✔️ Editor url test Should show error modal for opening CE url for user with no permission
Should restore all inheritance for node
  ✔️ Editor url test Should restore all inheritance for node
Should show error modal for opening CE url for missing/invalid params
  ✔️ Editor url test Should show error modal for opening CE url for missing/invalid params

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/hidePreview.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Hide Preview testsuite 4✔️ 54s
Root Suite 0ms

✔️ Hide Preview testsuite

Preview shouldn't exist for a site
  ✔️ Hide Preview testsuite Preview shouldn't exist for a site
Preview shouldn't exist for a content folder
  ✔️ Hide Preview testsuite Preview shouldn't exist for a content folder
Preview should be visible for a content
  ✔️ Hide Preview testsuite Preview should be visible for a content
Preview shouldn't be shown in Category Manager
  ✔️ Hide Preview testsuite Preview shouldn't be shown in Category Manager

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/choicelist.cy.ts.xml

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

Test suite Passed Failed Skipped Time
radio button and checkbox selectorType overrides 5✔️ 70s
Root Suite 0ms

✔️ radio button and checkbox selectorType overrides

should select from basic static choicelist with no default value
  ✔️ radio button and checkbox selectorType overrides should select from basic static choicelist with no default value
should override choice list with radio button selectorType
  ✔️ radio button and checkbox selectorType overrides should override choice list with radio button selectorType
should override multiple choice list with checkbox selectorType
  ✔️ radio button and checkbox selectorType overrides should override multiple choice list with checkbox selectorType
should not override choice list with no selectorType defined
  ✔️ radio button and checkbox selectorType overrides should not override choice list with no selectorType defined
should not override multiple choice list with no selectorType defined
  ✔️ radio button and checkbox selectorType overrides should not override multiple choice list with no selectorType defined

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/extendMixins.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Extend Mixins tests with CE 2✔️ 40s
Root Suite 0ms

✔️ Extend Mixins tests with CE

Applies extend mixin only if it is enabled on the node
  ✔️ Extend Mixins tests with CE Applies extend mixin only if it is enabled on the node
Does not apply extend mixin on create
  ✔️ Extend Mixins tests with CE Does not apply extend mixin on create

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/jsonOverrideTests.cy.ts.xml

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

Test suite Passed Failed Skipped Time
json override tests 5✔️ 76s
Root Suite 0ms

✔️ json override tests

can hide advancedMode button with json override
  ✔️ json override tests can hide advancedMode button with json override
can support json overrides
  ✔️ json override tests can support json overrides
can hide preview in advanced mode with json override
  ✔️ json override tests can hide preview in advanced mode with json override
supports default value override on create
  ✔️ json override tests supports default value override on create
can restore advanced mode button when module is undeployed
  ✔️ json override tests can restore advanced mode button when module is undeployed

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/language.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Language switcher tests 4✔️ 83s
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/contentEditor/listOrdering.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test list ordering 1✔️ 22s

✔️ 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/contentEditor/orderableValues.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test ordering properties with multiple values 2✔️ 36s

✔️ 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/contentEditor/pageAsModel.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Page as model 1✔️ 32s
Root Suite 0ms

✔️ Page as model

Creates and uses page as model successfully
  ✔️ Page as model Creates and uses page as model successfully

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/permissions.cy.ts.xml

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

Test suite Passed Failed Skipped Time
permissions 1✔️ 15s
Root Suite 0ms

✔️ permissions

can edit rich text with editor
  ✔️ permissions can edit rich text with editor

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/previewContent.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Preview tests 3✔️ 74s
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
renders template:include properly
  ✔️ Preview tests renders template:include properly
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/contentEditor/richText.cy.ts.xml

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

Test suite Passed Failed Skipped Time
richText 2✔️ 25s
Root Suite 0ms

✔️ richText

can edit rich text with ckeditor
  ✔️ richText can edit rich text with ckeditor
shows ckeditor notifications
  ✔️ richText shows ckeditor notifications

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/savePublishButtonsFlow.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test the save publish buttons flow 1✔️ 48s

✔️ 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/systemNameTest.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
System name test 8✔️ 209s

✔️ System name test

Cannot save with invalid system name
  ✔️ System name test Cannot save with invalid system name
Create a page with chinese characters
  ✔️ System name test Create a page with chinese characters
Create a page with a reserved word
  ✔️ System name test Create a page with a reserved word
Create a page with an accented characters
  ✔️ System name test Create a page with an accented characters
Create a page with special characters
  ✔️ System name test Create a page with special characters
Create a page with ".."
  ✔️ System name test Create a page with ".."
Check system name sync
  ✔️ System name test Check system name sync
Should limit the system name of content to 128 characters
  ✔️ System name test Should limit the system name of content to 128 characters

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/textFieldInitializerTest.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test the text field initializer 1✔️ 87s

✔️ 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/contentEditor/textRegexInDefinition.cy.ts.xml

1 tests were completed in 35s 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✔️ 35s

✔️ 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/contentEditor/usagesScreen.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Create content tests 2✔️ 75s
Root Suite 0ms

✔️ Create content tests

display 16 usages
  ✔️ Create content tests display 16 usages
displays 31 usages and restriction message
  ✔️ Create content tests displays 31 usages and restriction message

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/validation.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test the text field initializer 4✔️ 39s

✔️ 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
should handle constraint on create/i18n prop
  ✔️ Test the text field initializer should handle constraint on create/i18n prop
should handle constraint on edit/i18n prop
  ✔️ Test the text field initializer should handle constraint on edit/i18n prop

✔️ tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/visibilityScreen.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Create content tests 5✔️ 107s
Root Suite 0ms

✔️ Create content tests

Display visibility screen in non i18n site
  ✔️ Create content tests Display visibility screen in non i18n site
Activate date and time -  no rules set
  ✔️ Create content tests Activate date and time -  no rules set
Activate date and time - 2 rules set
  ✔️ Create content tests Activate date and time - 2 rules set
Add languages to site - languages checkboxes should show
  ✔️ Create content tests Add languages to site - languages checkboxes should show
Add languages to site - languages switch should show
  ✔️ Create content tests Add languages to site - languages switch should show