Skip to content

fix: Vendor class shop_data persistence is broken on save() #29

fix: Vendor class shop_data persistence is broken on save()

fix: Vendor class shop_data persistence is broken on save() #29

Re-run triggered December 7, 2023 10:11
Status Failure
Total duration 15m 11s
Artifacts 1

e2e_api_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 6 warnings, and 2 notices
[e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite: tests/pw/pages/basePage.ts#L1325
1) [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
[e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite: tests/pw/pages/basePage.ts#L1325
1) [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
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can add shipping details @lite: tests/pw/pages/basePage.ts#L1325
2) [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
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can add shipping details @lite: tests/pw/pages/basePage.ts#L1325
2) [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
[e2e_tests] › customer.spec.ts:70:9 › Customer functionality test › customer can add customer details @lite: tests/pw/pages/basePage.ts#L1325
3) [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
[e2e_tests] › customer.spec.ts:70:9 › Customer functionality test › customer can add customer details @lite: tests/pw/pages/basePage.ts#L1325
3) [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
[e2e_tests] › customer.spec.ts:74:9 › Customer functionality test › customer can add product to cart @lite: tests/pw/pages/basePage.ts#L1325
4) [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
[e2e_tests] › customer.spec.ts:74:9 › Customer functionality test › customer can add product to cart @lite: tests/pw/pages/basePage.ts#L1325
4) [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
[e2e_tests] › customer.spec.ts:80:9 › Customer functionality test › customer can buy product @lite: tests/pw/pages/basePage.ts#L1325
5) [e2e_tests] › customer.spec.ts:80:9 › Customer functionality test › customer can buy product @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:81:9
[e2e_tests] › customer.spec.ts:80:9 › Customer functionality test › customer can buy product @lite: tests/pw/pages/basePage.ts#L1325
5) [e2e_tests] › customer.spec.ts:80:9 › Customer functionality test › customer can buy product @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:81:9
Slow Test: tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 6.2s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 3.3s
Slow Test: tests/pw/[api_tests] › orders.spec.ts#L1
tests/pw/[api_tests] › orders.spec.ts took 3.2s
Slow Test: tests/pw/[e2e_tests] › myOrders.spec.ts#L1
tests/pw/[e2e_tests] › myOrders.spec.ts took 2.5m
Slow Test: tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 2.5m
Slow Test: tests/pw/[e2e_tests] › orders.spec.ts#L1
tests/pw/[e2e_tests] › orders.spec.ts took 1.5m
🎭 Playwright Run Summary
132 passed (19.1s)
🎭 Playwright Run Summary
15 failed [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] › reverseWithdraws.spec.ts:78:9 › Reverse withdraw test › vendor can pay reverse pay balance @lite [e2e_tests] › vendor.spec.ts:65:9 › Vendor functionality test › vendor update account details @lite 24 skipped 120 passed (10.8m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
32 MB