BACKLOG-23358 Add highlight test #1759
89 passed, 2 failed and 0 skipped
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/accordions.cy.ts.xml
2 tests were completed in 28s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test accordions | 2✔️ | 28s |
✔️ Test accordions
Check consistencies of RegExp validation pattern
✔️ Test accordions Check consistencies of RegExp validation pattern
Adds and displays accordion without permission
✔️ Test accordions Adds and displays accordion without permission
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/breadcrumbs.cy.ts.xml
5 tests were completed in 89s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Breadcrumb navigation test | 5✔️ | 89s | ||
Root Suite | 0ms |
✔️ Breadcrumb navigation test
Display popup when navigating to list and render list view when selected
✔️ Breadcrumb navigation test Display popup when navigating to list and render list view when selected
Display popup when navigating to list and render parent page when selected
✔️ Breadcrumb navigation test Display popup when navigating to list and render parent page when selected
Do not display popup when navigating to page
✔️ Breadcrumb navigation test Do not display popup when navigating to page
Do not display popup when navigating to list in list view
✔️ Breadcrumb navigation test Do not display popup when navigating to list in list view
Display same items as tree content selection
✔️ Breadcrumb navigation test Display same items as tree content selection
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/breadcrumbsPageBuilder.cy.ts.xml
2 tests were completed in 33s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Breadcrumbs inside boxes of page builder | 2✔️ | 33s | ||
Root Suite | 0ms |
✔️ Breadcrumbs inside boxes of page builder
Verifies breadcrumbs are displayed and can be used to make selection
✔️ Breadcrumbs inside boxes of page builder Verifies breadcrumbs are displayed and can be used to make selection
Selects multiple elements
✔️ Breadcrumbs inside boxes of page builder Selects multiple elements
❌ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/compareStagingLive.cy.ts.xml
4 tests were completed in 144s with 3 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
JContent preview tests | 3✔️ | 1❌ | 144s | |
Root Suite | 0ms |
❌ JContent preview tests
should open preview with url
✔️ JContent preview tests should open preview with url
should highlight changes staging vs live
✔️ JContent preview tests should highlight changes staging vs live
should refresh to original state
✔️ JContent preview tests should refresh to original state
should publish
❌ JContent preview tests should publish
AssertionError: Timed out retrying after 60000ms: Expected to find element: `div[class="col-md-12"]`, but never found it. Queried from:
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/contentFolder.cy.ts.xml
1 tests were completed in 13s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Content folder | 1✔️ | 13s | ||
Root Suite | 0ms |
✔️ Content folder
Open content folders correctly
✔️ Content folder Open content folders correctly
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/createContent.cy.ts.xml
3 tests were completed in 55s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Content Folders creation | 1✔️ | 20s | ||
Create content tests | 0ms | |||
Page Builder Creation | 2✔️ | 33s | ||
Root Suite | 0ms |
✔️ Content Folders creation
Can create content in content folders
✔️ Create content tests Content Folders creation Can create content in content folders
✔️ Page Builder Creation
Create content in page builder
✔️ Create content tests Page Builder Creation Create content in page builder
Update newly created content
✔️ Create content tests Page Builder Creation Update newly created content
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/createMedia.cy.ts.xml
10 tests were completed in 220s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create media tests | 10✔️ | 220s | ||
Root Suite | 0ms |
✔️ Create media tests
Can create and delete basic folder
✔️ Create media tests Can create and delete basic folder
Can create and delete chinese folder
✔️ Create media tests Can create and delete chinese folder
Can create and delete reserved word folder
✔️ Create media tests Can create and delete reserved word folder
Can create and delete reserved characters folder
✔️ Create media tests Can create and delete reserved characters folder
Can upload, download, rename and delete basic file
✔️ Create media tests Can upload, download, rename and delete basic file
Can upload, download, rename and delete accented file
✔️ Create media tests Can upload, download, rename and delete accented file
Can upload, rename and delete chinese file
✔️ Create media tests Can upload, rename and delete chinese file
Can upload, rename and delete special characters file
✔️ Create media tests Can upload, rename and delete special characters file
Can upload, rename and delete file with too much characters in filename
✔️ Create media tests Can upload, rename and delete file with too much characters in filename
Can open created file in advanced mode with preview
✔️ Create media tests Can open created file in advanced mode with preview
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/customContentBar.cy.ts.xml
2 tests were completed in 28s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Custom content bar test | 2✔️ | 28s | ||
Root Suite | 0ms |
✔️ Custom content bar test
Check if custom bar is always displayed in page builder for cent:defaultValueTest
✔️ Custom content bar test Check if custom bar is always displayed in page builder for cent:defaultValueTest
Check if custom bar is always displayed in page builder for cemix:withCustomBar
✔️ Custom content bar test Check if custom bar is always displayed in page builder for cemix:withCustomBar
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/errorDisplay.cy.ts.xml
4 tests were completed in 62s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Validate error handling | 4✔️ | 62s |
✔️ Validate error handling
Displays a 404 when reaching non existing page
✔️ Validate error handling Displays a 404 when reaching non existing page
Displays a 404 when reaching non existing folder
✔️ Validate error handling Displays a 404 when reaching non existing folder
Displays a 404 when reaching non existing page and allow to navigate back to existing page
✔️ Validate error handling Displays a 404 when reaching non existing page and allow to navigate back to existing page
Displays a 404 when reaching non existing site and allow to navigate back to existing page
✔️ Validate error handling Displays a 404 when reaching non existing site and allow to navigate back to existing page
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/header.cy.ts.xml
1 tests were completed in 56s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
jContent header tests | 1✔️ | 56s | ||
Root Suite | 0ms |
✔️ jContent header tests
Should open preview in french in new tab
✔️ jContent header tests Should open preview in french in new tab
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/links.cy.ts.xml
9 tests were completed in 267s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Links in jcontent | 9✔️ | 267s | ||
Root Suite | 0ms |
✔️ Links in jcontent
Do not open modal when clicking on internal link
✔️ Links in jcontent Do not open modal when clicking on internal link
Open modal when clicking on other site link
✔️ Links in jcontent Open modal when clicking on other site link
Open modal when clicking on external link
✔️ Links in jcontent Open modal when clicking on external link
Should open link modal and edit page when clicking on same site link from left navigation
✔️ Links in jcontent Should open link modal and edit page when clicking on same site link from left navigation
Should open link modal and edit page when clicking on other site link from left navigation
✔️ Links in jcontent Should open link modal and edit page when clicking on other site link from left navigation
Should open link modal when clicking on external link from left navigation
✔️ Links in jcontent Should open link modal when clicking on external link from left navigation
Open modal when clicking on menu title
✔️ Links in jcontent Open modal when clicking on menu title
Open modal when clicking on menu title and can edit entry from list view
✔️ Links in jcontent Open modal when clicking on menu title and can edit entry from list view
Trying to access legacy page composer redirect to page builder
✔️ Links in jcontent Trying to access legacy page composer redirect to page builder
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/mainResource.cy.ts.xml
6 tests were completed in 121s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Main resource menu display | 6✔️ | 121s | ||
Root Suite | 0ms |
✔️ Main resource menu display
Should not display main resource in menu
✔️ Main resource menu display Should not display main resource in menu
Should show event in menu
✔️ Main resource menu display Should show event in menu
✔️ Main resource menu display Should show event in menu
Should not show event in menu
✔️ Main resource menu display Should not show event in menu
✔️ Main resource menu display Should not show event in menu
Should not display event in content folders menu
✔️ Main resource menu display Should not display event in content folders menu
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/menu.cy.ts.xml
3 tests were completed in 106s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Menu tests | 3✔️ | 106s | ||
Root Suite | 0ms |
✔️ Menu tests
Can edit content
✔️ Menu tests Can edit content
Can download file
✔️ Menu tests Can download file
Can create a page at same level as home
✔️ Menu tests Can create a page at same level as home
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/navigation.cy.ts.xml
6 tests were completed in 194s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Content navigation | 6✔️ | 194s | ||
Root Suite | 0ms |
✔️ Content navigation
Should display custom accordion when enabled on site
✔️ Content navigation Should display custom accordion when enabled on site
Should not display custom accordion when not enabled on site
✔️ Content navigation Should not display custom accordion when not enabled on site
can open page with special chars in page builder
✔️ Content navigation can open page with special chars in page builder
can open page with the correct view mode selection
✔️ Content navigation can open page with the correct view mode selection
can open news in page builder
✔️ Content navigation can open news in page builder
Display popup when navigating to list and render list view when selected
✔️ Content navigation Display popup when navigating to list and render list view when selected
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/preview.cy.ts.xml
1 tests were completed in 91s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
JContent preview tests | 1✔️ | 91s | ||
Root Suite | 0ms |
✔️ JContent preview tests
should honor the j:view property when previewing content
✔️ JContent preview tests should honor the j:view property when previewing content
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/publicationStatus.cy.ts.xml
1 tests were completed in 73s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Publication status badge test | 1✔️ | 73s | ||
Root Suite | 0ms |
✔️ Publication status badge test
should show the last publisher, not the last editor
✔️ Publication status badge test should show the last publisher, not the last editor
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/publishAcrossViews.cy.ts.xml
1 tests were completed in 46s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Test the save publish buttons flow | 1✔️ | 46s |
✔️ Test the save publish buttons flow
Publish deletion in structured view
✔️ Test the save publish buttons flow Publish deletion in structured view
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/registryLabels.cy.ts.xml
1 tests were completed in 13s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Registry labels test | 1✔️ | 13s | ||
Root Suite | 0ms |
✔️ Registry labels test
Shows labels on required elements
✔️ Registry labels test Shows labels on required elements
❌ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/search.cy.ts.xml
10 tests were completed in 82s with 9 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
advanced search | 1❌ | 2s | ||
after close | 3✔️ | 40s | ||
from jcontent | 6✔️ | 37s | ||
Root Suite | 0ms | |||
Search tests | 0ms |
❌ advanced search
"before each" hook for "should find event by from "
❌ Search tests advanced search "before each" hook for "should find event by from "
CypressError: `cy.request()` failed on:
✔️ after close
should go back to content-folders after close
✔️ Search tests after close should go back to content-folders after close
should go back to pages after close
✔️ Search tests after close should go back to pages after close
should go back to default
✔️ Search tests after close should go back to default
✔️ from jcontent
Test basic search in current folder
✔️ Search tests from jcontent Test basic search in current folder
Test basic search in current site
✔️ Search tests from jcontent Test basic search in current site
Test search with type
✔️ Search tests from jcontent Test search with type
Test search edit
✔️ Search tests from jcontent Test search edit
Test search system name
✔️ Search tests from jcontent Test search system name
Test search tags
✔️ Search tests from jcontent Test search tags
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/selection.cy.ts.xml
18 tests were completed in 135s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Multi-selection tests | 0ms | |||
Root Suite | 0ms | |||
test selection in thumbnails view | 7✔️ | 37s | ||
test selection when switching modes | 4✔️ | 67s | ||
test simple select/unselect on files | 7✔️ | 30s |
✔️ test selection in thumbnails view
should be able to select item
✔️ Multi-selection tests test selection in thumbnails view should be able to select item
should switch selection
✔️ Multi-selection tests test selection in thumbnails view should switch selection
should select multiple
✔️ Multi-selection tests test selection in thumbnails view should select multiple
should be able to unselect
✔️ Multi-selection tests test selection in thumbnails view should be able to unselect
should have dedicated context menu
✔️ Multi-selection tests test selection in thumbnails view should have dedicated context menu
✔️ Multi-selection tests test selection in thumbnails view should have dedicated context menu
should not select anything if preview is opened
✔️ Multi-selection tests test selection in thumbnails view should not select anything if preview is opened
✔️ test selection when switching modes
Maintains selection when navigating back and forth from different modes
✔️ Multi-selection tests test selection when switching modes Maintains selection when navigating back and forth from different modes
opens selected items when navigating to structured view
✔️ Multi-selection tests test selection when switching modes opens selected items when navigating to structured view
remove selection when navigating to a mode where item is not visible
✔️ Multi-selection tests test selection when switching modes remove selection when navigating to a mode where item is not visible
remove selection when navigating to empty folder
✔️ Multi-selection tests test selection when switching modes remove selection when navigating to empty folder
✔️ test simple select/unselect on files
Can clear selection
✔️ Multi-selection tests test simple select/unselect on files Can clear selection
Can select/de-select items in list mode
✔️ Multi-selection tests test simple select/unselect on files Can select/de-select items in list mode
Can select/de-select items in dropdown
✔️ Multi-selection tests test simple select/unselect on files Can select/de-select items in dropdown
Can select items in list mode and clear selection
✔️ Multi-selection tests test simple select/unselect on files Can select items in list mode and clear selection
Can select items with right-click
✔️ Multi-selection tests test simple select/unselect on files Can select items with right-click
should not show "add to selection" if nothing is selected
✔️ Multi-selection tests test simple select/unselect on files should not show "add to selection" if nothing is selected
should show number of items selected in conrtext menu
✔️ Multi-selection tests test simple select/unselect on files should show number of items selected in conrtext menu
✔️ tests/artifacts/results/xml_reports/cypress/e2e/jcontent/tableViews.cy.ts.xml
1 tests were completed in 20s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Root Suite | 0ms | |||
Table view tests | 1✔️ | 20s |
✔️ Table view tests
Validate structured view columns are not sortable
✔️ Table view tests Validate structured view columns are not sortable
Annotations
github-actions / Tests Report cypress.config-jcontent.ts
JContent preview tests ► should publish ► JContent preview tests should publish
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/jcontent/compareStagingLive.cy.ts.xml
Error:
AssertionError: Timed out retrying after 60000ms: Expected to find element: `div[class="col-md-12"]`, but never found it. Queried from:
Raw output
AssertionError: Timed out retrying after 60000ms: Expected to find element: `div[class="col-md-12"]`, but never found it. Queried from:
> <body#t.neterror>
at Context.eval (webpack://@jahia/jcontent-cypress/./cypress/e2e/jcontent/compareStagingLive.cy.ts:64:37)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/jcontent/search.cy.ts.xml
github-actions / Tests Report cypress.config-jcontent.ts
advanced search ► "before each" hook for "should find event by from " ► Search tests advanced search "before each" hook for "should find event by from "
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/jcontent/search.cy.ts.xml
Error:
CypressError: `cy.request()` failed on:
Raw output
CypressError: `cy.request()` failed on:
http://jahia:8080/start
The response we received from your web server was:
> 401: Unauthorized
This was considered a failure because the status code was not `2xx` or `3xx`.
If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
-----------------------------------------------------------
The request we sent was:
Method: GET
URL: http://jahia:8080/start
Headers: {
"Connection": "keep-alive",
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/118.0.0.0 Safari/537.36",
"accept": "*/*",
"cookie": "JSESSIONID=49E761B359D2BF4B7773D3E1A2E75E0B",
"accept-encoding": "gzip, deflate"
}
-----------------------------------------------------------
The response we got was:
Status: 401 - Unauthorized
Headers: {
"expires": "Wed, 09 May 1979 05:30:00 GMT",
"cache-control": "no-cache, no-store, must-revalidate, proxy-revalidate, max-age=0",
"pragma": "no-cache",
"vary": "accept-encoding",
"content-encoding": "gzip",
"content-type": "text/html;charset=UTF-8",
"transfer-encoding": "chunked",
"date": "Fri, 08 Nov 2024 13:18:48 GMT",
"keep-alive": "timeout=20",
"connection": "keep-alive"
}
Body:
<!DOCTYPE html>
<html>
<head>
<!-- Meta info -->
<title>Login</title>
<meta name="description" content="401"/>
<meta name="keywords" content="">
<meta charset="UTF-8">
<meta name="robots" content="noindex, nofollow"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<!-- Import font (Nunito Sans) -->
<link href="/css/loginFont.css?81662e1" rel="stylesheet">
<!-- Main style -->
<link rel="stylesheet" href="/css/loginMain_dark.css?81662e1">
</head>
<body>
<section class="login" style="background-image: url(/css/images/login-background.jpg?81662e1);">
<div class="login-main">
<div class="position-container">
<div class="logo-form-container">
<div class="logo">
<img src="/css/images/dx_logo.png" alt="jahia logo">
</div>
<div class="login-form">
<form method="post" name="loginForm" action="/cms/login" id="loginForm" >
<input type="hidden" name="site" value=""/>
<input type="hidden" name="redirect" value="/start"/>
<div class="group">
<label class="inputlabel">Username</label>
<input type="text" name="username" maxlength="250" required />
<span class="highlight"></span>
<span class="bar"></span>
</div>
<div class="group">
<label class="inputlabel">Password</label>
<input type="passw...
This error occurred while validating the recreated session. Because validation failed immediately after recreating the session, we failed the test.
https://on.cypress.io/request
Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `advanced search`
at <unknown> (http://jahia:8080/__cypress/runner/cypress_runner.js:132919:72)
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 _drainQueueStep (http://jahia:8080/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://jahia:8080/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://jahia:8080/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://jahia:8080/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at Context.eval (webpack://@jahia/jcontent-cypress/./node_modules/@jahia/cypress/dist/support/login.js:27:0)
From Your Spec Code:
at Context.eval (webpack://@jahia/jcontent-cypress/./node_modules/@jahia/cypress/dist/support/login.js:27:0)