Skip to content

fix plugin path

fix plugin path #17

Triggered via push January 26, 2024 05:07
Status Failure
Total duration 45m 18s
Artifacts 1

all-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 5 warnings, and 2 notices
[api_tests] › admins.spec.ts:80:9 › admin api test › get admin logs @pro: tests/pw/tests/api/admins.spec.ts#L84
1) [api_tests] › admins.spec.ts:80:9 › admin api test › get admin logs @Pro ────────────────────── Error: Result does not match schema: Expected string, received number Details: { "issues": [ { "code": "invalid_type", "expected": "string", "received": "number", "path": [ 6, "vendor_earning" ], "message": "Expected string, received number" } ], "name": "ZodError" } 82 | expect(response.ok()).toBeTruthy(); 83 | expect(responseBody).toBeTruthy(); > 84 | expect(responseBody).toMatchSchema(schemas.admin.adminLogsSchema); | ^ 85 | }); 86 | 87 | test('get admin export logs @Pro', async () => { at /home/runner/work/dokan/dokan/tests/pw/tests/api/admins.spec.ts:84:30
[api_tests] › admins.spec.ts:80:9 › admin api test › get admin logs @pro: tests/pw/tests/api/admins.spec.ts#L84
1) [api_tests] › admins.spec.ts:80:9 › admin api test › get admin logs @Pro ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Result does not match schema: Expected string, received number Details: { "issues": [ { "code": "invalid_type", "expected": "string", "received": "number", "path": [ 6, "vendor_earning" ], "message": "Expected string, received number" } ], "name": "ZodError" } 82 | expect(response.ok()).toBeTruthy(); 83 | expect(responseBody).toBeTruthy(); > 84 | expect(responseBody).toMatchSchema(schemas.admin.adminLogsSchema); | ^ 85 | }); 86 | 87 | test('get admin export logs @Pro', async () => { at /home/runner/work/dokan/dokan/tests/pw/tests/api/admins.spec.ts:84:30
e2e_api tests
Process completed with exit code 1.
e2e_api tests
Timed out waiting 2400s for the test suite to run
e2e_api tests
Timed out waiting 2400s for the teardown for report begin to run
[e2e_tests] › followStore.spec.ts:37:9 › Follow stores functionality test › customer can follow store on store listing @pro: tests/pw/pages/basePage.ts#L231
1) [e2e_tests] › followStore.spec.ts:37:9 › Follow stores functionality test › customer can follow store on store listing @Pro TimeoutError: page.waitForResponse: Timeout 20000ms exceeded while waiting for event "response" at ../../pages/basePage.ts:231 229 | // click & wait for response 230 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> { > 231 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]); | ^ 232 | return response; 233 | } 234 | at FollowStorePage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:231:57) at FollowStorePage.followStore (/home/runner/work/dokan/dokan/tests/pw/pages/followStorePage.ts:59:28) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/followStore.spec.ts:38:9
[e2e_tests] › followStore.spec.ts:37:9 › Follow stores functionality test › customer can follow store on store listing @pro: tests/pw/pages/basePage.ts#L231
1) [e2e_tests] › followStore.spec.ts:37:9 › Follow stores functionality test › customer can follow store on store listing @Pro Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForResponse: Timeout 20000ms exceeded while waiting for event "response" at ../../pages/basePage.ts:231 229 | // click & wait for response 230 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> { > 231 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]); | ^ 232 | return response; 233 | } 234 | at FollowStorePage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:231:57) at FollowStorePage.followStore (/home/runner/work/dokan/dokan/tests/pw/pages/followStorePage.ts:59:28) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/followStore.spec.ts:38:9
[e2e_tests] › requestForQuoteRules.spec.ts:43:9 › Request for quotation Rules test › admin can restore quote rule @pro: tests/pw/pages/basePage.ts#L437
2) [e2e_tests] › requestForQuoteRules.spec.ts:43:9 › Request for quotation Rules test › admin can restore quote rule @Pro TimeoutError: locator.hover: Timeout 20000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//strong[contains(text(),\'test rule_bvigZveNyQ\')]/../..') ============================================================ at ../../pages/basePage.ts:437 435 | // hover on selector 436 | async hover(selector: string): Promise<void> { > 437 | await this.page.locator(selector).hover(); | ^ 438 | // await this.page.hover(selector); 439 | await this.wait(0.2); 440 | } at RequestForQuotationsPage.hover (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:437: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:44:9
[e2e_tests] › requestForQuoteRules.spec.ts:43:9 › Request for quotation Rules test › admin can restore quote rule @pro: tests/pw/pages/basePage.ts#L437
2) [e2e_tests] › requestForQuoteRules.spec.ts:43:9 › Request for quotation Rules test › admin can restore quote rule @Pro Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.hover: Timeout 20000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//strong[contains(text(),\'test rule_LY-5g9NxzG\')]/../..') ============================================================ at ../../pages/basePage.ts:437 435 | // hover on selector 436 | async hover(selector: string): Promise<void> { > 437 | await this.page.locator(selector).hover(); | ^ 438 | // await this.page.hover(selector); 439 | await this.wait(0.2); 440 | } at RequestForQuotationsPage.hover (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:437: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:44:9
[e2e_tests] › spmv.spec.ts:46:9 › Vendor SPMV test › admin can assign SPMV product to other vendor @pro: tests/pw/pages/basePage.ts#L1330
3) [e2e_tests] › spmv.spec.ts:46:9 › Vendor SPMV test › admin can assign SPMV product to other vendor @Pro Error: Timed out 15000ms waiting for expect(received).toContainText(expected) Expected string: "vendor1store" Received string: "" Call log: - expect.toContainText with timeout 15000ms - waiting for locator('.select2-results__option.select2-results__option--highlighted') at ../../pages/basePage.ts:1330 1328 | // assert element to contain text 1329 | async toContainText(selector: string, text: string) { > 1330 | await expect(this.page.locator(selector)).toContainText(text); | ^ 1331 | } 1332 | 1333 | // assert element to have count at SpmvPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330:51) at SpmvPage.assignSpmvProduct (/home/runner/work/dokan/dokan/tests/pw/pages/spmvPage.ts:23:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/spmv.spec.ts:48:9
[e2e_tests] › spmv.spec.ts:46:9 › Vendor SPMV test › admin can assign SPMV product to other vendor @pro: tests/pw/pages/basePage.ts#L1330
3) [e2e_tests] › spmv.spec.ts:46:9 › Vendor SPMV test › admin can assign SPMV product to other vendor @Pro Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(received).toContainText(expected) Expected string: "vendor1store" Received string: "" Call log: - expect.toContainText with timeout 15000ms - waiting for locator('.select2-results__option.select2-results__option--highlighted') at ../../pages/basePage.ts:1330 1328 | // assert element to contain text 1329 | async toContainText(selector: string, text: string) { > 1330 | await expect(this.page.locator(selector)).toContainText(text); | ^ 1331 | } 1332 | 1333 | // assert element to have count at SpmvPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330:51) at SpmvPage.assignSpmvProduct (/home/runner/work/dokan/dokan/tests/pw/pages/spmvPage.ts:23:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/spmv.spec.ts:48:9
[e2e_tests] › vendorBooking.spec.ts:119:9 › Booking Product test › vendor can add booking for existing customer @pro: tests/pw/pages/basePage.ts#L882
4) [e2e_tests] › vendorBooking.spec.ts:119:9 › Booking Product test › vendor can add booking for existing customer @Pro TimeoutError: locator.click: Timeout 20000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//li[contains(@Class,"select2-results__option") and contains(text(), \'Oriental Metal Computer (Bookable)\')]') ============================================================ at ../../pages/basePage.ts:882 880 | async clickLocator(selector: string): Promise<void> { 881 | const locator = this.page.locator(selector); > 882 | await locator.click(); | ^ 883 | } 884 | 885 | // get locator count at BookingPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:882:23) at BookingPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:169: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:120:9
[e2e_tests] › vendorBooking.spec.ts:119:9 › Booking Product test › vendor can add booking for existing customer @pro: tests/pw/tests/e2e/vendorBooking.spec.ts#L1
4) [e2e_tests] › vendorBooking.spec.ts:119:9 › Booking Product test › vendor can add booking for existing customer @Pro Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test finished within timeout of 50000ms, but tearing down "trace recording" ran out of time. Please allow more time for the test, since teardown is attributed towards the test timeout budget.
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 12.9s
Slow Test: tests/pw/[api_tests] › supportTickets.spec.ts#L1
tests/pw/[api_tests] › supportTickets.spec.ts took 8.5s
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 4.2m
Slow Test: tests/pw/[e2e_tests] › vendorBooking.spec.ts#L1
tests/pw/[e2e_tests] › vendorBooking.spec.ts took 2.4m
🎭 Playwright Run Summary
1 failed [api_tests] › admins.spec.ts:80:9 › admin api test › get admin logs @Pro ─────────────────────── 4 skipped 259 passed (57.1s)
🎭 Playwright Run Summary
4 failed [e2e_tests] › followStore.spec.ts:37:9 › Follow stores functionality test › customer can follow store on store listing @Pro [e2e_tests] › requestForQuoteRules.spec.ts:43:9 › Request for quotation Rules test › admin can restore quote rule @Pro [e2e_tests] › spmv.spec.ts:46:9 › Vendor SPMV test › admin can assign SPMV product to other vendor @Pro [e2e_tests] › vendorBooking.spec.ts:119:9 › Booking Product test › vendor can add booking for existing customer @Pro 12 flaky [e2e_tests] › coupons.spec.ts:71:9 › Coupons test › customer can apply coupon @Pro ───────────── [e2e_tests] › products.spec.ts:72:9 › Product functionality test › vendor can add variable product @Pro [e2e_tests] › products.spec.ts:178:9 › Product functionality test › vendor can permanently delete product @lite [e2e_tests] › reports.spec.ts:39:9 › Reports test › admin can search all logs @Pro ───────────── [e2e_tests] › requestForQuoteRules.spec.ts:52:9 › Request for quotation Rules test › admin can perform quote rule bulk actions @Pro [e2e_tests] › shop.spec.ts:42:9 › Shop functionality test › customer can filter products by location @Pro [e2e_tests] › storeCategories.spec.ts:50:9 › Store categories test › admin can set default store category @Pro [e2e_tests] › stores.spec.ts:57:9 › Stores test › admin can edit vendor info @lite ───────────── [e2e_tests] › stores.spec.ts:61:9 › Stores test › admin can view vendor products @lite ───────── [e2e_tests] › vendorSettings.spec.ts:75:9 › Vendor settings test › vendor can set vacation settings @Pro [e2e_tests] › vendorShipping.spec.ts:48:9 › Vendor shipping test › vendor can add dokan distance rate shipping @Pro [e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro 38 skipped 492 passed (40.0m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
94 MB