Skip to content

feat: add cypress tests and CI automation workflows #63

feat: add cypress tests and CI automation workflows

feat: add cypress tests and CI automation workflows #63

GitHub Actions / Tests Report (Standalone) succeeded Feb 6, 2025 in 0s

0 passed, 1 failed and 0 skipped

Tests failed

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

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

Test suite Passed Failed Skipped Time
Base CSRF tests 1❌ 2s
Root Suite 0ms

❌ Base CSRF tests

"before all" hook: Create target test site for "should find csrf token in page action URLS"
  ❌ Base CSRF tests "before all" hook: Create target test site for "should find csrf token in page action URLS"
	TypeError: Cannot read properties of undefined (reading 'filter')

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Tests Report (Standalone)

Base CSRF tests ► "before all" hook: Create target test site for "should find csrf token in page action URLS" ► Base CSRF tests "before all" hook: Create target test site for "should find csrf token in page action URLS"

Failed test found in:
  tests/artifacts/results/xml_reports/cypress/e2e/base.cy.ts.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'filter')
Raw output
TypeError: Cannot read properties of undefined (reading 'filter')

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Base CSRF tests`
    at Context.eval (webpack://jahia-csrf-guard-cypress/./node_modules/@jahia/cypress/dist/utils/PublicationAndWorkflowHelper.js:59:0)