Skip to content

fix: Json & Cors validation #1833

fix: Json & Cors validation

fix: Json & Cors validation #1833

Triggered via push December 6, 2023 12:11
Status Failure
Total duration 9m 3s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dispatch.yml

on: push
Lint  /  Broken Markdown links
2m 31s
Lint / Broken Markdown links
Lint  /  Super Linter
3m 36s
Lint / Super Linter
Build & Test  /  Build Node.js
2m 38s
Build & Test / Build Node.js
Build & Test  /  Build Docker image
8m 50s
Build & Test / Build Docker image
Release  /  Release Docker image
Release / Release Docker image
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 2 warnings, and 1 notice
[chromium] › did/create.negative.spec.ts:90:1 › [Negative] It cannot create DID with an invalid length of id in DIDDocument in request body (JSON based): tests/did/create.negative.spec.ts#L109
3) [chromium] › did/create.negative.spec.ts:90:1 › [Negative] It cannot create DID with an invalid length of id in DIDDocument in request body (JSON based) Error: expect(received).toBe(expected) // Object.is equality Expected: 500 Received: 403 107 | headers: { 'Content-Type': 'application/json' }, 108 | }); > 109 | expect(response.status()).toBe(StatusCodes.INTERNAL_SERVER_ERROR); | ^ 110 | expect(await response.text()).toEqual( 111 | expect.stringContaining('unique id should be one of: 16 bytes of decoded base58 string or UUID') 112 | ); at /home/runner/work/credential-service/credential-service/tests/did/create.negative.spec.ts:109:28
Build & Test / Build Node.js
Process completed with exit code 1.
Slow Test: [chromium] › did/create.positive.spec.ts#L1
[chromium] › did/create.positive.spec.ts took 29.3s
Slow Test: [chromium] › did/create.negative.spec.ts#L1
[chromium] › did/create.negative.spec.ts took 22.4s
🎭 Playwright Run Summary
2 failed [chromium] › presentation/verify.negative.spec.ts:10:9 › [Negative] It should return verify: False. Presenation format is jwt. Encrypted statusList2021. VerifyStatus: true, makeFeePayments: false [chromium] › presentation/verify.negative.spec.ts:10:9 › [Negative] It should return verify: False. Presenation format is object. Encrypted statusList2021. VerifyStatus: true, makeFeePayments: false 1 interrupted [chromium] › did/create.positive.spec.ts:37:1 › [Positive] It can create DID with mandatory and optional properties (Form based + UUID style) 1 flaky [chromium] › did/create.negative.spec.ts:90:1 › [Negative] It cannot create DID with an invalid length of id in DIDDocument in request body (JSON based) 15 did not run 20 passed (56.5s)

Artifacts

Produced during runtime
Name Size
credential-service-staging Expired
582 MB