Merge branch 'develop' into DEV-3197 #1689
Annotations
6 errors, 3 warnings, and 1 notice
tests/did/create.negative.spec.ts#L136
1) [chromium] › did/create.negative.spec.ts:116:1 › [Negative] It cannot create DID with an invalid id format in DIDDocument in request body (JSON based)
Error: expect(received).toBe(expected) // Object.is equality
Expected: 500
Received: 400
134 | headers: { "Content-Type": "application/json" }
135 | });
> 136 | expect(response.status()).toBe(StatusCodes.INTERNAL_SERVER_ERROR);
| ^
137 | expect(await response.text()).toEqual(expect.stringContaining("unable to split did into method, namespace and id"));
138 | });
139 |
at /home/runner/work/credential-service/credential-service/tests/did/create.negative.spec.ts:136:31
|
tests/did/create.negative.spec.ts#L136
1) [chromium] › did/create.negative.spec.ts:116:1 › [Negative] It cannot create DID with an invalid id format in DIDDocument in request body (JSON based)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 500
Received: 400
134 | headers: { "Content-Type": "application/json" }
135 | });
> 136 | expect(response.status()).toBe(StatusCodes.INTERNAL_SERVER_ERROR);
| ^
137 | expect(await response.text()).toEqual(expect.stringContaining("unable to split did into method, namespace and id"));
138 | });
139 |
at /home/runner/work/credential-service/credential-service/tests/did/create.negative.spec.ts:136:31
|
tests/did/create.negative.spec.ts#L136
1) [chromium] › did/create.negative.spec.ts:116:1 › [Negative] It cannot create DID with an invalid id format in DIDDocument in request body (JSON based)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 500
Received: 400
134 | headers: { "Content-Type": "application/json" }
135 | });
> 136 | expect(response.status()).toBe(StatusCodes.INTERNAL_SERVER_ERROR);
| ^
137 | expect(await response.text()).toEqual(expect.stringContaining("unable to split did into method, namespace and id"));
138 | });
139 |
at /home/runner/work/credential-service/credential-service/tests/did/create.negative.spec.ts:136:31
|
tests/did/create.negative.spec.ts#L158
2) [chromium] › did/create.negative.spec.ts:140:1 › [Negative] It cannot create DID without VerificationMethodType in request body (JSON based)
Error: expect(received).toEqual(expected) // deep equality
Expected: StringContaining "Provide options section to create a DID"
Received: "{\"error\":\"Invalid didDocument\"}"
156 | });
157 | expect(response.status()).toBe(StatusCodes.BAD_REQUEST);
> 158 | expect(await response.text()).toEqual(expect.stringContaining("Provide options section to create a DID"));
| ^
159 | });
160 |
161 | test('[Negative] It cannot create DID without DidDocument in request body (JSON based)', async ({ request }) => {
at /home/runner/work/credential-service/credential-service/tests/did/create.negative.spec.ts:158:35
|
tests/did/create.negative.spec.ts#L113
3) [chromium] › did/create.negative.spec.ts:91:1 › [Negative] It cannot create DID with an invalid length of id in DIDDocument in request body (JSON based)
Error: expect(received).toEqual(expected) // deep equality
Expected: StringContaining "unique id should be one of: 16 bytes of decoded base58 string or UUID"
Received: "{\"error\":\"Error: Not supported\"}"
111 | });
112 | expect(response.status()).toBe(StatusCodes.INTERNAL_SERVER_ERROR);
> 113 | expect(await response.text()).toEqual(expect.stringContaining("unique id should be one of: 16 bytes of decoded base58 string or UUID"));
| ^
114 | });
115 |
116 | test('[Negative] It cannot create DID with an invalid id format in DIDDocument in request body (JSON based)', async ({ request }) => {
at /home/runner/work/credential-service/credential-service/tests/did/create.negative.spec.ts:113:35
|
|
[chromium] › did/create.positive.spec.ts#L1
[chromium] › did/create.positive.spec.ts took 25.6s
|
[chromium] › did/create.negative.spec.ts#L1
[chromium] › did/create.negative.spec.ts took 23.7s
|
[setup] › auth.setup.ts#L1
[setup] › auth.setup.ts took 16.0s
|
2 failed
[chromium] › did/create.negative.spec.ts:116:1 › [Negative] It cannot create DID with an invalid id format in DIDDocument in request body (JSON based)
[chromium] › did/create.negative.spec.ts:140:1 › [Negative] It cannot create DID without VerificationMethodType in request body (JSON based)
1 interrupted
[chromium] › did/create.positive.spec.ts:39:1 › [Positive] It can create DID with mandatory and optional properties (Form based + UUID style)
1 flaky
[chromium] › did/create.negative.spec.ts:91:1 › [Negative] It cannot create DID with an invalid length of id in DIDDocument in request body (JSON based)
7 skipped
14 passed (1.0m)
|
The logs for this run have expired and are no longer available.
Loading