Skip to content

E2E_API Tests

E2E_API Tests #379

Manually triggered April 17, 2024 08:27
Status Failure
Total duration 3m 25s
Artifacts 1

e2e_api_tests.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 1 notice
[api_tests] › reverseWithdrawal.spec.ts:63:9 › reverse withdrawal api test › add reverse withdrawal payment product to cart @lite: tests/pw/tests/api/reverseWithdrawal.spec.ts#L65
1) [api_tests] › reverseWithdrawal.spec.ts:63:9 › reverse withdrawal api test › add reverse withdrawal payment product to cart @lite Error: expect(received).toBeTruthy() Received: false 63 | test('add reverse withdrawal payment product to cart @lite', async () => { 64 | const [response, responseBody] = await apiUtils.post(endPoints.getReverseWithdrawalAddProductToCart, { data: payloads.amountToPay, headers: payloads.vendorAuth }); > 65 | expect(response.ok()).toBeTruthy(); | ^ 66 | expect(responseBody).toBeTruthy(); 67 | }); 68 | }); at /home/runner/work/dokan/dokan/tests/pw/tests/api/reverseWithdrawal.spec.ts:65:31
[api_tests] › reverseWithdrawal.spec.ts:63:9 › reverse withdrawal api test › add reverse withdrawal payment product to cart @lite: tests/pw/tests/api/reverseWithdrawal.spec.ts#L65
1) [api_tests] › reverseWithdrawal.spec.ts:63:9 › reverse withdrawal api test › add reverse withdrawal payment product to cart @lite Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false 63 | test('add reverse withdrawal payment product to cart @lite', async () => { 64 | const [response, responseBody] = await apiUtils.post(endPoints.getReverseWithdrawalAddProductToCart, { data: payloads.amountToPay, headers: payloads.vendorAuth }); > 65 | expect(response.ok()).toBeTruthy(); | ^ 66 | expect(responseBody).toBeTruthy(); 67 | }); 68 | }); at /home/runner/work/dokan/dokan/tests/pw/tests/api/reverseWithdrawal.spec.ts:65:31
e2e_api tests
Process completed with exit code 1.
Slow Test: tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 17.9s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 10.4s
🎭 Playwright Run Summary
1 failed [api_tests] › reverseWithdrawal.spec.ts:63:9 › reverse withdrawal api test › add reverse withdrawal payment product to cart @lite 26 skipped 136 passed (50.7s)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
217 KB