skipped some tests #26
Annotations
11 errors, 5 warnings, and 2 notices
[api_tests] › supportTickets.spec.ts:76:9 › support ticket api test › update batch support tickets @pro:
tests/pw/tests/api/supportTickets.spec.ts#L1
1) [api_tests] › supportTickets.spec.ts:76:9 › support ticket api test › update batch support tickets @Pro
Test timeout of 10000ms exceeded.
|
[e2e_tests] › coupons.spec.ts:72:9 › Coupons test › customer can apply coupon @pro:
tests/pw/pages/basePage.ts#L1331
1) [e2e_tests] › coupons.spec.ts:72:9 › Coupons test › customer can apply coupon @Pro ────────────
Error: expect.toContainText: Error: strict mode violation: locator('div.wc-block-components-notice-banner__content') resolved to 2 elements:
1) <div class="wc-block-components-notice-banner__conten…>The quantity of "p1_v1 (simple)" was changed to 2.</div> aka getByText('The quantity of "p1_v1 (')
2) <div class="wc-block-components-notice-banner__conten…>Coupon code "c1_v1" has been applied to your cart.</div> aka locator('#post-6').getByText('Coupon code "c1_v1" has been')
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('div.wc-block-components-notice-banner__content')
at ../../pages/basePage.ts:1331
1329 | // assert element to contain text
1330 | async toContainText(selector: string, text: string | RegExp) {
> 1331 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1332 | }
1333 |
1334 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1331:51)
at CustomerPage.applyCoupon (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:278:20)
at CouponsPage.applyCoupon (/home/runner/work/dokan/dokan/tests/pw/pages/couponsPage.ts:107:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/coupons.spec.ts:73:9
|
[e2e_tests] › coupons.spec.ts:72:9 › Coupons test › customer can apply coupon @pro:
tests/pw/pages/basePage.ts#L883
1) [e2e_tests] › coupons.spec.ts:72:9 › Coupons test › customer can apply coupon @Pro ────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 20000ms exceeded.
Call log:
- waiting for locator('a[aria-label="Add a coupon"]')
at ../../pages/basePage.ts:883
881 | async clickLocator(selector: string): Promise<void> {
882 | const locator = this.page.locator(selector);
> 883 | await locator.click();
| ^
884 | }
885 |
886 | // get locator count
at CustomerPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:883:23)
at CustomerPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20)
at CustomerPage.applyCoupon (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:275:20)
at CouponsPage.applyCoupon (/home/runner/work/dokan/dokan/tests/pw/pages/couponsPage.ts:107:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/coupons.spec.ts:73:9
|
[e2e_tests] › productAdvertising.spec.ts:68:9 › Product Advertising test › vendor can buy product advertising @pro:
tests/pw/pages/basePage.ts#L238
2) [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
2) [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] › requestForQuoteRules.spec.ts:44:9 › Request for quotation Rules test › admin can restore quote rule @pro:
tests/pw/pages/basePage.ts#L438
3) [e2e_tests] › requestForQuoteRules.spec.ts:44:9 › Request for quotation Rules test › admin can restore quote rule @Pro
TimeoutError: locator.hover: Timeout 20000ms exceeded.
Call log:
- waiting for locator('//strong[contains(text(),\'test rule_Jemb9dYQ0A\')]/../..')
at ../../pages/basePage.ts:438
436 | // hover on selector
437 | async hover(selector: string): Promise<void> {
> 438 | await this.page.locator(selector).hover();
| ^
439 | // await this.page.hover(selector);
440 | await this.wait(0.2);
441 | }
at RequestForQuotationsPage.hover (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:438:43)
at RequestForQuotationsPage.updateQuoteRule (/home/runner/work/dokan/dokan/tests/pw/pages/requestForQuotationsPage.ts:118:28)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/requestForQuoteRules.spec.ts:45:9
|
[e2e_tests] › requestForQuoteRules.spec.ts:44:9 › Request for quotation Rules test › admin can restore quote rule @pro:
tests/pw/pages/basePage.ts#L438
3) [e2e_tests] › requestForQuoteRules.spec.ts:44:9 › Request for quotation Rules test › admin can restore quote rule @Pro
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.hover: Timeout 20000ms exceeded.
Call log:
- waiting for locator('//strong[contains(text(),\'test rule_01YXD_x3Gu\')]/../..')
at ../../pages/basePage.ts:438
436 | // hover on selector
437 | async hover(selector: string): Promise<void> {
> 438 | await this.page.locator(selector).hover();
| ^
439 | // await this.page.hover(selector);
440 | await this.wait(0.2);
441 | }
at RequestForQuotationsPage.hover (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:438:43)
at RequestForQuotationsPage.updateQuoteRule (/home/runner/work/dokan/dokan/tests/pw/pages/requestForQuotationsPage.ts:118:28)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/requestForQuoteRules.spec.ts:45:9
|
[e2e_tests] › shop.spec.ts:47:9 › Shop functionality test › customer can view products on map @pro:
tests/pw/pages/basePage.ts#L883
4) [e2e_tests] › shop.spec.ts:47:9 › Shop functionality test › customer can view products on map @Pro
TimeoutError: locator.click: Timeout 20000ms exceeded.
Call log:
- waiting for locator('//div[@id="dokan-geolocation-locations-map"]//div[contains(@Style, "dokan-pro/modules/geolocation/assets/images")]')
at ../../pages/basePage.ts:883
881 | async clickLocator(selector: string): Promise<void> {
882 | const locator = this.page.locator(selector);
> 883 | await locator.click();
| ^
884 | }
885 |
886 | // get locator count
at ShopPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:883:23)
at ShopPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20)
at ShopPage.productOnMap (/home/runner/work/dokan/dokan/tests/pw/pages/shopPage.ts:92:24)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/shop.spec.ts:48:9
|
[e2e_tests] › shop.spec.ts:47:9 › Shop functionality test › customer can view products on map @pro:
tests/pw/pages/basePage.ts#L883
4) [e2e_tests] › shop.spec.ts:47:9 › Shop functionality test › customer can view products on map @Pro
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 20000ms exceeded.
Call log:
- waiting for locator('//div[@id="dokan-geolocation-locations-map"]//div[contains(@Style, "dokan-pro/modules/geolocation/assets/images")]')
at ../../pages/basePage.ts:883
881 | async clickLocator(selector: string): Promise<void> {
882 | const locator = this.page.locator(selector);
> 883 | await locator.click();
| ^
884 | }
885 |
886 | // get locator count
at ShopPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:883:23)
at ShopPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20)
at ShopPage.productOnMap (/home/runner/work/dokan/dokan/tests/pw/pages/shopPage.ts:92:24)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/shop.spec.ts:48:9
|
[e2e_tests] › customer.spec.ts:85:9 › Customer functionality test › customer can buy multi vendor products @lite:
tests/pw/pages/basePage.ts#L238
5) [e2e_tests] › customer.spec.ts:85:9 › Customer functionality test › customer can buy multi vendor products @lite
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.placeOrder (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:323:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:88:9
|
[e2e_tests] › productAdvertising.spec.ts:63:9 › Product Advertising test › admin can perform product advertising bulk action @pro:
tests/pw/pages/basePage.ts#L883
6) [e2e_tests] › productAdvertising.spec.ts:63:9 › Product Advertising test › admin can perform product advertising bulk action @Pro
TimeoutError: locator.click: Timeout 20000ms exceeded.
Call log:
- waiting for locator('//div[@Class="tablenav top"]//button[normalize-space()="Apply"]')
- locator resolved to <button disabled="disabled" class="button action">Apply</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled - waiting...
at ../../pages/basePage.ts:883
881 | async clickLocator(selector: string): Promise<void> {
882 | const locator = this.page.locator(selector);
> 883 | await locator.click();
| ^
884 | }
885 |
886 | // get locator count
at ProductAdvertisingPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:883:23)
at ProductAdvertisingPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20)
at ProductAdvertisingPage.productAdvertisingBulkAction (/home/runner/work/dokan/dokan/tests/pw/pages/productAdvertisingPage.ts:153:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/productAdvertising.spec.ts:65: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] › supportTickets.spec.ts#L1
tests/pw/[api_tests] › supportTickets.spec.ts took 25.4s
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 9.1m
|
Slow Test:
tests/pw/[e2e_tests] › storeSupports.spec.ts#L1
tests/pw/[e2e_tests] › storeSupports.spec.ts took 3.3m
|
🎭 Playwright Run Summary
1 flaky
[api_tests] › supportTickets.spec.ts:76:9 › support ticket api test › update batch support tickets @Pro
29 skipped
258 passed (1.9m)
|
🎭 Playwright Run Summary
4 failed
[e2e_tests] › coupons.spec.ts:72:9 › Coupons test › customer can apply coupon @Pro ─────────────
[e2e_tests] › productAdvertising.spec.ts:68:9 › Product Advertising test › vendor can buy product advertising @Pro
[e2e_tests] › requestForQuoteRules.spec.ts:44:9 › Request for quotation Rules test › admin can restore quote rule @Pro
[e2e_tests] › shop.spec.ts:47:9 › Shop functionality test › customer can view products on map @Pro
17 flaky
[e2e_tests] › customer.spec.ts:85:9 › Customer functionality test › customer can buy multi vendor products @lite
[e2e_tests] › productAdvertising.spec.ts:63:9 › Product Advertising test › admin can perform product advertising bulk action @Pro
[e2e_tests] › products.spec.ts:61:9 › Product functionality test › admin can add vendor subscription @Pro
[e2e_tests] › products.spec.ts:73:9 › Product functionality test › vendor can add variable product @Pro
[e2e_tests] › products.spec.ts:89:9 › Product functionality test › vendor can add downloadable product @lite
[e2e_tests] › products.spec.ts:145:9 › Product functionality test › vendor can quick edit product @Pro
[e2e_tests] › products.spec.ts:183:9 › Product functionality test › vendor can permanently delete product @lite
[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] › stores.spec.ts:42:9 › Stores test › admin can add vendor @lite ───────────────────
[e2e_tests] › vendorBooking.spec.ts:120:9 › Booking Product test › vendor can add booking for existing customer @Pro
[e2e_tests] › vendorSettings.spec.ts:73:9 › Vendor settings test › vendor can set open-close settings @lite
[e2e_tests] › vendorSettings.spec.ts:102:9 › Vendor settings test › vendor can set min-max settings @Pro
[e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro
[e2e_tests] › vendorVerifications.spec.ts:35:9 › Verifications test › vendor can send address verification request @Pro
100 skipped
461 passed (16.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
155 MB |
|