Skip to content

update suite

update suite #44

Triggered via push February 17, 2024 18:07
Status Failure
Total duration 22m 30s
Artifacts 1

all-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 2 notices
[e2e_tests] › customer.spec.ts:43:9 › Customer functionality test › customer can add billing details @lite @c: tests/pw/pages/basePage.ts#L652
1) [e2e_tests] › customer.spec.ts:43:9 › Customer functionality test › customer can add billing details @lite @c TimeoutError: page.fill: Timeout 25000ms exceeded. Call log: - waiting for locator('.select2-search.select2-search--dropdown .select2-search__field') at ../../pages/basePage.ts:652 650 | // fill in input field 651 | async fill(selector: string, text: string): Promise<void> { > 652 | await this.page.fill(selector, text); | ^ 653 | } 654 | 655 | // fill if visible at CustomerPage.fill (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:652:25) at CustomerPage.clearAndType (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:630:20) at CustomerPage.updateBillingFields (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:164:20) at CustomerPage.addBillingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:192:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:44:9
[e2e_tests] › customer.spec.ts:43:9 › Customer functionality test › customer can add billing details @lite @c: tests/pw/pages/basePage.ts#L652
1) [e2e_tests] › customer.spec.ts:43:9 › Customer functionality test › customer can add billing details @lite @c Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.fill: Timeout 25000ms exceeded. Call log: - waiting for locator('.select2-search.select2-search--dropdown .select2-search__field') at ../../pages/basePage.ts:652 650 | // fill in input field 651 | async fill(selector: string, text: string): Promise<void> { > 652 | await this.page.fill(selector, text); | ^ 653 | } 654 | 655 | // fill if visible at CustomerPage.fill (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:652:25) at CustomerPage.clearAndType (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:630:20) at CustomerPage.updateBillingFields (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:164:20) at CustomerPage.addBillingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:192:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:44:9
[e2e_tests] › customer.spec.ts:47:9 › Customer functionality test › customer can add shipping details @lite @c: tests/pw/pages/basePage.ts#L652
2) [e2e_tests] › customer.spec.ts:47:9 › Customer functionality test › customer can add shipping details @lite @c TimeoutError: page.fill: Timeout 25000ms exceeded. Call log: - waiting for locator('.select2-search.select2-search--dropdown .select2-search__field') at ../../pages/basePage.ts:652 650 | // fill in input field 651 | async fill(selector: string, text: string): Promise<void> { > 652 | await this.page.fill(selector, text); | ^ 653 | } 654 | 655 | // fill if visible at CustomerPage.fill (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:652:25) at CustomerPage.clearAndType (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:630:20) at CustomerPage.updateShippingFields (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:177:20) at CustomerPage.addShippingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:200:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:48:9
[e2e_tests] › customer.spec.ts:47:9 › Customer functionality test › customer can add shipping details @lite @c: tests/pw/pages/basePage.ts#L652
2) [e2e_tests] › customer.spec.ts:47:9 › Customer functionality test › customer can add shipping details @lite @c Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.fill: Timeout 25000ms exceeded. Call log: - waiting for locator('.select2-search.select2-search--dropdown .select2-search__field') at ../../pages/basePage.ts:652 650 | // fill in input field 651 | async fill(selector: string, text: string): Promise<void> { > 652 | await this.page.fill(selector, text); | ^ 653 | } 654 | 655 | // fill if visible at CustomerPage.fill (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:652:25) at CustomerPage.clearAndType (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:630:20) at CustomerPage.updateShippingFields (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:177:20) at CustomerPage.addShippingAddress (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:200:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:48:9
[e2e_tests] › settings.spec.ts:25:9 › Settings test › admin can scroll to top on settings @lite @a: tests/pw/pages/basePage.ts#L1335
3) [e2e_tests] › settings.spec.ts:25:9 › Settings test › admin can scroll to top on settings @lite @A Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.back-to-top.tips') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('.back-to-top.tips') - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" at ../../pages/basePage.ts:1335 1333 | // assert element to be visible 1334 | async toBeVisible(selector: string) { > 1335 | await expect(this.page.locator(selector)).toBeVisible(); | ^ 1336 | } 1337 | 1338 | // assert checkbox to be checked at SettingsPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1335:51) at SettingsPage.scrollToTopSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:50:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:26:9
[e2e_tests] › settings.spec.ts:25:9 › Settings test › admin can scroll to top on settings @lite @a: tests/pw/pages/basePage.ts#L1335
3) [e2e_tests] › settings.spec.ts:25:9 › Settings test › admin can scroll to top on settings @lite @A Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.back-to-top.tips') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('.back-to-top.tips') - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" - locator resolved to <div title="" class="back-to-top tips" data-original-…>…</div> - unexpected value "hidden" at ../../pages/basePage.ts:1335 1333 | // assert element to be visible 1334 | async toBeVisible(selector: string) { > 1335 | await expect(this.page.locator(selector)).toBeVisible(); | ^ 1336 | } 1337 | 1338 | // assert checkbox to be checked at SettingsPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1335:51) at SettingsPage.scrollToTopSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:50:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:26:9
[e2e_tests] › vendorBooking.spec.ts:116:9 › Booking Product test › vendor can add booking for guest customer @pro @v: tests/pw/pages/basePage.ts#L896
4) [e2e_tests] › vendorBooking.spec.ts:116:9 › Booking Product test › vendor can add booking for guest customer @Pro @v TimeoutError: locator.click: Timeout 25000ms exceeded. Call log: - waiting for locator('//li[contains(@Class,"select2-results__option") and contains(text(), \'Elegant Steel Bacon (Bookable)\')]') at ../../pages/basePage.ts:896 894 | async clickLocator(selector: string): Promise<void> { 895 | const locator = this.page.locator(selector); > 896 | await locator.click(); | ^ 897 | } 898 | 899 | // get locator count at BookingPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:896:23) at BookingPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20) at BookingPage.addBooking (/home/runner/work/dokan/dokan/tests/pw/pages/vendorBookingPage.ts:287:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendorBooking.spec.ts:117:9
[e2e_tests] › vendorBooking.spec.ts:116:9 › Booking Product test › vendor can add booking for guest customer @pro @v: tests/pw/pages/basePage.ts#L896
4) [e2e_tests] › vendorBooking.spec.ts:116:9 › Booking Product test › vendor can add booking for guest customer @Pro @v Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 25000ms exceeded. Call log: - waiting for locator('//li[contains(@Class,"select2-results__option") and contains(text(), \'Awesome Metal Pants (Bookable)\')]') at ../../pages/basePage.ts:896 894 | async clickLocator(selector: string): Promise<void> { 895 | const locator = this.page.locator(selector); > 896 | await locator.click(); | ^ 897 | } 898 | 899 | // get locator count at BookingPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:896:23) at BookingPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20) at BookingPage.addBooking (/home/runner/work/dokan/dokan/tests/pw/pages/vendorBookingPage.ts:287:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendorBooking.spec.ts:117:9
[e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @pro @c: tests/pw/pages/basePage.ts#L238
5) [e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @Pro @c TimeoutError: page.waitForResponse: Timeout 25000ms 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.clearCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:255:24) at CustomerPage.clearCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:256:13) at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:231:23) at CouponsPage.buyProductWithCoupon (/home/runner/work/dokan/dokan/tests/pw/pages/couponsPage.ts:112:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/coupons.spec.ts:81:9
[e2e_tests] › customer.spec.ts:55:9 › Customer functionality test › customer can add product to cart @lite @c: tests/pw/pages/basePage.ts#L232
6) [e2e_tests] › customer.spec.ts:55:9 › Customer functionality test › customer can add product to cart @lite @c TimeoutError: page.waitForResponse: Timeout 25000ms 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 CustomerPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:232:57) at CustomerPage.addProductToCartFromSingleProductPage (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:220:20) at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:237:17) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:57: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.7s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 18.3s
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 6.9m
Slow Test: tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 4.9m
🎭 Playwright Run Summary
28 skipped 261 passed (2.0m)
🎭 Playwright Run Summary
4 failed [e2e_tests] › customer.spec.ts:43:9 › Customer functionality test › customer can add billing details @lite @c [e2e_tests] › customer.spec.ts:47:9 › Customer functionality test › customer can add shipping details @lite @c [e2e_tests] › settings.spec.ts:25:9 › Settings test › admin can scroll to top on settings @lite @A [e2e_tests] › vendorBooking.spec.ts:116:9 › Booking Product test › vendor can add booking for guest customer @Pro @v 10 flaky [e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @Pro @c [e2e_tests] › customer.spec.ts:55:9 › Customer functionality test › customer can add product to cart @lite @c [e2e_tests] › products.spec.ts:63:9 › Product functionality test › admin can add vendor subscription @Pro @A [e2e_tests] › products.spec.ts:91:9 › Product functionality test › vendor can add downloadable product @lite @v [e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs @Pro @A ────────── [e2e_tests] › sellerBadges.spec.ts:70:9 › Seller badge test › admin can update seller badge status @Pro @A [e2e_tests] › storeReviews.spec.ts:72:9 › Store Reviews test › admin can perform store reviews bulk action @Pro @A [e2e_tests] › stores.spec.ts:41:9 › Stores test › admin can add vendor @lite @A ──────────────── [e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro @v [e2e_tests] › vendorVerifications.spec.ts:35:9 › Verifications test › vendor can send address verification request @Pro @v 126 skipped 488 passed (16.1m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
108 MB