test: Add release test workflow [DEV-4160] (#562) #2429
dispatch.yml
on: push
Lint
/
Broken Markdown links
2m 36s
Lint
/
Super Linter
6m 37s
Build & Test
/
Build Node.js
29m 34s
Build & Test
/
Build Docker image
4m 59s
Staging
/
Staging Deploy
6m 12s
Release
/
Release Docker image
0s
Annotations
3 errors, 5 warnings, and 1 notice
[Logged In User Tests] › did/switch-controller-flow.release.spec.ts:354:2 › Running test sequentially › 15. It returns back original controller for DID_A:
tests/e2e/did/switch-controller-flow.release.spec.ts#L366
1) [Logged In User Tests] › did/switch-controller-flow.release.spec.ts:354:2 › Running test sequentially › 15. It returns back original controller for DID_A
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 500
364 |
365 | expect(response).toBeOK();
> 366 | expect(response.status()).toBe(StatusCodes.OK);
| ^
367 |
368 | // Make specific checks.
369 | // 1. Check that the response contains all keys from the original DID and the new one.
at /home/runner/work/studio/studio/tests/e2e/did/switch-controller-flow.release.spec.ts:366:29
|
[Logged In User Tests] › did/switch-controller-flow.release.spec.ts:354:2 › Running test sequentially › 15. It returns back original controller for DID_A:
tests/e2e/did/switch-controller-flow.release.spec.ts#L365
1) [Logged In User Tests] › did/switch-controller-flow.release.spec.ts:354:2 › Running test sequentially › 15. It returns back original controller for DID_A
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/did/update
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.26 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 655
- ← 500 Internal Server Error
- 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: 181
- etag: W/"b5-4wpRthYrL7B0Zbg1b2VmAtjBVVs"
- date: Fri, 26 Jul 2024 08:03:01 GMT
- connection: close
Response text:
{"error":"Internal error: Error: Broadcasting transaction failed with code 32 (codespace: sdk). Log: account sequence mismatch, expected 1033, got 1032: incorrect account sequence"}
363 | });
364 |
> 365 | expect(response).toBeOK();
| ^
366 | expect(response.status()).toBe(StatusCodes.OK);
367 |
368 | // Make specific checks.
at /home/runner/work/studio/studio/tests/e2e/did/switch-controller-flow.release.spec.ts:365:20
|
[Logged In User Tests] › did/switch-controller-flow.release.spec.ts:354:2 › Running test sequentially › 15. It returns back original controller for DID_A:
tests/e2e/did/switch-controller-flow.release.spec.ts#L1
1) [Logged In User Tests] › did/switch-controller-flow.release.spec.ts:354:2 › Running test sequentially › 15. It returns back original controller for DID_A
Error: ENOENT: no such file or directory, open '/home/runner/work/studio/studio/test-results/.playwright-artifacts-2/1179b445e957c9a7fd280e2fc41d4bb9.zip'
|
🎭 Playwright Run Summary
1 flaky
[Logged In User Tests] › did/switch-controller-flow.release.spec.ts:354:2 › Running test sequentially › 15. It returns back original controller for DID_A
91 passed (27.9m)
|
Slow Test:
[Logged In User Tests] › did/create-positive.release.spec.ts#L1
[Logged In User Tests] › did/create-positive.release.spec.ts took 2.3m
|
Slow Test:
[Logged In User Tests] › did/create-negative.spec.ts#L1
[Logged In User Tests] › did/create-negative.spec.ts took 2.0m
|
Slow Test:
[Logged In User Tests] › credential/issue-verify-flow.spec.ts#L1
[Logged In User Tests] › credential/issue-verify-flow.spec.ts took 1.9m
|
Slow Test:
[Logged In User Tests] › credential/suspension-flow.spec.ts#L1
[Logged In User Tests] › credential/suspension-flow.spec.ts took 1.6m
|
Slow Test:
[Logged In User Tests] › presentation/verify-negative.spec.ts#L1
[Logged In User Tests] › presentation/verify-negative.spec.ts took 1.2m
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cheqd~studio~816FZ6.dockerbuild
|
58.1 KB |
|
playwright-report
|
210 Bytes |
|
studio-staging
|
642 MB |
|