Skip to content

BACKLOG-23347: Show SEO section only for certain nodetypes (#256) #165

BACKLOG-23347: Show SEO section only for certain nodetypes (#256)

BACKLOG-23347: Show SEO section only for certain nodetypes (#256) #165

GitHub Actions / Tests Report succeeded Jan 10, 2025 in 0s

49 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
tests/artifacts/results/xml_reports/cypress/e2e/actions/checkUnpublishActions.cy.ts.xml 2✅ 31s
tests/artifacts/results/xml_reports/cypress/e2e/copyPaste.cy.ts.xml 2✅ 37s
tests/artifacts/results/xml_reports/cypress/e2e/cutPaste.cy.ts.xml 1✅ 16s
tests/artifacts/results/xml_reports/cypress/e2e/dashboard/checkDisplayedVanity.test.cy.ts.xml 1✅ 15s
tests/artifacts/results/xml_reports/cypress/e2e/dashboard/checkPagination.test.cy.ts.xml 1✅ 34s
tests/artifacts/results/xml_reports/cypress/e2e/dashboard/checkSorting.cy.ts.xml 1✅ 45s
tests/artifacts/results/xml_reports/cypress/e2e/delete/checkDeleteAction.cy.ts.xml 2✅ 38s
tests/artifacts/results/xml_reports/cypress/e2e/delete/checkDeletePermanentlyAction.cy.ts.xml 2✅ 33s
tests/artifacts/results/xml_reports/cypress/e2e/edit/addVanityUrlOnContentUi.cy.ts.xml 3✅ 83s
tests/artifacts/results/xml_reports/cypress/e2e/edit/addVanityUrlonFileUi.cy.ts.xml 1✅ 26s
tests/artifacts/results/xml_reports/cypress/e2e/edit/addVanityUrlUi.cy.ts.xml 8✅ 187s
tests/artifacts/results/xml_reports/cypress/e2e/edit/checkToolbarVanityUrlsPageUi.cy.ts.xml 1✅ 17s
tests/artifacts/results/xml_reports/cypress/e2e/edit/editVanityUrlUi.cy.ts.xml 1✅ 28s
tests/artifacts/results/xml_reports/cypress/e2e/edit/removeVanityUrlonFileUi.cy.ts.xml 1✅ 29s
tests/artifacts/results/xml_reports/cypress/e2e/move/checkMoveAction.cy.ts.xml 2✅ 48s
tests/artifacts/results/xml_reports/cypress/e2e/multilang.site.test.cy.ts.xml 2✅ 4s
tests/artifacts/results/xml_reports/cypress/e2e/permissions/checkPublicationPermissions.cy.ts.xml 2✅ 37s
tests/artifacts/results/xml_reports/cypress/e2e/permissions/checkUisPermissions.cy.ts.xml 4✅ 65s
tests/artifacts/results/xml_reports/cypress/e2e/permissions/checkViewVanityUrlModalPermissions.cy.ts.xml 3✅ 58s
tests/artifacts/results/xml_reports/cypress/e2e/publication/checkPublicationButtons.cy.ts.xml 1✅ 17s
tests/artifacts/results/xml_reports/cypress/e2e/publication/checkUnpublication.cy.ts.xml 444ms
tests/artifacts/results/xml_reports/cypress/e2e/seoOverrides/definitions.cy.ts.xml 3✅ 1❌ 112s
tests/artifacts/results/xml_reports/cypress/e2e/seoPageLinksTest.tests.cy.ts.xml 3✅ 14s
tests/artifacts/results/xml_reports/cypress/e2e/singlelang.site.test.cy.ts.xml 1✅ 4s
tests/artifacts/results/xml_reports/cypress/e2e/urlrewrite.tests.cy.ts.xml 1✅ 5s

✅ tests/artifacts/results/xml_reports/cypress/e2e/actions/checkUnpublishActions.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 actions of vanity urls 2✅ 31s

✅ Test actions of vanity urls

Should unpublish action enabled in menu for for content existing in live
  ✅ Test actions of vanity urls Should unpublish action enabled in menu for for content existing in live
Should unpublish action disabled in menu for for content not existing in live
  ✅ Test actions of vanity urls Should unpublish action disabled in menu for for content not existing in live

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

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

Test suite Passed Failed Skipped Time
Copy and Paste tests with Vanity Urls 2✅ 37s
Root Suite 0ms

✅ Copy and Paste tests with Vanity Urls

Check for copy and paste (under same parent)
  ✅ Copy and Paste tests with Vanity Urls Check for copy and paste (under same parent)
Check for copy and paste (under different parent)
  ✅ Copy and Paste tests with Vanity Urls Check for copy and paste (under different parent)

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

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

Test suite Passed Failed Skipped Time
Cut and Paste tests with Vanity Urls 1✅ 16s
Root Suite 0ms

✅ Cut and Paste tests with Vanity Urls

Check for cut and paste
  ✅ Cut and Paste tests with Vanity Urls Check for cut and paste

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

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

Test suite Passed Failed Skipped Time
Checks on vanity urls dashboard 1✅ 15s
Root Suite 0ms

✅ Checks on vanity urls dashboard

Verify content correctly displayed for pages with unpublished publication status.
  ✅ Checks on vanity urls dashboard Verify content correctly displayed for pages with unpublished publication status.

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

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

Test suite Passed Failed Skipped Time
Checks the pagination of vanity url in dashboard 1✅ 34s
Root Suite 0ms

✅ Checks the pagination of vanity url in dashboard

Check if pagination button correctly change to other page.
  ✅ Checks the pagination of vanity url in dashboard Check if pagination button correctly change to other page.

✅ tests/artifacts/results/xml_reports/cypress/e2e/dashboard/checkSorting.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Checks the sort of pages in dashboard 1✅ 45s
Root Suite 0ms

✅ Checks the sort of pages in dashboard

Check if pages are sorted by name.
  ✅ Checks the sort of pages in dashboard Check if pages are sorted by name.

✅ tests/artifacts/results/xml_reports/cypress/e2e/delete/checkDeleteAction.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Checks the deletion action on vanity urls 2✅ 38s
Root Suite 0ms

✅ Checks the deletion action on vanity urls

Should mark for deletion on delete then remove on publish
  ✅ Checks the deletion action on vanity urls Should mark for deletion on delete then remove on publish
Should delete and publish all vanity of a page then the page should not be displayed
  ✅ Checks the deletion action on vanity urls Should delete and publish all vanity of a page then the page should not be displayed

✅ tests/artifacts/results/xml_reports/cypress/e2e/delete/checkDeletePermanentlyAction.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Checks the delete permanenty action on vanity urls 2✅ 33s
Root Suite 0ms

✅ Checks the delete permanenty action on vanity urls

Should delete permanently be visible when not published vanity is marked for deletion
  ✅ Checks the delete permanenty action on vanity urls Should delete permanently be visible when not published vanity is marked for deletion
Should publish be visible when published vanity is marked for deletion
  ✅ Checks the delete permanenty action on vanity urls Should publish be visible when published vanity is marked for deletion

✅ tests/artifacts/results/xml_reports/cypress/e2e/edit/addVanityUrlOnContentUi.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Add or edit vanity Urls 3✅ 83s
Root Suite 0ms

✅ Add or edit vanity Urls

Add a first basic vanity URL on a content
  ✅ Add or edit vanity Urls Add a first basic vanity URL on a content
Edit a vanity URL on a content
  ✅ Add or edit vanity Urls Edit a vanity URL on a content
Remove a vanity URL on a content
  ✅ Add or edit vanity Urls Remove a vanity URL on a content

✅ tests/artifacts/results/xml_reports/cypress/e2e/edit/addVanityUrlonFileUi.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Add or edit vanity Urls on a file 1✅ 26s
Root Suite 0ms

✅ Add or edit vanity Urls on a file

Add a first basic vanity URL on a file
  ✅ Add or edit vanity Urls on a file Add a first basic vanity URL on a file

✅ tests/artifacts/results/xml_reports/cypress/e2e/edit/addVanityUrlUi.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Add vanity Urls 8✅ 187s
Root Suite 0ms

✅ Add vanity Urls

Add a first basic vanity URL from the UI
  ✅ Add vanity Urls Add a first basic vanity URL from the UI
Add a second canonical vanity URL and published vanity URL from the UI
  ✅ Add vanity Urls Add a second canonical vanity URL and published vanity URL from the UI
Should display vanity url UI event if parent have special characters
  ✅ Add vanity Urls Should display vanity url UI event if parent have special characters
Add a vanity URL on non default language
  ✅ Add vanity Urls Add a vanity URL on non default language
Already existing vanity url
  ✅ Add vanity Urls Already existing vanity url
Add empty vanity url
  ✅ Add vanity Urls Add empty vanity url
Invalid chars in vanity url
  ✅ Add vanity Urls Invalid chars in vanity url
Invalid vanity url with .do
  ✅ Add vanity Urls Invalid vanity url with .do

✅ tests/artifacts/results/xml_reports/cypress/e2e/edit/checkToolbarVanityUrlsPageUi.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Check toolbar comportment from Vanity Urls page UI 1✅ 17s
Root Suite 0ms

✅ Check toolbar comportment from Vanity Urls page UI

Verify that the toolbar is closed after permanently deleting a page's list of vanity URLs.
  ✅ Check toolbar comportment from Vanity Urls page UI Verify that the toolbar is closed after permanently deleting a page's list of vanity URLs.

✅ tests/artifacts/results/xml_reports/cypress/e2e/edit/editVanityUrlUi.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Edit vanity Urls 1✅ 28s
Root Suite 0ms

✅ Edit vanity Urls

Edit vanity URL from the UI
  ✅ Edit vanity Urls Edit vanity URL from the UI

✅ tests/artifacts/results/xml_reports/cypress/e2e/edit/removeVanityUrlonFileUi.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Remove vanity Urls from a file 1✅ 29s
Root Suite 0ms

✅ Remove vanity Urls from a file

Remove a vanity URL from a file
  ✅ Remove vanity Urls from a file Remove a vanity URL from a file

✅ tests/artifacts/results/xml_reports/cypress/e2e/move/checkMoveAction.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Checks the publication action on not published pages in UIs 2✅ 48s
Root Suite 0ms

✅ Checks the publication action on not published pages in UIs

Should move the vanity url from source page to target page
  ✅ Checks the publication action on not published pages in UIs Should move the vanity url from source page to target page
Should move several vanity urls from source page to target page
  ✅ Checks the publication action on not published pages in UIs Should move several vanity urls from source page to target page

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

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

Test suite Passed Failed Skipped Time
Basic tests of seo filter for multilingual site 2✅ 4s
Root Suite 0ms

✅ Basic tests of seo filter for multilingual site

Verify no duplicate SEO links on page with existing SEO links.
  ✅ Basic tests of seo filter for multilingual site Verify no duplicate SEO links on page with existing SEO links.
Verify proper addition of SEO links on page without existing SEO links
  ✅ Basic tests of seo filter for multilingual site Verify proper addition of SEO links on page without existing SEO links

✅ tests/artifacts/results/xml_reports/cypress/e2e/permissions/checkPublicationPermissions.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test permissions for publication 2✅ 37s

✅ Test permissions for publication

Should user see request publication when is editor
  ✅ Test permissions for publication Should user see request publication when is editor
Should user see publish button when is editor in chief
  ✅ Test permissions for publication Should user see publish button when is editor in chief

✅ tests/artifacts/results/xml_reports/cypress/e2e/permissions/checkUisPermissions.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test UIs permissions 4✅ 65s

✅ Test UIs permissions

Verify that user have permission to see vanity url on content editor
  ✅ Test UIs permissions Verify that user have permission to see vanity url on content editor
Verify that user have access to vanity url page and only page-a is read only
  ✅ Test UIs permissions Verify that user have access to vanity url page and only page-a is read only
Verify that user have access to vanity url page and can edit page-b
  ✅ Test UIs permissions Verify that user have access to vanity url page and can edit page-b
Verify that user have no access to vanity url modal in content editor in read only
  ✅ Test UIs permissions Verify that user have no access to vanity url modal in content editor in read only

✅ tests/artifacts/results/xml_reports/cypress/e2e/permissions/checkViewVanityUrlModalPermissions.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test UIs permissions 3✅ 58s

✅ Test UIs permissions

Verify that user having permission can see the vanity url modal button
  ✅ Test UIs permissions Verify that user having permission can see the vanity url modal button
Verify that user having permission can see and edit some data in the vanity url modal
  ✅ Test UIs permissions Verify that user having permission can see and edit some data in the vanity url modal
Verify that user without permission cannot see the vanity url modal
  ✅ Test UIs permissions Verify that user without permission cannot see the vanity url modal

✅ tests/artifacts/results/xml_reports/cypress/e2e/publication/checkPublicationButtons.cy.ts.xml

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

Test suite Passed Failed Skipped Time
Checks the publication action on not published pages in UIs 1✅ 17s
Root Suite 0ms

✅ Checks the publication action on not published pages in UIs

Check if publish actions not present for vanity on not published content for language
  ✅ Checks the publication action on not published pages in UIs Check if publish actions not present for vanity on not published content for language

✅ tests/artifacts/results/xml_reports/cypress/e2e/publication/checkUnpublication.cy.ts.xml

No tests found

Test suite Passed Failed Skipped Time
Checks the unpublication of the vanity urls 424ms
Root Suite 0ms

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

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

Test suite Passed Failed Skipped Time
New SEO field definition tests 3✅ 1❌ 112s
Root Suite 0ms

❌ New SEO field definition tests

should have new SEO fields for pages and can be saved
  ✅ New SEO field definition tests should have new SEO fields for pages and can be saved
should not have SEO section and new SEO fields for other types
  ✅ New SEO field definition tests should not have SEO section and new SEO fields for other types
should be possible to edit SEO fields : adding a new value
  ✅ New SEO field definition tests should be possible to edit SEO fields : adding a new value
should be possible to edit SEO fields : removing a value
  ❌ New SEO field definition tests should be possible to edit SEO fields : removing a value
	AssertionError: Timed out retrying after 30000ms: expected '<div.src-javascript-ContentEditor-editorTabs-EditPanelContent-FormBuilder-Field-Field__formControl--MdZFr>' to be 'visible'

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

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
SEO url rewrite on internal links 3✅ 14s

✅ SEO url rewrite on internal links

Internal link without vanity url
  ✅ SEO url rewrite on internal links Internal link without vanity url
Internal link with simple vanity url
  ✅ SEO url rewrite on internal links Internal link with simple vanity url
Internal link with vanity url containing special characters
  ✅ SEO url rewrite on internal links Internal link with vanity url containing special characters

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

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

Test suite Passed Failed Skipped Time
Basic tests of the module's seo filter 1✅ 4s
Root Suite 0ms

✅ Basic tests of the module's seo filter

Should only have canonical link and no alternate
  ✅ Basic tests of the module's seo filter Should only have canonical link and no alternate

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

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

Test suite Passed Failed Skipped Time
Basic test of vanity url access 1✅ 5s
Root Suite 0ms

✅ Basic test of vanity url access

Should redirect to the canonical vanity url
  ✅ Basic test of vanity url access Should redirect to the canonical vanity url

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Tests Report

New SEO field definition tests ► should be possible to edit SEO fields : removing a value ► New SEO field definition tests should be possible to edit SEO fields : removing a value

Failed test found in:
  tests/artifacts/results/xml_reports/cypress/e2e/seoOverrides/definitions.cy.ts.xml
Error:
  AssertionError: Timed out retrying after 30000ms: expected '<div.src-javascript-ContentEditor-editorTabs-EditPanelContent-FormBuilder-Field-Field__formControl--MdZFr>' to be 'visible'
Raw output
AssertionError: Timed out retrying after 30000ms: expected '<div.src-javascript-ContentEditor-editorTabs-EditPanelContent-FormBuilder-Field-Field__formControl--MdZFr>' to be 'visible'

This element `<div.src-javascript-ContentEditor-editorTabs-EditPanelContent-FormBuilder-Field-Field__formControl--MdZFr>` is not visible because its ancestor has `position: fixed` CSS property and it is overflowed by other elements. How about scrolling to the element with `cy.scrollIntoView()`?
    at Context.eval (webpack:///./cypress/e2e/seoOverrides/definitions.cy.ts:121:33)