Litetests #279
Annotations
10 errors, 4 warnings, and 2 notices
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
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 notelO-9l5okKi")]')
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 notelO-9l5okKi")]')
at ../../pages/basePage.ts:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at MyOrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334: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
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
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 noteD_Quw7zuo1")]')
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 noteD_Quw7zuo1")]')
at ../../pages/basePage.ts:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at MyOrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334: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
|
🧪 Running the e2e tests:
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
|
🧪 Running the e2e tests:
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
|
🧪 Running the e2e tests:
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
|
🧪 Running the e2e tests:
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
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
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:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334:51)
at OrdersPage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1308: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
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
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:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334:51)
at OrdersPage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1308: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
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
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 25\')]/..')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for locator('//strong[contains(text(),\'Order 25\')]/..')
at ../../pages/basePage.ts:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334: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
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
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:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at OrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334: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
|
🧪 Running the api tests:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 16.6s
|
🧪 Running the api tests:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.2s
|
🧪 Running the e2e tests:
tests/pw/[e2e_tests] › orders.spec.ts#L1
tests/pw/[e2e_tests] › orders.spec.ts took 5.4m
|
🧪 Running the e2e tests:
tests/pw/[e2e_tests] › myOrders.spec.ts#L1
tests/pw/[e2e_tests] › myOrders.spec.ts took 3.3m
|
🧪 Running the api tests
23 skipped
137 passed (47.8s)
|
🧪 Running the e2e tests
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
2 interrupted
[e2e_tests] › orders.spec.ts:89:10 › Order functionality test › vendor can add downloadable product permission to order @lite @v
[e2e_tests] › orders.spec.ts:95:9 › Order functionality test › vendor can perform order bulk action @lite @v
43 skipped
6 did not run
134 passed (7.7m)
|
The logs for this run have expired and are no longer available.
Loading