update test command #24
Annotations
10 errors, 5 warnings, and 2 notices
[e2e_tests] › productAdvertising.spec.ts:68:9 › Product Advertising test › vendor can buy product advertising @pro:
tests/pw/pages/basePage.ts#L238
1) [e2e_tests] › productAdvertising.spec.ts:68:9 › Product Advertising test › vendor can buy product advertising @Pro
TimeoutError: page.waitForResponse: Timeout 20000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:238
236 | // click & wait for response
237 | async clickAndWaitForResponseAndLoadState(subUrl: string, selector: string, code = 200): Promise<Response> {
> 238 | const [, response] = await Promise.all([this.page.waitForLoadState('networkidle'), this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
239 | expect(response.status()).toBe(code);
240 | return response;
241 | }
at CustomerPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:238:102)
at CustomerPage.paymentOrder (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:365:20)
at VendorPage.buyProductAdvertising (/home/runner/work/dokan/dokan/tests/pw/pages/vendorPage.ts:320:25)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/productAdvertising.spec.ts:69:25
|
[e2e_tests] › productAdvertising.spec.ts:68:9 › Product Advertising test › vendor can buy product advertising @pro:
tests/pw/pages/basePage.ts#L232
1) [e2e_tests] › productAdvertising.spec.ts:68:9 › Product Advertising test › vendor can buy product advertising @Pro
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForResponse: Timeout 20000ms 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 VendorPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:232:57)
at VendorPage.buyProductAdvertising (/home/runner/work/dokan/dokan/tests/pw/pages/vendorPage.ts:317:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/productAdvertising.spec.ts:69:25
|
[e2e_tests] › products.spec.ts:89:9 › Product functionality test › vendor can add downloadable product @lite:
tests/pw/pages/basePage.ts#L98
2) [e2e_tests] › products.spec.ts:89:9 › Product functionality test › vendor can add downloadable product @lite
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.addProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:290:9)
at ProductsPage.vendorAddDownloadableProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:327:83)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:90:9
|
[e2e_tests] › products.spec.ts:89:9 › Product functionality test › vendor can add downloadable product @lite:
tests/pw/pages/basePage.ts#L98
2) [e2e_tests] › products.spec.ts:89:9 › Product functionality test › vendor can add downloadable product @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.addProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:290:9)
at ProductsPage.vendorAddDownloadableProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:327:83)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:90:9
|
[e2e_tests] › products.spec.ts:93:9 › Product functionality test › vendor can add virtual product @lite:
tests/pw/pages/basePage.ts#L98
3) [e2e_tests] › products.spec.ts:93:9 › Product functionality test › vendor can add virtual product @lite
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.addProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:290:9)
at ProductsPage.vendorAddVirtualProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:353:83)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:94:9
|
[e2e_tests] › products.spec.ts:93:9 › Product functionality test › vendor can add virtual product @lite:
tests/pw/pages/basePage.ts#L98
3) [e2e_tests] › products.spec.ts:93:9 › Product functionality test › vendor can add virtual product @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.addProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:290:9)
at ProductsPage.vendorAddVirtualProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:353:83)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:94:9
|
[e2e_tests] › products.spec.ts:97:9 › Product functionality test › vendor can add product category @lite:
tests/pw/pages/basePage.ts#L98
4) [e2e_tests] › products.spec.ts:97:9 › Product functionality test › vendor can add product category @lite
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.searchProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:494:9)
at ProductsPage.goToProductEdit (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:453:9)
at ProductsPage.vendorAddProductCategory (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:479:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:98:9
|
[e2e_tests] › products.spec.ts:97:9 › Product functionality test › vendor can add product category @lite:
tests/pw/pages/basePage.ts#L98
4) [e2e_tests] › products.spec.ts:97:9 › Product functionality test › vendor can add product category @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.searchProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:494:9)
at ProductsPage.goToProductEdit (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:453:9)
at ProductsPage.vendorAddProductCategory (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:479:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:98:9
|
[e2e_tests] › products.spec.ts:105:9 › Product functionality test › vendor product menu page is rendering properly @lite @explo:
tests/pw/pages/basePage.ts#L98
5) [e2e_tests] › products.spec.ts:105:9 › Product functionality test › vendor product menu page is rendering properly @lite @explo
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.vendorProductsRenderProperly (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:257:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:106:9
|
[e2e_tests] › products.spec.ts:105:9 › Product functionality test › vendor product menu page is rendering properly @lite @explo:
tests/pw/pages/basePage.ts#L98
5) [e2e_tests] › products.spec.ts:105:9 › Product functionality test › vendor product menu page is rendering properly @lite @explo
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatch(expected)
Expected substring: "dashboard/products"
Received string: "http://localhost:9999/my-account/"
at ../../pages/basePage.ts:98
96 | // await this.page.goto(url, { waitUntil: 'domcontentloaded' }); //don't work for backend
97 | const currentUrl = this.getCurrentUrl();
> 98 | expect(currentUrl).toMatch(subPath);
| ^
99 | }
100 | }
101 |
at ProductsPage.goIfNotThere (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:98:32)
at ProductsPage.vendorProductsRenderProperly (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:257:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:106:9
|
e2e_api tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 27.0s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 18.0s
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 5.3m
|
Slow Test:
tests/pw/[e2e_tests] › coupons.spec.ts#L1
tests/pw/[e2e_tests] › coupons.spec.ts took 2.0m
|
🎭 Playwright Run Summary
29 skipped
259 passed (1.8m)
|
🎭 Playwright Run Summary
16 failed
[e2e_tests] › productAdvertising.spec.ts:68:9 › Product Advertising test › vendor can buy product advertising @Pro
[e2e_tests] › products.spec.ts:89:9 › Product functionality test › vendor can add downloadable product @lite
[e2e_tests] › products.spec.ts:93:9 › Product functionality test › vendor can add virtual product @lite
[e2e_tests] › products.spec.ts:97:9 › Product functionality test › vendor can add product category @lite
[e2e_tests] › products.spec.ts:105:9 › Product functionality test › vendor product menu page is rendering properly @lite @explo
[e2e_tests] › products.spec.ts:109:9 › Product functionality test › vendor can export products @Pro
[e2e_tests] › products.spec.ts:113:9 › Product functionality test › vendor can search product @lite
[e2e_tests] › products.spec.ts:117:9 › Product functionality test › vendor can filter products by date @lite
[e2e_tests] › products.spec.ts:121:9 › Product functionality test › vendor can filter products by category @lite
[e2e_tests] › products.spec.ts:125:9 › Product functionality test › vendor can filter products by type @Pro
[e2e_tests] › setting.spec.ts:133:9 › Settings test › admin can set order status change capability (selling settings) @lite
[e2e_tests] › spmv.spec.ts:53:9 › Vendor SPMV test › vendor spmv menu page is rendering properly @Pro @explo
[e2e_tests] › spmv.spec.ts:57:9 › Vendor SPMV test › vendor can search similar product on spmv page @Pro
[e2e_tests] › spmv.spec.ts:61:9 › Vendor SPMV test › vendor can search similar product on product popup @Pro
[e2e_tests] › spmv.spec.ts:65:9 › Vendor SPMV test › vendor can search similar booking product @Pro
[e2e_tests] › storeCategories.spec.ts:61:9 › Store categories test › vendor can update own store category @Pro
2 interrupted
[e2e_tests] › stores.spec.ts:58:9 › Stores test › admin can edit vendor info @lite ─────────────
[e2e_tests] › storeSupports.spec.ts:70:9 › Store Support test (admin) › admin can enable support ticket email notification @Pro
9 flaky
[e2e_tests] › coupons.spec.ts:43:9 › Coupons test › admin can add marketplace coupon @Pro ──────
[e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite
[e2e_tests] › products.spec.ts:73:9 › Product functionality test › vendor can add variable product @Pro
[e2e_tests] › refunds.spec.ts:56:9 › Refunds test › admin can perform refund requests bulk actions @Pro
[e2e_tests] › reports.spec.ts:40:9 › Reports test › admin can search all logs @Pro ─────────────
[e2e_tests] › requestForQuoteRules.spec.ts:55:9 › Request for quotation Rules test › admin can perform quote rule bulk actions @Pro
[e2e_tests] › requestForQuotes.spec.ts:65:9 › Request for quotation test admin › admin can convert quote to order @Pro
[e2e_tests] › spmv.spec.ts:70:9 › Vendor SPMV test › vendor can search similar auction product @Pro
[e2e_tests] › stores.spec.ts:42:9 › Stores test › admin can add vendor @lite ───────────────────
47 skipped
187 did not run
321 passed (11.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
95.3 MB |
|