Litetests #281
e2e_api_tests.yml
on: pull_request
e2e_api tests
11m 15s
Annotations
10 errors, 4 warnings, and 2 notices
[e2e_tests] › myOrders.spec.ts:35:9 › My orders functionality test › customer can view order note @lite @c:
tests/pw/pages/basePage.ts#L1338
1) [e2e_tests] › myOrders.spec.ts:35:9 › My orders functionality test › customer can view order note @lite @c
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('//div[@Class="woocommerce-OrderUpdate-description description"]//p[contains(text(),"test order noteL-LWKEzTb3")]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('//div[@Class="woocommerce-OrderUpdate-description description"]//p[contains(text(),"test order noteL-LWKEzTb3")]')
at ../../pages/basePage.ts:1338
1336 | // assert element to be visible
1337 | async toBeVisible(selector: string) {
> 1338 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1339 | }
1340 |
1341 | // assert checkbox to be checked
at MyOrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1338:51)
at MyOrdersPage.viewOrderNote (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:52:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:38:9
|
[e2e_tests] › myOrders.spec.ts:35:9 › My orders functionality test › customer can view order note @lite @c:
tests/pw/pages/basePage.ts#L1338
1) [e2e_tests] › myOrders.spec.ts:35:9 › My orders functionality test › customer can view order note @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('//div[@Class="woocommerce-OrderUpdate-description description"]//p[contains(text(),"test order note2DzUJqkR8L")]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('//div[@Class="woocommerce-OrderUpdate-description description"]//p[contains(text(),"test order note2DzUJqkR8L")]')
at ../../pages/basePage.ts:1338
1336 | // assert element to be visible
1337 | async toBeVisible(selector: string) {
> 1338 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1339 | }
1340 |
1341 | // assert checkbox to be checked
at MyOrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1338:51)
at MyOrdersPage.viewOrderNote (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:52:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:38:9
|
[e2e_tests] › myOrders.spec.ts:41:9 › My orders functionality test › customer can pay pending payment order @lite @c:
tests/pw/pages/basePage.ts#L232
2) [e2e_tests] › myOrders.spec.ts:41:9 › My orders functionality test › customer can pay pending payment order @lite @c
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:232
230 | // click & wait for response
231 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 232 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
233 | return response;
234 | }
235 |
at MyOrdersPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:232:57)
at MyOrdersPage.payPendingOrder (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:58:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:43:9
|
[e2e_tests] › myOrders.spec.ts:41:9 › My orders functionality test › customer can pay pending payment order @lite @c:
tests/pw/pages/basePage.ts#L232
2) [e2e_tests] › myOrders.spec.ts:41:9 › My orders functionality test › customer can pay pending payment order @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:232
230 | // click & wait for response
231 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 232 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
233 | return response;
234 | }
235 |
at MyOrdersPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:232:57)
at MyOrdersPage.payPendingOrder (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:58:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:43:9
|
[e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c:
tests/pw/pages/basePage.ts#L232
3) [e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:232
230 | // click & wait for response
231 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 232 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
233 | return response;
234 | }
235 |
at MyOrdersPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:232:57)
at MyOrdersPage.cancelPendingOrder (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:65:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:48:9
|
[e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c:
tests/pw/pages/basePage.ts#L232
3) [e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:232
230 | // click & wait for response
231 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 232 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
233 | return response;
234 | }
235 |
at MyOrdersPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:232:57)
at MyOrdersPage.cancelPendingOrder (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:65:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:48:9
|
[e2e_tests] › orders.spec.ts:33:9 › Order functionality test › vendor order menu page is rendering properly @lite @exp @v:
tests/pw/pages/basePage.ts#L1338
4) [e2e_tests] › orders.spec.ts:33:9 › Order functionality test › vendor order menu page is rendering properly @lite @exp @v
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('#cb-select-all')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('#cb-select-all')
at ../../pages/basePage.ts:1338
1336 | // assert element to be visible
1337 | async toBeVisible(selector: string) {
> 1338 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1339 | }
1340 |
1341 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1338:51)
at OrdersPage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1312:24)
at OrdersPage.vendorOrdersRenderProperly (/home/runner/work/dokan/dokan/tests/pw/pages/ordersPage.ts:40:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/orders.spec.ts:34:9
|
[e2e_tests] › orders.spec.ts:33:9 › Order functionality test › vendor order menu page is rendering properly @lite @exp @v:
tests/pw/pages/basePage.ts#L1338
4) [e2e_tests] › orders.spec.ts:33:9 › Order functionality test › vendor order menu page is rendering properly @lite @exp @v
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('#cb-select-all')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('#cb-select-all')
at ../../pages/basePage.ts:1338
1336 | // assert element to be visible
1337 | async toBeVisible(selector: string) {
> 1338 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1339 | }
1340 |
1341 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1338:51)
at OrdersPage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1312:24)
at OrdersPage.vendorOrdersRenderProperly (/home/runner/work/dokan/dokan/tests/pw/pages/ordersPage.ts:40:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/orders.spec.ts:34:9
|
[e2e_tests] › orders.spec.ts:46:9 › Order functionality test › vendor can search order @lite @v:
tests/pw/pages/basePage.ts#L1338
5) [e2e_tests] › orders.spec.ts:46:9 › Order functionality test › vendor can search order @lite @v
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('//strong[contains(text(),\'Order 26\')]/..')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('//strong[contains(text(),\'Order 26\')]/..')
at ../../pages/basePage.ts:1338
1336 | // assert element to be visible
1337 | async toBeVisible(selector: string) {
> 1338 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1339 | }
1340 |
1341 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1338:51)
at OrdersPage.searchOrder (/home/runner/work/dokan/dokan/tests/pw/pages/ordersPage.ts:74:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/orders.spec.ts:47:9
|
[e2e_tests] › orders.spec.ts:46:9 › Order functionality test › vendor can search order @lite @v:
tests/pw/pages/basePage.ts#L1338
5) [e2e_tests] › orders.spec.ts:46:9 › Order functionality test › vendor can search order @lite @v
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: locator('//strong[contains(text(),\'Order 38\')]/..')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('//strong[contains(text(),\'Order 38\')]/..')
at ../../pages/basePage.ts:1338
1336 | // assert element to be visible
1337 | async toBeVisible(selector: string) {
> 1338 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1339 | }
1340 |
1341 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1338:51)
at OrdersPage.searchOrder (/home/runner/work/dokan/dokan/tests/pw/pages/ordersPage.ts:74:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/orders.spec.ts:47:9
|
Slow Test:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 17.0s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.5s
|
Slow Test:
tests/pw/[e2e_tests] › orders.spec.ts#L1
tests/pw/[e2e_tests] › orders.spec.ts took 5.3m
|
Slow Test:
tests/pw/[e2e_tests] › myOrders.spec.ts#L1
tests/pw/[e2e_tests] › myOrders.spec.ts took 3.3m
|
🎭 Playwright Run Summary
23 skipped
137 passed (48.1s)
|
🎭 Playwright Run Summary
20 failed
[e2e_tests] › myOrders.spec.ts:35:9 › My orders functionality test › customer can view order note @lite @c
[e2e_tests] › myOrders.spec.ts:41:9 › My orders functionality test › customer can pay pending payment order @lite @c
[e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c
[e2e_tests] › orders.spec.ts:33:9 › Order functionality test › vendor order menu page is rendering properly @lite @exp @v
[e2e_tests] › orders.spec.ts:46:9 › Order functionality test › vendor can search order @lite @v
[e2e_tests] › orders.spec.ts:58:9 › Order functionality test › vendor can view order details @lite @v
[e2e_tests] › orders.spec.ts:62:9 › Order functionality test › vendor can update order status on order table @lite @v
[e2e_tests] › orders.spec.ts:66:9 › Order functionality test › vendor can update order status on order details @lite @v
[e2e_tests] › orders.spec.ts:71:9 › Order functionality test › vendor can add order note @lite @v
[e2e_tests] › orders.spec.ts:75:9 › Order functionality test › vendor can add private order note @lite @v
[e2e_tests] › orders.spec.ts:79:9 › Order functionality test › vendor can add tracking details to order @lite @v
[e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @A
[e2e_tests] › settings.spec.ts:59:9 › Settings test › admin can set dokan privacy policy settings @lite @A
[e2e_tests] › withdraws.spec.ts:42:9 › Withdraw test › admin can filter withdraws by vendor @lite @A
[e2e_tests] › withdraws.spec.ts:46:9 › Withdraw test › admin can filter withdraws by payment methods @lite @A
[e2e_tests] › withdraws.spec.ts:54:9 › Withdraw test › admin can add note to withdraw request @lite @A
[e2e_tests] › withdraws.spec.ts:58:9 › Withdraw test › admin can approve withdraw request @lite @A
[e2e_tests] › withdraws.spec.ts:62:9 › Withdraw test › admin can cancel withdraw request @lite @A
[e2e_tests] › withdraws.spec.ts:67:9 › Withdraw test › admin can delete withdraw request @lite @A
[e2e_tests] › withdraws.spec.ts:72:9 › Withdraw test › admin can perform withdraw bulk actions @lite @A
1 interrupted
[e2e_tests] › withdraws.spec.ts:79:9 › Withdraw test › vendor withdraw menu page is rendering properly @lite @exp @v
43 skipped
7 did not run
134 passed (7.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
73.9 MB |
|