fix tests #2692
dispatch.yml
on: push
Lint
/
Broken Markdown links
2m 32s
Lint
/
Super Linter
6m 54s
Build & Test
/
Build Node.js
8m 1s
Build & Test
/
Build Docker image
6m 25s
Staging
/
Staging Deploy
Release
/
Release Docker image
Annotations
10 errors, 11 warnings, and 2 notices
Build & Test / Build Node.js
Testing stopped early after 5 maximum allowed failures.
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:11:1 › Issue an Accreditation with revocation statuslist:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L32
1) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:11:1 › Issue an Accreditation with revocation statuslist
Error: expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: undefined
30 | expect(accreditation.type).toContain('VerifiableCredential');
31 | expect(accreditation.credentialSubject.id).toBe(payload.subjectDid);
> 32 | expect(accreditation.credentialStatus).toMatchObject({
| ^
33 | type: 'StatusList2021Entry',
34 | statusPurpose: 'revocation',
35 | });
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/revocation-flow.spec.ts:32:41
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:11:1 › Issue an Accreditation with revocation statuslist:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L32
1) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:11:1 › Issue an Accreditation with revocation statuslist
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: undefined
30 | expect(accreditation.type).toContain('VerifiableCredential');
31 | expect(accreditation.credentialSubject.id).toBe(payload.subjectDid);
> 32 | expect(accreditation.credentialStatus).toMatchObject({
| ^
33 | type: 'StatusList2021Entry',
34 | statusPurpose: 'revocation',
35 | });
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/revocation-flow.spec.ts:32:41
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:11:1 › Issue an Accreditation with revocation statuslist:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L32
1) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:11:1 › Issue an Accreditation with revocation statuslist
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: undefined
30 | expect(accreditation.type).toContain('VerifiableCredential');
31 | expect(accreditation.credentialSubject.id).toBe(payload.subjectDid);
> 32 | expect(accreditation.credentialStatus).toMatchObject({
| ^
33 | type: 'StatusList2021Entry',
34 | statusPurpose: 'revocation',
35 | });
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/revocation-flow.spec.ts:32:41
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L51
2) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
49 | const result = await response.json();
50 | expect(response).toBeOK();
> 51 | expect(response.status()).toBe(StatusCodes.OK);
| ^
52 | expect(result.verified).toBe(true);
53 | expect(result.revoked).toBe(false);
54 | });
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/revocation-flow.spec.ts:51:28
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L50
2) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/trust-registry/accreditation/verify?verifyStatus=true
- 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: 2
- ← 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: 34
- etag: W/"22-YOKFrV2u6NGyFxmlTwkKefbEcRY"
- date: Tue, 08 Oct 2024 09:39:23 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"error":"DID should be a string"}
48 | });
49 | const result = await response.json();
> 50 | expect(response).toBeOK();
| ^
51 | expect(response.status()).toBe(StatusCodes.OK);
52 | expect(result.verified).toBe(true);
53 | expect(result.revoked).toBe(false);
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/revocation-flow.spec.ts:50:19
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L1
2) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status
Error: end of central directory record signature not found
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L51
2) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
49 | const result = await response.json();
50 | expect(response).toBeOK();
> 51 | expect(response.status()).toBe(StatusCodes.OK);
| ^
52 | expect(result.verified).toBe(true);
53 | expect(result.revoked).toBe(false);
54 | });
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/revocation-flow.spec.ts:51:28
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L50
2) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/trust-registry/accreditation/verify?verifyStatus=true
- 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: 2
- ← 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: 34
- etag: W/"22-YOKFrV2u6NGyFxmlTwkKefbEcRY"
- date: Tue, 08 Oct 2024 09:39:33 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"error":"DID should be a string"}
48 | });
49 | const result = await response.json();
> 50 | expect(response).toBeOK();
| ^
51 | expect(response.status()).toBe(StatusCodes.OK);
52 | expect(result.verified).toBe(true);
53 | expect(result.revoked).toBe(false);
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/revocation-flow.spec.ts:50:19
|
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status:
tests/e2e/sequential/accreditation/revocation-flow.spec.ts#L1
2) [Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: end of central directory record signature not found
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L127
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "API_KEY_EXPIRATION")
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/
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L114
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "LOGTO_APP_SECRET")
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#L118
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#L122
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#L142
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_PUBLISHABLE_KEY")
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#L91
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_WEBHOOK_SECRET")
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#L99
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#L110
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#L114
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/
|
Slow Test:
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts#L1
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts took 2.4m
|
🎭 Playwright Run Summary
4 skipped
61 passed (2.1m)
|
🎭 Playwright Run Summary
2 failed
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:11:1 › Issue an Accreditation with revocation statuslist
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts:40:1 › Verify a Accreditation's revocation status
8 did not run
6 passed (3.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cheqd~studio~0N6MEX.dockerbuild
Expired
|
55.7 KB |
|
playwright-report
Expired
|
23.9 KB |
|
studio-staging
Expired
|
707 MB |
|