Skip to content

fix test payloads #2645

fix test payloads

fix test payloads #2645

Triggered via push September 30, 2024 11:25
Status Failure
Total duration 7m 2s
Artifacts 3

dispatch.yml

on: push
Lint  /  Broken Markdown links
2m 29s
Lint / Broken Markdown links
Lint  /  Super Linter
6m 51s
Lint / Super Linter
Build & Test  /  Build Node.js
6m 11s
Build & Test / Build Node.js
Build & Test  /  Build Docker image
2m 43s
Build & Test / Build Docker image
Release  /  Release Docker image
Release / Release Docker image
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 10 warnings, and 2 notices
Build & Test / Build Node.js
Testing stopped early after 5 maximum allowed failures.
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:50:1 › Issue accreditation [Negative]: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L58
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:50:1 › Issue accreditation [Negative] Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 200 56 | }, 57 | }); > 58 | expect(issueResponse.status()).toBe(400); | ^ 59 | }); 60 | 61 | test(' Verify accreditation [Negative]', async ({ request }) => { at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:58:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:50:1 › Issue accreditation [Negative]: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L58
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:50:1 › Issue accreditation [Negative] Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 200 56 | }, 57 | }); > 58 | expect(issueResponse.status()).toBe(400); | ^ 59 | }); 60 | 61 | test(' Verify accreditation [Negative]', async ({ request }) => { at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:58:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:50:1 › Issue accreditation [Negative]: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L58
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:50:1 › Issue accreditation [Negative] Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 200 56 | }, 57 | }); > 58 | expect(issueResponse.status()).toBe(400); | ^ 59 | }); 60 | 61 | test(' Verify accreditation [Negative]', async ({ request }) => { at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:58:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L122
2) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 120 | const { didUrls, accreditation } = await issueResponse.json(); 121 | expect(issueResponse).toBeOK(); > 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); 125 | 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:122:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L121
2) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=attest - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.18 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 545 - ← 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: 81 - etag: W/"51-GHPsqSL+okzJkmxMYRVMJT9CYZM" - date: Mon, 30 Sep 2024 11:32:02 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"did:cheqd:testnet:33c96aca-9c65-4ebf-8807-b40b0fa928f4 is deactivated"} 119 | }); 120 | const { didUrls, accreditation } = await issueResponse.json(); > 121 | expect(issueResponse).toBeOK(); | ^ 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:121:24
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L122
2) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 120 | const { didUrls, accreditation } = await issueResponse.json(); 121 | expect(issueResponse).toBeOK(); > 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); 125 | 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:122:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L121
2) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=attest - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.18 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 545 - ← 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: 81 - etag: W/"51-GHPsqSL+okzJkmxMYRVMJT9CYZM" - date: Mon, 30 Sep 2024 11:32:13 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"did:cheqd:testnet:33c96aca-9c65-4ebf-8807-b40b0fa928f4 is deactivated"} 119 | }); 120 | const { didUrls, accreditation } = await issueResponse.json(); > 121 | expect(issueResponse).toBeOK(); | ^ 122 | expect(issueResponse.status()).toBe(StatusCodes.OK); 123 | expect(accreditation.proof.type).toBe('JwtProof2020'); 124 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:121:24
Build & Test / Build Node.js
Process completed with exit code 1.
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L123
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "LOGTO_WEBHOOK_SECRET") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L137
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "VERIDA_PRIVATE_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L138
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L142
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L112
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L63
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "LOGTO_APP_SECRET") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L67
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "LOGTO_M2M_APP_SECRET") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L72
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "LOGTO_WEBHOOK_SECRET") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L90
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_PUBLISHABLE_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L100
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
🎭 Playwright Run Summary
1 skipped 60 passed (2.0m)
🎭 Playwright Run Summary
2 failed [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:50:1 › Issue accreditation [Negative] [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:112:1 › Issue and verify a attest accreditation 7 did not run 5 passed (2.2m)

Artifacts

Produced during runtime
Name Size
cheqd~studio~WVRNFG.dockerbuild Expired
46 KB
playwright-report Expired
26.8 KB
studio-staging Expired
705 MB