Update accreditation auth #2659
Annotations
10 errors and 2 notices
Run Playwright tests
Testing stopped early after 5 maximum allowed failures.
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L18
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
16 | const { didUrls, accreditation } = await issueResponse.json();
17 | expect(issueResponse).toBeOK();
> 18 | expect(issueResponse.status()).toBe(StatusCodes.OK);
| ^
19 | expect(accreditation.proof.type).toBe('JwtProof2020');
20 | expect(accreditation.proof).toHaveProperty('jwt');
21 | 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:18:33
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L17
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/accreditation/issue?accreditationType=authorize
- 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: 250
- ← 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: 144
- etag: W/"90-K8imfGYlGYjxtO0c3CbyyXOB8Qc"
- date: Fri, 04 Oct 2024 08:02:16 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"error":"Bad Request. No auth rules for handling such request: POST /accreditation/issue or please check that namespace scpecified correctly."}
15 | });
16 | const { didUrls, accreditation } = await issueResponse.json();
> 17 | expect(issueResponse).toBeOK();
| ^
18 | expect(issueResponse.status()).toBe(StatusCodes.OK);
19 | expect(accreditation.proof.type).toBe('JwtProof2020');
20 | expect(accreditation.proof).toHaveProperty('jwt');
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:17:24
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L18
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
16 | const { didUrls, accreditation } = await issueResponse.json();
17 | expect(issueResponse).toBeOK();
> 18 | expect(issueResponse.status()).toBe(StatusCodes.OK);
| ^
19 | expect(accreditation.proof.type).toBe('JwtProof2020');
20 | expect(accreditation.proof).toHaveProperty('jwt');
21 | 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:18:33
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L17
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/accreditation/issue?accreditationType=authorize
- 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: 250
- ← 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: 144
- etag: W/"90-K8imfGYlGYjxtO0c3CbyyXOB8Qc"
- date: Fri, 04 Oct 2024 08:02:17 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"error":"Bad Request. No auth rules for handling such request: POST /accreditation/issue or please check that namespace scpecified correctly."}
15 | });
16 | const { didUrls, accreditation } = await issueResponse.json();
> 17 | expect(issueResponse).toBeOK();
| ^
18 | expect(issueResponse.status()).toBe(StatusCodes.OK);
19 | expect(accreditation.proof.type).toBe('JwtProof2020');
20 | expect(accreditation.proof).toHaveProperty('jwt');
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:17:24
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L1
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: end of central directory record signature not found
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L18
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
16 | const { didUrls, accreditation } = await issueResponse.json();
17 | expect(issueResponse).toBeOK();
> 18 | expect(issueResponse.status()).toBe(StatusCodes.OK);
| ^
19 | expect(accreditation.proof.type).toBe('JwtProof2020');
20 | expect(accreditation.proof).toHaveProperty('jwt');
21 | 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:18:33
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L17
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/accreditation/issue?accreditationType=authorize
- 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: 250
- ← 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: 144
- etag: W/"90-K8imfGYlGYjxtO0c3CbyyXOB8Qc"
- date: Fri, 04 Oct 2024 08:02:18 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"error":"Bad Request. No auth rules for handling such request: POST /accreditation/issue or please check that namespace scpecified correctly."}
15 | });
16 | const { didUrls, accreditation } = await issueResponse.json();
> 17 | expect(issueResponse).toBeOK();
| ^
18 | expect(issueResponse.status()).toBe(StatusCodes.OK);
19 | expect(accreditation.proof.type).toBe('JwtProof2020');
20 | expect(accreditation.proof).toHaveProperty('jwt');
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:17:24
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L1
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: end of central directory record signature not found
|
Run Playwright tests:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L80
2) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:70:1 › Issue and verify a accredit accreditation
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
78 | const { didUrls, accreditation } = await issueResponse.json();
79 | expect(issueResponse).toBeOK();
> 80 | expect(issueResponse.status()).toBe(StatusCodes.OK);
| ^
81 | expect(accreditation.proof.type).toBe('JwtProof2020');
82 | expect(accreditation.proof).toHaveProperty('jwt');
83 | 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:80:33
|
Run Playwright tests
1 skipped
60 passed (2.1m)
|
Run Playwright tests
2 failed
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:70:1 › Issue and verify a accredit accreditation
8 did not run
4 passed (12.3s)
|
Loading