E2E_API Tests #252
Annotations
10 errors, 5 warnings, and 2 notices
[e2e_tests] › withdraws.spec.ts:41:9 › Withdraw test › admin can filter withdraws by vendor @lite:
tests/pw/pages/withdrawsPage.ts#L61
1) [e2e_tests] › withdraws.spec.ts:41:9 › Withdraw test › admin can filter withdraws by vendor @lite
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:42:9
|
[e2e_tests] › withdraws.spec.ts:41:9 › Withdraw test › admin can filter withdraws by vendor @lite:
tests/pw/pages/withdrawsPage.ts#L61
1) [e2e_tests] › withdraws.spec.ts:41:9 › Withdraw test › admin can filter withdraws by vendor @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:42:9
|
[e2e_tests] › withdraws.spec.ts:45:9 › Withdraw test › admin can filter withdraws by payment methods @lite:
tests/pw/pages/basePage.ts#L1330
2) [e2e_tests] › withdraws.spec.ts:45:9 › Withdraw test › admin can filter withdraws by payment methods @lite
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
Expected string: "PayPal"
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('li.select2-results__option.select2-results__option--highlighted')
at ../../pages/basePage.ts:1330
1328 | // assert element to contain text
1329 | async toContainText(selector: string, text: string) {
> 1330 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1331 | }
1332 |
1333 | // assert element to have count
at WithdrawsPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330:51)
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:57:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:46:9
|
[e2e_tests] › withdraws.spec.ts:45:9 › Withdraw test › admin can filter withdraws by payment methods @lite:
tests/pw/pages/basePage.ts#L1330
2) [e2e_tests] › withdraws.spec.ts:45:9 › Withdraw test › admin can filter withdraws by payment methods @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
Expected string: "PayPal"
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('li.select2-results__option.select2-results__option--highlighted')
at ../../pages/basePage.ts:1330
1328 | // assert element to contain text
1329 | async toContainText(selector: string, text: string) {
> 1330 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1331 | }
1332 |
1333 | // assert element to have count
at WithdrawsPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330:51)
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:57:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:46:9
|
[e2e_tests] › withdraws.spec.ts:53:9 › Withdraw test › admin can add note to withdraw request @lite:
tests/pw/pages/withdrawsPage.ts#L61
3) [e2e_tests] › withdraws.spec.ts:53:9 › Withdraw test › admin can add note to withdraw request @lite
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at WithdrawsPage.addNoteWithdrawRequest (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:72:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:54:9
|
[e2e_tests] › withdraws.spec.ts:53:9 › Withdraw test › admin can add note to withdraw request @lite:
tests/pw/pages/withdrawsPage.ts#L61
3) [e2e_tests] › withdraws.spec.ts:53:9 › Withdraw test › admin can add note to withdraw request @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at WithdrawsPage.addNoteWithdrawRequest (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:72:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:54:9
|
[e2e_tests] › withdraws.spec.ts:57:9 › Withdraw test › admin can approve withdraw request @lite:
tests/pw/pages/withdrawsPage.ts#L61
4) [e2e_tests] › withdraws.spec.ts:57:9 › Withdraw test › admin can approve withdraw request @lite
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at WithdrawsPage.updateWithdrawRequest (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:81:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:58:9
|
[e2e_tests] › withdraws.spec.ts:57:9 › Withdraw test › admin can approve withdraw request @lite:
tests/pw/pages/withdrawsPage.ts#L61
4) [e2e_tests] › withdraws.spec.ts:57:9 › Withdraw test › admin can approve withdraw request @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at WithdrawsPage.updateWithdrawRequest (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:81:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:58:9
|
[e2e_tests] › withdraws.spec.ts:61:9 › Withdraw test › admin can cancel withdraw request @lite:
tests/pw/pages/withdrawsPage.ts#L61
5) [e2e_tests] › withdraws.spec.ts:61:9 › Withdraw test › admin can cancel withdraw request @lite
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at WithdrawsPage.updateWithdrawRequest (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:81:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:63:9
|
[e2e_tests] › withdraws.spec.ts:61:9 › Withdraw test › admin can cancel withdraw request @lite:
tests/pw/pages/withdrawsPage.ts#L61
5) [e2e_tests] › withdraws.spec.ts:61:9 › Withdraw test › admin can cancel withdraw request @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
at ../../pages/withdrawsPage.ts:61
59 | await this.pressAndWaitForResponse(data.subUrls.api.dokan.withdraws, data.key.enter);
60 | const count = (await this.getElementText(selector.admin.dokan.withdraw.numberOfRowsFound))?.split(' ')[0];
> 61 | expect(Number(count)).toBeGreaterThan(0);
| ^
62 | }
63 |
64 | // export withdraws
at WithdrawsPage.filterWithdraws (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:61:31)
at WithdrawsPage.updateWithdrawRequest (/home/runner/work/dokan/dokan/tests/pw/pages/withdrawsPage.ts:81:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/withdraws.spec.ts:63:9
|
e2e_api tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 6.3s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 3.4s
|
Slow Test:
tests/pw/[e2e_tests] › withdraws.spec.ts#L1
tests/pw/[e2e_tests] › withdraws.spec.ts took 3.7m
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 1.3m
|
🎭 Playwright Run Summary
127 passed (19.2s)
|
🎭 Playwright Run Summary
10 failed
[e2e_tests] › withdraws.spec.ts:41:9 › Withdraw test › admin can filter withdraws by vendor @lite
[e2e_tests] › withdraws.spec.ts:45:9 › Withdraw test › admin can filter withdraws by payment methods @lite
[e2e_tests] › withdraws.spec.ts:53:9 › Withdraw test › admin can add note to withdraw request @lite
[e2e_tests] › withdraws.spec.ts:57:9 › Withdraw test › admin can approve withdraw request @lite
[e2e_tests] › withdraws.spec.ts:61:9 › Withdraw test › admin can cancel withdraw request @lite ─
[e2e_tests] › withdraws.spec.ts:66:9 › Withdraw test › admin can delete withdraw request @lite ─
[e2e_tests] › withdraws.spec.ts:71:9 › Withdraw test › admin can perform withdraw bulk actions @lite
[e2e_tests] › withdraws.spec.ts:91:9 › Withdraw test › vendor can't request withdraw when pending request exits @lite
[e2e_tests] › withdraws.spec.ts:96:9 › Withdraw test › vendor can cancel request withdraw @lite
[e2e_tests] › withdraws.spec.ts:105:9 › Withdraw test › vendor can add default withdraw payment methods @lite
4 flaky
[e2e_tests] › reverseWithdraws.spec.ts:78:9 › Reverse withdraw test › vendor can pay reverse pay balance @lite
[e2e_tests] › stores.spec.ts:57:9 › Stores test › admin can edit vendor info @lite ─────────────
[e2e_tests] › vendor.spec.ts:26:9 › Vendor user functionality test1 › vendor can register @lite
[e2e_tests] › vendorSettings.spec.ts:79:9 › Vendor settings test › vendor can set catalog settings @lite
34 skipped
145 passed (6.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
68.9 MB |
|