Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BACKLOG-23358 Add highlight test #1328

Merged
merged 8 commits into from
Nov 8, 2024

BACKLOG-23358 Set jahia server name for the site

e82b145
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

BACKLOG-23358 Add highlight test #1328

BACKLOG-23358 Set jahia server name for the site
e82b145
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests Report cypress.config-contentEditor.ts succeeded Nov 8, 2024 in 0s

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✔️ 134s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/choiceTree.cy.ts.xml 3✔️ 127s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/constraints.cy.ts.xml 6✔️ 170s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/contentEditorForm.cy.ts.xml 15✔️ 312s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/contentMultiLanguage.cy.ts.xml 1✔️ 46s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/copyFromOneLanguageToCurrentLanguage.cy.ts.xml 1✔️ 33s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContent.cy.ts.xml 5✔️ 119s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/createContentI18N.cy.ts.xml 4✔️ 124s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/editContent.cy.ts.xml 2✔️ 32s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/editorUrl.cy.ts.xml 12✔️ 375s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/hidePreview.cy.ts.xml 4✔️ 100s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/choicelist.cy.ts.xml 5✔️ 74s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/extendMixins.cy.ts.xml 2✔️ 38s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/jsonOverrides/jsonOverrideTests.cy.ts.xml 5✔️ 73s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/language.cy.ts.xml 4✔️ 77s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/listOrdering.cy.ts.xml 1✔️ 18s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/orderableValues.cy.ts.xml 2✔️ 35s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/pageAsModel.cy.ts.xml 1✔️ 31s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/permissions.cy.ts.xml 1✔️ 14s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/previewContent.cy.ts.xml 3✔️ 66s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/richText.cy.ts.xml 2✔️ 19s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/savePublishButtonsFlow.cy.ts.xml 1✔️ 53s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/systemNameTest.cy.ts.xml 8✔️ 201s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/textFieldInitializerTest.cy.ts.xml 1✔️ 81s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/textRegexInDefinition.cy.ts.xml 1✔️ 33s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/usagesScreen.cy.ts.xml 2✔️ 65s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/validation.cy.ts.xml 4✔️ 34s
tests/artifacts/results/xml_reports/cypress/e2e/contentEditor/visibilityScreen.cy.ts.xml 5✔️ 114s

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

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

Test suite Passed Failed Skipped Time
Add Mixin by using choice list initializers (Image Reference) 2✔️ 134s
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 127s with 3 passed, 0 failed and 0 skipped.

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

✔️ 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 170s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
constraints 6✔️ 170s
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 312s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Content editor form 15✔️ 312s
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 46s 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✔️ 46s
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 33s with 1 passed, 0 failed and 0 skipped.

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

✔️ test copyFromOneLanguageToCurrentLanguage

test
  ✔️ test copyFromOneLanguageToCurrentLanguage test

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

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

Test suite Passed Failed Skipped Time
Create content tests 5✔️ 119s
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 124s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create content tests in I18N site 4✔️ 124s
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 32s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create content tests 2✔️ 32s
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 375s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Editor url test 12✔️ 375s
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 100s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Hide Preview testsuite 4✔️ 100s
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 74s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
radio button and checkbox selectorType overrides 5✔️ 74s
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 38s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Extend Mixins tests with CE 2✔️ 38s
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 73s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
json override tests 5✔️ 73s
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 77s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Language switcher tests 4✔️ 77s
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 18s with 1 passed, 0 failed and 0 skipped.

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

✔️ 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 35s with 2 passed, 0 failed and 0 skipped.

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

✔️ 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 31s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Page as model 1✔️ 31s
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 14s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
permissions 1✔️ 14s
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 66s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Preview tests 3✔️ 66s
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 19s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
richText 2✔️ 19s
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 53s with 1 passed, 0 failed and 0 skipped.

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

✔️ 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 201s with 8 passed, 0 failed and 0 skipped.

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

✔️ 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 81s with 1 passed, 0 failed and 0 skipped.

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

✔️ 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 33s 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✔️ 33s

✔️ 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 65s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create content tests 2✔️ 65s
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 34s with 4 passed, 0 failed and 0 skipped.

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

✔️ 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 114s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create content tests 5✔️ 114s
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