Skip to content

E2E_API Tests

E2E_API Tests #8

Triggered via schedule November 19, 2023 02:17
Status Failure
Total duration 14m 39s
Artifacts 1

e2e_api_tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 6 warnings, and 2 notices
[e2e_tests] › admin.spec.ts:92:9 › Admin functionality test › dokan promotion @lite: 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
[e2e_tests] › admin.spec.ts:92:9 › Admin functionality test › dokan promotion @lite: 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
[e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite: 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
[e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite: 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
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can add shipping details @lite: 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
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can add shipping details @lite: 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
[e2e_tests] › customer.spec.ts:70:9 › Customer functionality test › customer can add customer details @lite: 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
[e2e_tests] › customer.spec.ts:70:9 › Customer functionality test › customer can add customer details @lite: 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
[e2e_tests] › customer.spec.ts:74:9 › Customer functionality test › customer can add product to cart @lite: 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
[e2e_tests] › customer.spec.ts:74:9 › Customer functionality test › customer can add product to cart @lite: 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
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.4s
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.8s)
🎭 Playwright Run Summary
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.7m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
34.2 MB