Feature: Withdraw charges #12
Annotations
11 errors, 6 warnings, and 2 notices
π§ͺ Running the api tests:
tests/pw/tests/api/withdraws.spec.ts#L54
1) [api_tests] βΊ withdraws.spec.ts:52:9 βΊ withdraw api test βΊ get single withdraw @lite ββββββββββ
Error: expect(received).toBeTruthy()
Received: false
52 | test('get single withdraw @lite', async () => {
53 | const [response, responseBody] = await apiUtils.get(endPoints.getSingleWithdraw(withdrawId));
> 54 | expect(response.ok()).toBeTruthy();
| ^
55 | expect(responseBody).toBeTruthy();
56 | });
57 |
at /home/runner/work/dokan/dokan/tests/pw/tests/api/withdraws.spec.ts:54:31
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1320
1) [e2e_tests] βΊ admin.spec.ts:92:9 βΊ Admin functionality test βΊ dokan promotion @lite βββββββββββ
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('xpath=//a[contains(text(),"Join the Sale! β")]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('xpath=//a[contains(text(),"Join the Sale! β")]')
at ../../pages/basePage.ts:1320
1318 | // assert element to be visible
1319 | async toBeVisible(selector: string) {
> 1320 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1321 | }
1322 |
1323 | // assert element to contain text
at AdminPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1320:51)
at AdminPage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1295:24)
at AdminPage.dokanPromotion (/home/runner/work/dokan/dokan/tests/pw/pages/adminPage.ts:155:13)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/admin.spec.ts:93:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1320
1) [e2e_tests] βΊ admin.spec.ts:92:9 βΊ Admin functionality test βΊ dokan promotion @lite βββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('xpath=//a[contains(text(),"Join the Sale! β")]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('xpath=//a[contains(text(),"Join the Sale! β")]')
at ../../pages/basePage.ts:1320
1318 | // assert element to be visible
1319 | async toBeVisible(selector: string) {
> 1320 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1321 | }
1322 |
1323 | // assert element to contain text
at AdminPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1320:51)
at AdminPage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1295:24)
at AdminPage.dokanPromotion (/home/runner/work/dokan/dokan/tests/pw/pages/adminPage.ts:155:13)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/admin.spec.ts:93:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
2) [e2e_tests] βΊ customer.spec.ts:62:9 βΊ Customer functionality test βΊ customer can add billing details @lite
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('div.woocommerce .woocommerce-message')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('div.woocommerce .woocommerce-message')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.addBillingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:194:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:63:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
2) [e2e_tests] βΊ customer.spec.ts:62:9 βΊ Customer functionality test βΊ customer can add billing details @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('div.woocommerce .woocommerce-message')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('div.woocommerce .woocommerce-message')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.addBillingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:194:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:63:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
3) [e2e_tests] βΊ customer.spec.ts:66:9 βΊ Customer functionality test βΊ customer can add shipping details @lite
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('div.woocommerce .woocommerce-message')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('div.woocommerce .woocommerce-message')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.addShippingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:202:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:67:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
3) [e2e_tests] βΊ customer.spec.ts:66:9 βΊ Customer functionality test βΊ customer can add shipping details @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('div.woocommerce .woocommerce-message')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('div.woocommerce .woocommerce-message')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.addShippingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:202:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:67:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
4) [e2e_tests] βΊ customer.spec.ts:70:9 βΊ Customer functionality test βΊ customer can add customer details @lite
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('div.woocommerce .woocommerce-message')
Expected string: "Account details changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('div.woocommerce .woocommerce-message')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.addCustomerDetails (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:128:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:71:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
4) [e2e_tests] βΊ customer.spec.ts:70:9 βΊ Customer functionality test βΊ customer can add customer details @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('div.woocommerce .woocommerce-message')
Expected string: "Account details changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('div.woocommerce .woocommerce-message')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.addCustomerDetails (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:128:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:71:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
5) [e2e_tests] βΊ customer.spec.ts:74:9 βΊ Customer functionality test βΊ customer can add product to cart @lite
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.cart-empty.woocommerce-info')
Expected string: "Your cart is currently empty."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('.cart-empty.woocommerce-info')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.clearCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:259:24)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:231:23)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:76:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1325
5) [e2e_tests] βΊ customer.spec.ts:74:9 βΊ Customer functionality test βΊ customer can add product to cart @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 10000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.cart-empty.woocommerce-info')
Expected string: "Your cart is currently empty."
Received string: ""
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('.cart-empty.woocommerce-info')
at ../../pages/basePage.ts:1325
1323 | // assert element to contain text
1324 | async toContainText(selector: string, text: string) {
> 1325 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1326 | }
1327 |
1328 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1325:51)
at CustomerPage.clearCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:259:24)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:231:23)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:76:9
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ products.spec.ts#L1
tests/pw/[api_tests] βΊ products.spec.ts took 6.1s
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ stores.spec.ts#L1
tests/pw/[api_tests] βΊ stores.spec.ts took 3.4s
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ orders.spec.ts#L1
tests/pw/[api_tests] βΊ orders.spec.ts took 3.2s
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ myOrders.spec.ts#L1
tests/pw/[e2e_tests] βΊ myOrders.spec.ts took 2.5m
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ customer.spec.ts#L1
tests/pw/[e2e_tests] βΊ customer.spec.ts took 2.5m
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ orders.spec.ts#L1
tests/pw/[e2e_tests] βΊ orders.spec.ts took 1.5m
|
π§ͺ Running the api tests
1 flaky
[api_tests] βΊ withdraws.spec.ts:52:9 βΊ withdraw api test βΊ get single withdraw @lite βββββββββββ
131 passed (22.2s)
|
π§ͺ Running the e2e tests
15 failed
[e2e_tests] βΊ admin.spec.ts:92:9 βΊ Admin functionality test βΊ dokan promotion @lite ββββββββββββ
[e2e_tests] βΊ customer.spec.ts:62:9 βΊ Customer functionality test βΊ customer can add billing details @lite
[e2e_tests] βΊ customer.spec.ts:66:9 βΊ Customer functionality test βΊ customer can add shipping details @lite
[e2e_tests] βΊ customer.spec.ts:70:9 βΊ Customer functionality test βΊ customer can add customer details @lite
[e2e_tests] βΊ customer.spec.ts:74:9 βΊ Customer functionality test βΊ customer can add product to cart @lite
[e2e_tests] βΊ customer.spec.ts:80:9 βΊ Customer functionality test βΊ customer can buy product @lite
[e2e_tests] βΊ customer.spec.ts:85:9 βΊ Customer functionality test βΊ customer can buy multi vendor products @lite
[e2e_tests] βΊ myOrders.spec.ts:29:9 βΊ My orders functionality test βΊ customer can view order details @lite
[e2e_tests] βΊ myOrders.spec.ts:34:9 βΊ My orders functionality test βΊ customer can view order note @lite
[e2e_tests] βΊ myOrders.spec.ts:40:9 βΊ My orders functionality test βΊ customer can pay pending payment order @lite
[e2e_tests] βΊ myOrders.spec.ts:45:9 βΊ My orders functionality test βΊ customer can cancel order @lite
[e2e_tests] βΊ myOrders.spec.ts:50:9 βΊ My orders functionality test βΊ customer can order again @lite
[e2e_tests] βΊ orders.spec.ts:41:9 βΊ Order functionality test βΊ vendor can export filtered orders @lite
[e2e_tests] βΊ orders.spec.ts:50:9 βΊ Order functionality test βΊ vendor can filter orders by customer @lite
[e2e_tests] βΊ proPromo.spec.ts:24:9 βΊ Dokan pro feature promo test βΊ dokan pro features promo @liteonly
74 skipped
70 passed (9.6m)
|
The logs for this run have expired and are no longer available.
Loading