fix: Add valid context in jsonld #2726
Annotations
9 errors and 1 notice
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L177
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
175 | const result = await verifyResponse.json();
176 | expect(verifyResponse).toBeOK();
> 177 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
178 | expect(result.verified).toBe(true);
179 | });
180 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:177:34
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L176
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 773
- ← 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: 59
- etag: W/"3b-K7phvcqPIfLDrQ7kC3Q6vutixiA"
- date: Wed, 16 Oct 2024 12:16:03 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: Verification error(s)."}
174 | });
175 | const result = await verifyResponse.json();
> 176 | expect(verifyResponse).toBeOK();
| ^
177 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
178 | expect(result.verified).toBe(true);
179 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:176:25
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L1
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Error: end of central directory record signature not found
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L177
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
175 | const result = await verifyResponse.json();
176 | expect(verifyResponse).toBeOK();
> 177 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
178 | expect(result.verified).toBe(true);
179 | });
180 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:177:34
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L176
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 773
- ← 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: 59
- etag: W/"3b-K7phvcqPIfLDrQ7kC3Q6vutixiA"
- date: Wed, 16 Oct 2024 12:16:16 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: Verification error(s)."}
174 | });
175 | const result = await verifyResponse.json();
> 176 | expect(verifyResponse).toBeOK();
| ^
177 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
178 | expect(result.verified).toBe(true);
179 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:176:25
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L177
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
175 | const result = await verifyResponse.json();
176 | expect(verifyResponse).toBeOK();
> 177 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
178 | expect(result.verified).toBe(true);
179 | });
180 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:177:34
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L176
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 773
- ← 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: 59
- etag: W/"3b-K7phvcqPIfLDrQ7kC3Q6vutixiA"
- date: Wed, 16 Oct 2024 12:16:29 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: Verification error(s)."}
174 | });
175 | const result = await verifyResponse.json();
> 176 | expect(verifyResponse).toBeOK();
| ^
177 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
178 | expect(result.verified).toBe(true);
179 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:176:25
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L1
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: end of central directory record signature not found
|
|
|
This job failed
Loading