Also mock editionStore, remove error mocks #16361
pipeline.yml
on: push
audit-licenses-frontend
22s
prep-playwright-tests
12s
backend-checks
/
scan-backend-changes
4s
frontend-checks
/
scan-frontend-changes
3s
backend-build-image-and-scan
2m 36s
frontend-build-image-and-scan
2m 12s
generate-backend-code-documentation
1m 13s
generate-entity-relationship-diagram
0s
backend-checks
/
backend-unit-tests
0s
backend-checks
/
backend-integration-tests
0s
backend-checks
/
analyze-backend
0s
frontend-checks
/
frontend-tests
1m 28s
frontend-checks
/
frontend-style
2m 20s
frontend-checks
/
analyze-frontend
1m 54s
Matrix: e2e-tests / e2e-matrix
Waiting for pending jobs
query-performance-tests
/
playwright-test
push-reports
0s
deploy-uat
0s
Annotations
7 errors and 14 warnings
test/components/periodicalEvaluation/editionReferenceInput.spec.ts > Legal periodical edition reference input > search is triggered with shortcut:
frontend/node_modules/jest-fail-on-console/index.js#L48
Error: Expected test not to call console.error().
If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.
Error: AggregateError
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
at Socket.emit (node:events:524:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3) undefined
at Console.captureMessage [as error] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jest-fail-on-console/index.js:83:25)
at VirtualConsole.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
at VirtualConsole.emit (node:events:524:28)
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:66:53)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19
❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
❯ ClientRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14
❯ flushUnexpectedConsoleCalls node_modules/jest-fail-on-console/index.js:48:13
❯ node_modules/jest-fail-on-console/index.js:145:7
|
test/components/periodicalEvaluation/editionReferenceInput.spec.ts > Legal periodical edition reference input > adding a decision scrolls to reference on validation errors:
frontend/node_modules/jest-fail-on-console/index.js#L48
Error: Expected test not to call console.error().
If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.
Error: AggregateError
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
at Socket.emit (node:events:524:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3) undefined
at Console.captureMessage [as error] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jest-fail-on-console/index.js:83:25)
at VirtualConsole.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
at VirtualConsole.emit (node:events:524:28)
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:66:53)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19
❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
❯ ClientRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14
❯ flushUnexpectedConsoleCalls node_modules/jest-fail-on-console/index.js:48:13
❯ node_modules/jest-fail-on-console/index.js:145:7
|
frontend-checks / frontend-tests
Process completed with exit code 1.
|
test/components/periodicalEvaluation/editionReferenceInput.spec.ts > Legal periodical edition reference input > search is triggered with shortcut:
frontend/node_modules/jest-fail-on-console/index.js#L48
Error: Expected test not to call console.error().
If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.
Error: AggregateError
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
at Socket.emit (node:events:524:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3) undefined
at Console.captureMessage [as error] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jest-fail-on-console/index.js:83:25)
at VirtualConsole.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
at VirtualConsole.emit (node:events:524:28)
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:66:53)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19
❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
❯ ClientRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14
❯ flushUnexpectedConsoleCalls node_modules/jest-fail-on-console/index.js:48:13
❯ node_modules/jest-fail-on-console/index.js:145:7
|
test/components/periodicalEvaluation/editionReferenceInput.spec.ts > Legal periodical edition reference input > adding a decision scrolls to reference on validation errors:
frontend/node_modules/jest-fail-on-console/index.js#L48
Error: Expected test not to call console.error().
If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.
Error: AggregateError
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
at Socket.emit (node:events:524:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3) undefined
at Console.captureMessage [as error] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jest-fail-on-console/index.js:83:25)
at VirtualConsole.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
at VirtualConsole.emit (node:events:524:28)
at Object.dispatchError (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:66:53)
at Request.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
at Request.emit (node:events:536:35)
at ClientRequest.<anonymous> (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
at ClientRequest.emit (node:events:524:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19
❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
❯ ClientRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14
❯ flushUnexpectedConsoleCalls node_modules/jest-fail-on-console/index.js:48:13
❯ node_modules/jest-fail-on-console/index.js:145:7
|
frontend-checks / analyze-frontend
Process completed with exit code 1.
|
generate-test-reports
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/ris-backend-service/ris-backend-service/./frontend/all-blob-reports'. No such file or directory
|
frontend-checks / scan-frontend-changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-checks / scan-backend-changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prep-playwright-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
audit-licenses-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
audit-licenses-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
generate-backend-code-documentation
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks / frontend-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks / analyze-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-build-image-and-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks / frontend-style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-build-image-and-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
push-backend-image-to-registry
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
generate-test-reports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
backend-code-documentation
|
1.99 MB |
|
licence-reports-backend
|
4.96 KB |
|
licence-reports-frontend
|
2.28 KB |
|
performance-report
|
2.37 KB |
|
trivy-results-backend.sarif
|
2.95 KB |
|
vuln-backend.json
|
23.4 KB |
|
vuln-frontend.json
|
4.37 KB |
|