Skip to content

feat(add integration tests against CMS) #5809

feat(add integration tests against CMS)

feat(add integration tests against CMS) #5809

Triggered via pull request November 19, 2024 12:24
Status Failure
Total duration 3m 17s
Artifacts 5

ci-pipeline.yml

on: pull_request
Matrix: code-quality / code-quality
get-content-file
7s
get-content-file
Matrix: verify-local-e2e / e2e-tests
verify-local-e2e  /  merge-reports
0s
verify-local-e2e / merge-reports
build-push-app-image
0s
build-push-app-image
deploy-staging
0s
deploy-staging
deploy-preview
0s
deploy-preview
Matrix: verify-preview-e2e / e2e-tests
Waiting for pending jobs
verify-preview-e2e  /  merge-reports
verify-preview-e2e / merge-reports
deploy-production
0s
deploy-production
test-production-text
0s
test-production-text
Send failure message to Slack
0s
Send failure message to Slack
Fit to window
Zoom out
Zoom in

Annotations

4 errors
tests/integration/verifyCmsContent.test.ts: app/services/cms/getStrapiEntryFromFile.ts#L26
Error: No valid content.json found while using 'CMS=FILE'. Either run 'npm run build:localContent' or try another CMS source ❯ Module.getStrapiEntryFromFile app/services/cms/getStrapiEntryFromFile.ts:26:3 ❯ tests/integration/verifyCmsContent.test.ts:152:9 Caused by: Caused by: Error: ENOENT: no such file or directory, open './content.json' ❯ Module.getStrapiEntryFromFile app/services/cms/getStrapiEntryFromFile.ts:23:24 ❯ tests/integration/verifyCmsContent.test.ts:152:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: './content.json' }
code-quality / npm run test:coverage
Process completed with exit code 1.
code-quality / npm run lint
The job was canceled because "test_coverage" failed.
code-quality / npm run lint
The operation was canceled.

Artifacts

Produced during runtime
Name Size
content-file
234 KB
playwright-blob-report-local-1 Expired
43.1 KB
playwright-blob-report-local-2 Expired
40.5 KB
playwright-blob-report-local-3 Expired
18.2 KB
playwright-blob-report-local-4 Expired
19.3 KB