Skip to content

feat: Add jsonld tests #1839

feat: Add jsonld tests

feat: Add jsonld tests #1839

Triggered via push December 11, 2023 07:02
Status Failure
Total duration 9m 56s
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 7s
Lint / Broken Markdown links
Lint  /  Super Linter
3m 37s
Lint / Super Linter
Build & Test  /  Build Node.js
2m 13s
Build & Test / Build Node.js
Build & Test  /  Build Docker image
9m 43s
Build & Test / Build Docker image
Release  /  Release Docker image
Release / Release Docker image
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 notice
[chromium] › credential/issue-verify-flow.spec.ts:9:1 › Issue a jwt credential: tests/credential/issue-verify-flow.spec.ts#L17
1) [chromium] › credential/issue-verify-flow.spec.ts:9:1 › Issue a jwt credential ─────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 403 15 | }); 16 | expect(response).toBeOK(); > 17 | expect(response.status()).toBe(StatusCodes.OK); | ^ 18 | }); 19 | 20 | test(' Issue a jsonLD credential', async ({ request }) => { at /home/runner/work/credential-service/credential-service/tests/credential/issue-verify-flow.spec.ts:17:28
[chromium] › credential/issue-verify-flow.spec.ts:9:1 › Issue a jwt credential: tests/credential/issue-verify-flow.spec.ts#L17
1) [chromium] › credential/issue-verify-flow.spec.ts:9:1 › Issue a jwt credential ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 500 15 | }); 16 | expect(response).toBeOK(); > 17 | expect(response.status()).toBe(StatusCodes.OK); | ^ 18 | }); 19 | 20 | test(' Issue a jsonLD credential', async ({ request }) => { at /home/runner/work/credential-service/credential-service/tests/credential/issue-verify-flow.spec.ts:17:28
[chromium] › credential/issue-verify-flow.spec.ts:9:1 › Issue a jwt credential: tests/credential/issue-verify-flow.spec.ts#L17
1) [chromium] › credential/issue-verify-flow.spec.ts:9:1 › Issue a jwt credential ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 500 15 | }); 16 | expect(response).toBeOK(); > 17 | expect(response.status()).toBe(StatusCodes.OK); | ^ 18 | }); 19 | 20 | test(' Issue a jsonLD credential', async ({ request }) => { at /home/runner/work/credential-service/credential-service/tests/credential/issue-verify-flow.spec.ts:17:28
[chromium] › credential/credential.spec.ts:22:1 › Revoke credential for user with testnet role but network is mainnet: tests/credential/credential.spec.ts#L30
2) [chromium] › credential/credential.spec.ts:22:1 › Revoke credential for user with testnet role but network is mainnet Error: expect(received).toBe(expected) // Object.is equality Expected: 403 Received: 400 28 | }); 29 | expect(response).not.toBeOK(); > 30 | expect(response.status()).toBe(StatusCodes.FORBIDDEN); | ^ 31 | expect(await response.text()).toEqual(expect.stringContaining(DEFAULT_DOES_NOT_HAVE_PERMISSIONS)); 32 | }); 33 | at /home/runner/work/credential-service/credential-service/tests/credential/credential.spec.ts:30:28
[chromium] › credential/credential.spec.ts:34:1 › Suspend credential for user with testnet role but network is mainnet: tests/credential/credential.spec.ts#L42
3) [chromium] › credential/credential.spec.ts:34:1 › Suspend credential for user with testnet role but network is mainnet Error: expect(received).toBe(expected) // Object.is equality Expected: 403 Received: 400 40 | }); 41 | expect(response).not.toBeOK(); > 42 | expect(response.status()).toBe(StatusCodes.FORBIDDEN); | ^ 43 | expect(await response.text()).toEqual(expect.stringContaining(DEFAULT_DOES_NOT_HAVE_PERMISSIONS)); 44 | }); 45 | at /home/runner/work/credential-service/credential-service/tests/credential/credential.spec.ts:42:28
Build & Test / Build Node.js
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [chromium] › credential/issue-verify-flow.spec.ts:9:1 › Issue a jwt credential ──────────────── 1 interrupted [chromium] › credential/credential.spec.ts:46:1 › Reinstate credential for user with testnet role but network is mainnet 2 flaky [chromium] › credential/credential.spec.ts:22:1 › Revoke credential for user with testnet role but network is mainnet [chromium] › credential/credential.spec.ts:34:1 › Suspend credential for user with testnet role but network is mainnet 41 did not run 2 passed (27.7s)

Artifacts

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