BACKLOG-22232: Fix release wf #88
9 passed, 10 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml | 3✔️ | 3❌ | 5s | |
tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml | 6✔️ | 4❌ | 10s | |
tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml | 3❌ | 3s |
❌ tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml
6 tests were completed in 5s with 3 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Default HTML filtering | 3✔️ | 3❌ | 5s | |
Root Suite | 0ms |
❌ Default HTML filtering
allows internal links - files
✔️ Default HTML filtering allows internal links - files
allows internal links - content
✔️ Default HTML filtering allows internal links - content
allows external links
✔️ Default HTML filtering allows external links
rejects invalid protocol links
❌ Default HTML filtering rejects invalid protocol links
AssertionError: expected '<p>This is an <a href="javascript://%0aalert(document.location)">xss test</a></p>' to not include '<a'
rejects invalid href links
❌ Default HTML filtering rejects invalid href links
AssertionError: expected '<p>This is an <a href="#javascript:alert(\'hello\')" target="_blank">xss test</a></p>' to not include 'href'
"after all" hook for "rejects invalid href links"
❌ Default HTML filtering "after all" hook for "rejects invalid href links"
CypressError: `cy.readFile("./node_modules/@jahia/cypress/fixtures/graphql/jcr/mutation/deleteNode.graphql")` timed out.
❌ tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
10 tests were completed in 10s with 6 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
HTML rich text filtering | 6✔️ | 4❌ | 10s | |
Root Suite | 0ms |
❌ HTML rich text filtering
does not apply html filtering to tag when disabled (default)
✔️ HTML rich text filtering does not apply html filtering to tag when disabled (default)
does not apply html filtering to attribute when disabled (default)
✔️ HTML rich text filtering does not apply html filtering to attribute when disabled (default)
applies default html filtering when enabled
❌ HTML rich text filtering applies default html filtering when enabled
AssertionError: expected '<iframe title="My iframe"></iframe><a title="My link"></a><script> var today= new Date(); </script>' to not include 'iframe'
✔️ HTML rich text filtering applies default html filtering when enabled
applies default filtering to html element when enabled
✔️ HTML rich text filtering applies default filtering to html element when enabled
applies default filtering to html attributes when enabled
❌ HTML rich text filtering applies default filtering to html attributes when enabled
AssertionError: filtered attribute: expected '<img src="stub.jpg" loading="lazy"><a href="https://localhost:8080">' to not include 'loading'
does not override filtering config for other site
✔️ HTML rich text filtering does not override filtering config for other site
can override filtering config for specified site
❌ HTML rich text filtering can override filtering config for specified site
AssertionError: expected '<p>This text<strong>is important!</strong> but not this one</p>' to not include 'strong'
can update config and filter using updated rules
❌ HTML rich text filtering can update config and filter using updated rules
AssertionError: expected '<p>This text<i>is important!</i> but not this one</p>' to not include '<i>'
does not override filtering config for specified site when filtering is disabled
✔️ HTML rich text filtering does not override filtering config for specified site when filtering is disabled
❌ tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml
3 tests were completed in 3s with 0 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
HTML rich text filtering API | 3❌ | 3s | ||
Root Suite | 0ms |
❌ HTML rich text filtering API
filters via API and reports on removed elements/attributes
❌ HTML rich text filtering API filters via API and reports on removed elements/attributes
TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
returns a list of configured elements and attributes
❌ HTML rich text filtering API returns a list of configured elements and attributes
TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
"after all" hook for "returns a list of configured elements and attributes"
❌ HTML rich text filtering API "after all" hook for "returns a list of configured elements and attributes"
CypressError: `cy.readFile("./node_modules/@jahia/cypress/fixtures/groovy/admin/deleteSite.groovy")` timed out.
Annotations
github-actions / Tests Report
Default HTML filtering ► rejects invalid protocol links ► Default HTML filtering rejects invalid protocol links
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml
Error:
AssertionError: expected '<p>This is an <a href="javascript://%0aalert(document.location)">xss test</a></p>' to not include '<a'
Raw output
AssertionError: expected '<p>This is an <a href="javascript://%0aalert(document.location)">xss test</a></p>' to not include '<a'
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/defaultFiltering.cy.ts:69:0)
github-actions / Tests Report
Default HTML filtering ► rejects invalid href links ► Default HTML filtering rejects invalid href links
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml
Error:
AssertionError: expected '<p>This is an <a href="#javascript:alert(\'hello\')" target="_blank">xss test</a></p>' to not include 'href'
Raw output
AssertionError: expected '<p>This is an <a href="#javascript:alert(\'hello\')" target="_blank">xss test</a></p>' to not include 'href'
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/defaultFiltering.cy.ts:80:0)
github-actions / Tests Report
Default HTML filtering ► "after all" hook for "rejects invalid href links" ► Default HTML filtering "after all" hook for "rejects invalid href links"
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml
Error:
CypressError: `cy.readFile("./node_modules/@jahia/cypress/fixtures/graphql/jcr/mutation/deleteNode.graphql")` timed out.
Raw output
CypressError: `cy.readFile("./node_modules/@jahia/cypress/fixtures/graphql/jcr/mutation/deleteNode.graphql")` 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: `Default HTML filtering`
at cypressErr (http://jahia:8080/__cypress/runner/cypress_runner.js:75240:18)
at Object.cypressErrByPath (http://jahia:8080/__cypress/runner/cypress_runner.js:75245:10)
at $Command.readFile (http://jahia:8080/__cypress/runner/cypress_runner.js:119381:88)
at cyFn (http://jahia:8080/__cypress/runner/cypress_runner.js:138375:19)
From Your Spec Code:
at Context.apollo (webpack://@jahia/html-filtering-cypress/./node_modules/@jahia/cypress/dist/support/apollo/apollo.js:57:0)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
github-actions / Tests Report
HTML rich text filtering ► applies default html filtering when enabled ► HTML rich text filtering applies default html filtering when enabled
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
Error:
AssertionError: expected '<iframe title="My iframe"></iframe><a title="My link"></a><script> var today= new Date(); </script>' to not include 'iframe'
Raw output
AssertionError: expected '<iframe title="My iframe"></iframe><a title="My link"></a><script> var today= new Date(); </script>' to not include 'iframe'
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/filtering.cy.ts:41:0)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
github-actions / Tests Report
HTML rich text filtering ► applies default filtering to html attributes when enabled ► HTML rich text filtering applies default filtering to html attributes when enabled
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
Error:
AssertionError: filtered attribute: expected '<img src="stub.jpg" loading="lazy"><a href="https://localhost:8080">' to not include 'loading'
Raw output
AssertionError: filtered attribute: expected '<img src="stub.jpg" loading="lazy"><a href="https://localhost:8080">' to not include 'loading'
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/filtering.cy.ts:68:0)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
github-actions / Tests Report
HTML rich text filtering ► can override filtering config for specified site ► HTML rich text filtering can override filtering config for specified site
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
Error:
AssertionError: expected '<p>This text<strong>is important!</strong> but not this one</p>' to not include 'strong'
Raw output
AssertionError: expected '<p>This text<strong>is important!</strong> but not this one</p>' to not include 'strong'
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/filtering.cy.ts:83:0)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
github-actions / Tests Report
HTML rich text filtering ► can update config and filter using updated rules ► HTML rich text filtering can update config and filter using updated rules
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml
Error:
AssertionError: expected '<p>This text<i>is important!</i> but not this one</p>' to not include '<i>'
Raw output
AssertionError: expected '<p>This text<i>is important!</i> but not this one</p>' to not include '<i>'
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/filtering.cy.ts:92:0)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml
github-actions / Tests Report
HTML rich text filtering API ► filters via API and reports on removed elements/attributes ► HTML rich text filtering API filters via API and reports on removed elements/attributes
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml
Error:
TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
Raw output
TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/filteringAPI.cy.ts:28:0)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml
github-actions / Tests Report
HTML rich text filtering API ► returns a list of configured elements and attributes ► HTML rich text filtering API returns a list of configured elements and attributes
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml
Error:
TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
Raw output
TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
at Context.eval (webpack://@jahia/html-filtering-cypress/./cypress/e2e/filteringAPI.cy.ts:45:0)
Check failure on line 0 in tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml
github-actions / Tests Report
HTML rich text filtering API ► "after all" hook for "returns a list of configured elements and attributes" ► HTML rich text filtering API "after all" hook for "returns a list of configured elements and attributes"
Failed test found in:
tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.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: `HTML rich text filtering API`
at cypressErr (http://jahia:8080/__cypress/runner/cypress_runner.js:75240:18)
at Object.cypressErrByPath (http://jahia:8080/__cypress/runner/cypress_runner.js:75245:10)
at $Command.readFile (http://jahia:8080/__cypress/runner/cypress_runner.js:119381:88)
at cyFn (http://jahia:8080/__cypress/runner/cypress_runner.js:138375:19)
From Your Spec Code:
at append (webpack://@jahia/html-filtering-cypress/./node_modules/@jahia/cypress/dist/support/provisioning/runProvisioningScript.js:19:0)
at eval (webpack://@jahia/html-filtering-cypress/./node_modules/@jahia/cypress/dist/support/provisioning/runProvisioningScript.js:54:0)
at Array.forEach (<anonymous>)
at Context.runProvisioningScript (webpack://@jahia/html-filtering-cypress/./node_modules/@jahia/cypress/dist/support/provisioning/runProvisioningScript.js:53:0)