Skip to content

fix test payloads #2647

fix test payloads

fix test payloads #2647

Triggered via push September 30, 2024 11:58
Status Failure
Total duration 8m 28s
Artifacts 3

dispatch.yml

on: push
Lint  /  Broken Markdown links
2m 51s
Lint / Broken Markdown links
Lint  /  Super Linter
6m 53s
Lint / Super Linter
Build & Test  /  Build Node.js
8m 18s
Build & Test / Build Node.js
Build & Test  /  Build Docker image
6m 3s
Build & Test / Build Docker image
Release  /  Release Docker image
Release / Release Docker image
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 12 warnings, and 2 notices
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L122
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 120 | const { didUrls, accreditation } = await issueResponse.json(); 121 | expect(issueResponse).toBeOK(); > 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); 125 | expect(typeof accreditation.issuer === 'string' ? accreditation.issuer : accreditation.issuer.id).toBe( at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:122:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L121
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=attest - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.18 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 531 - ← 400 Bad Request - content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests - cross-origin-opener-policy: same-origin - cross-origin-resource-policy: same-origin - origin-agent-cluster: ?1 - referrer-policy: no-referrer - strict-transport-security: max-age=15552000; includeSubDomains - x-content-type-options: nosniff - x-dns-prefetch-control: off - x-download-options: noopen - x-frame-options: SAMEORIGIN - x-permitted-cross-domain-policies: none - x-xss-protection: 0 - vary: Origin - content-type: application/json; charset=utf-8 - content-length: 67 - etag: W/"43-YBXi6usl3gQwNkiVE0D8ImPpAXY" - date: Mon, 30 Sep 2024 12:05:04 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"root Authorization or parent Accreditation is not valid"} 119 | }); 120 | const { didUrls, accreditation } = await issueResponse.json(); > 121 | expect(issueResponse).toBeOK(); | ^ 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:121:24
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L1
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Error: end of central directory record signature not found
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L122
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 120 | const { didUrls, accreditation } = await issueResponse.json(); 121 | expect(issueResponse).toBeOK(); > 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); 125 | expect(typeof accreditation.issuer === 'string' ? accreditation.issuer : accreditation.issuer.id).toBe( at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:122:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L121
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=attest - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.18 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 531 - ← 400 Bad Request - content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests - cross-origin-opener-policy: same-origin - cross-origin-resource-policy: same-origin - origin-agent-cluster: ?1 - referrer-policy: no-referrer - strict-transport-security: max-age=15552000; includeSubDomains - x-content-type-options: nosniff - x-dns-prefetch-control: off - x-download-options: noopen - x-frame-options: SAMEORIGIN - x-permitted-cross-domain-policies: none - x-xss-protection: 0 - vary: Origin - content-type: application/json; charset=utf-8 - content-length: 67 - etag: W/"43-YBXi6usl3gQwNkiVE0D8ImPpAXY" - date: Mon, 30 Sep 2024 12:05:15 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"root Authorization or parent Accreditation is not valid"} 119 | }); 120 | const { didUrls, accreditation } = await issueResponse.json(); > 121 | expect(issueResponse).toBeOK(); | ^ 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:121:24
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L1
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: end of central directory record signature not found
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L122
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 120 | const { didUrls, accreditation } = await issueResponse.json(); 121 | expect(issueResponse).toBeOK(); > 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); 125 | expect(typeof accreditation.issuer === 'string' ? accreditation.issuer : accreditation.issuer.id).toBe( at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:122:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L121
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=attest - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.18 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 531 - ← 400 Bad Request - content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests - cross-origin-opener-policy: same-origin - cross-origin-resource-policy: same-origin - origin-agent-cluster: ?1 - referrer-policy: no-referrer - strict-transport-security: max-age=15552000; includeSubDomains - x-content-type-options: nosniff - x-dns-prefetch-control: off - x-download-options: noopen - x-frame-options: SAMEORIGIN - x-permitted-cross-domain-policies: none - x-xss-protection: 0 - vary: Origin - content-type: application/json; charset=utf-8 - content-length: 67 - etag: W/"43-YBXi6usl3gQwNkiVE0D8ImPpAXY" - date: Mon, 30 Sep 2024 12:05:27 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"root Authorization or parent Accreditation is not valid"} 119 | }); 120 | const { didUrls, accreditation } = await issueResponse.json(); > 121 | expect(issueResponse).toBeOK(); | ^ 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:121:24
Build & Test / Build Node.js
Process completed with exit code 1.
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L105
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L142
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L143
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_WEBHOOK_SECRET") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L112
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L115
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L130
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L124
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L137
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "VERIDA_PRIVATE_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L95
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Variables should be defined before their use: docker/Dockerfile#L101
UndefinedVar: Usage of undefined variable '$APPLICATION_BASE_URL' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Slow Test: [Logged In User Tests] › sequential/credential/suspension-flow.spec.ts#L1
[Logged In User Tests] › sequential/credential/suspension-flow.spec.ts took 1.1m
Slow Test: [Logged In User Tests] › sequential/credential/revocation-flow.spec.ts#L1
[Logged In User Tests] › sequential/credential/revocation-flow.spec.ts took 41.3s
🎭 Playwright Run Summary
1 skipped 60 passed (2.1m)
🎭 Playwright Run Summary
1 failed [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation 13 passed (4.1m)

Artifacts

Produced during runtime
Name Size
cheqd~studio~UJZI7W.dockerbuild Expired
56.1 KB
playwright-report Expired
3.9 KB
studio-staging Expired
705 MB