E2E_API Tests #374
Annotations
2 errors, 4 warnings, and 2 notices
[e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c:
tests/pw/pages/basePage.ts#L1350
1) [e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce-info')
Expected string: "Your order was cancelled."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce-info')
at ../../pages/basePage.ts:1350
1348 | // assert element to contain text
1349 | async toContainText(selector: string, text: string | RegExp) {
> 1350 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1351 | }
1352 |
1353 | // assert element to have count
at MyOrdersPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1350:51)
at MyOrdersPage.cancelPendingOrder (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:66:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:48:9
|
[e2e_tests] › withdraws.spec.ts:67:9 › Withdraw test › admin can delete withdraw request @lite @a:
tests/pw/pages/withdrawsPage.ts#L65
2) [e2e_tests] › withdraws.spec.ts:67:9 › Withdraw test › admin can delete withdraw request @lite @A
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:65
63 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
64 | const count = (await this.getElementText(withdrawsAdmin.numberOfRowsFound))?.split(' ')[0];
> 65 | expect(Number(count)).toBeGreaterThan(0);
| ^
66 | }
67 |
68 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:65:31)
at WithdrawsPage.updateWithdrawRequest (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:85:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:69:9
|
Slow Test:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 16.4s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.3s
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 2.1m
|
Slow Test:
tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 1.5m
|
🎭 Playwright Run Summary
26 skipped
137 passed (48.1s)
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
10 MB |
|