fix: Move payloads to e2e folder (#452) #1966
Annotations
7 errors, 5 warnings, and 1 notice
Run Playwright tests:
tests/e2e/credential/suspension-flow.spec.ts#L102
1) [Logged In User Tests] › credential/suspension-flow.spec.ts:90:1 › Verify a credential status after reinstating
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
100 | expect(response).toBeOK();
101 | expect(response.status()).toBe(StatusCodes.OK);
> 102 | expect(result.unsuspended).toBe(true);
| ^
103 |
104 | const verificationResponse = await request.post(`/credential/verify?verifyStatus=true`, {
105 | data: JSON.stringify({
at /home/runner/work/credential-service/credential-service/tests/e2e/credential/suspension-flow.spec.ts:102:29
|
Run Playwright tests:
tests/e2e/credential/suspension-flow.spec.ts#L101
1) [Logged In User Tests] › credential/suspension-flow.spec.ts:90:1 › Verify a credential status after reinstating
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 500
99 | const result = await response.json();
100 | expect(response).toBeOK();
> 101 | expect(response.status()).toBe(StatusCodes.OK);
| ^
102 | expect(result.unsuspended).toBe(true);
103 |
104 | const verificationResponse = await request.post(`/credential/verify?verifyStatus=true`, {
at /home/runner/work/credential-service/credential-service/tests/e2e/credential/suspension-flow.spec.ts:101:28
|
Run Playwright tests:
tests/e2e/credential/suspension-flow.spec.ts#L101
1) [Logged In User Tests] › credential/suspension-flow.spec.ts:90:1 › Verify a credential status after reinstating
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 500
99 | const result = await response.json();
100 | expect(response).toBeOK();
> 101 | expect(response.status()).toBe(StatusCodes.OK);
| ^
102 | expect(result.unsuspended).toBe(true);
103 |
104 | const verificationResponse = await request.post(`/credential/verify?verifyStatus=true`, {
at /home/runner/work/credential-service/credential-service/tests/e2e/credential/suspension-flow.spec.ts:101:28
|
Run Playwright tests:
tests/e2e/did/create-positive.spec.ts#L1
2) [Logged In User Tests] › did/create-positive.spec.ts:82:1 › [Positive] It can create DID with mandatory properties (JSON based + Indy style)
Test timeout of 60000ms exceeded.
|
Run Playwright tests:
tests/e2e/did/create-positive.spec.ts#L93
2) [Logged In User Tests] › did/create-positive.spec.ts:82:1 › [Positive] It can create DID with mandatory properties (JSON based + Indy style)
Error: apiRequestContext.post: Target page, context or browser has been closed
Call log:
- → POST http://localhost:3000/did/create
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.28 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- Content-Type: application/json
- content-length: 257
- cookie: connect.sid=s%3AGhOXm8CIlJBO0m6KyYlVzH_DjyMBNwln.wu%2B2fODeHwaWvVmvNTNQ4cDKdoGPcymHWXUSoz7TpoQ
91 |
92 | // send request to create DID
> 93 | response = await request.post('/did/create', {
| ^
94 | data: {
95 | options: {
96 | verificationMethodType: VerificationMethods.Ed255192018,
at /home/runner/work/credential-service/credential-service/tests/e2e/did/create-positive.spec.ts:93:27
|
Run Playwright tests:
tests/e2e/did/create-positive.spec.ts#L58
3) [Logged In User Tests] › did/create-positive.spec.ts:36:1 › [Positive] It can create DID with mandatory and optional properties (Form based + UUID style)
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 500
56 | });
57 | expect(response).toBeOK();
> 58 | expect(response.status()).toBe(StatusCodes.OK);
| ^
59 |
60 | const body = await response.json();
61 |
at /home/runner/work/credential-service/credential-service/tests/e2e/did/create-positive.spec.ts:58:28
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests:
[Logged In User Tests] › did/create-positive.spec.ts#L1
[Logged In User Tests] › did/create-positive.spec.ts took 1.6m
|
Run Playwright tests:
[Logged In User Tests] › credential/suspension-flow.spec.ts#L1
[Logged In User Tests] › credential/suspension-flow.spec.ts took 34.0s
|
Run Playwright tests:
[Logged In User Tests] › credential/revocation-flow.spec.ts#L1
[Logged In User Tests] › credential/revocation-flow.spec.ts took 19.9s
|
Run Playwright tests:
[Logged In User Tests] › did/create-negative.spec.ts#L1
[Logged In User Tests] › did/create-negative.spec.ts took 17.0s
|
Run Playwright tests:
[Logged In User Tests] › credential-status/check.spec.ts#L1
[Logged In User Tests] › credential-status/check.spec.ts took 15.1s
|
Run Playwright tests
2 failed
[Logged In User Tests] › credential/suspension-flow.spec.ts:90:1 › Verify a credential status after reinstating
[Logged In User Tests] › did/create-positive.spec.ts:82:1 › [Positive] It can create DID with mandatory properties (JSON based + Indy style)
1 flaky
[Logged In User Tests] › did/create-positive.spec.ts:36:1 › [Positive] It can create DID with mandatory and optional properties (Form based + UUID style)
32 did not run
51 passed (4.3m)
|
The logs for this run have expired and are no longer available.
Loading