feat(add integration tests against CMS) #5809
ci-pipeline.yml
on: pull_request
Matrix: code-quality / code-quality
get-content-file
7s
Matrix: verify-local-e2e / e2e-tests
Matrix: verify-preview-e2e / e2e-tests
Waiting for pending jobs
Send failure message to Slack
0s
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 |
|