Merge branch 'testlite' into e2e-pw #38
Annotations
13 errors, 5 warnings, and 2 notices
🧪 Running the api tests:
tests/pw/tests/api/announcements.spec.ts#L35
1) [api_tests] › announcements.spec.ts:30:9 › announcements api test › get all announcements @Pro
Error: Result does not match schema: Invalid date
Details: {
"issues": [
{
"code": "invalid_date",
"path": [
6,
"date_gmt"
],
"message": "Invalid date"
}
],
"name": "ZodError"
}
33 | expect(responseBody).toBeTruthy();
34 | console.log(responseBody);
> 35 | expect(responseBody).toMatchSchema(schemas.announcementsSchema.announcementsSchema);
| ^
36 | });
37 |
38 | test('get single announcement @Pro', async () => {
at /home/runner/work/dokan/dokan/tests/pw/tests/api/announcements.spec.ts:35:30
|
🧪 Running the api tests:
tests/pw/tests/api/announcements.spec.ts#L35
1) [api_tests] › announcements.spec.ts:30:9 › announcements api test › get all announcements @Pro
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Result does not match schema: Invalid date
Details: {
"issues": [
{
"code": "invalid_date",
"path": [
7,
"date_gmt"
],
"message": "Invalid date"
}
],
"name": "ZodError"
}
33 | expect(responseBody).toBeTruthy();
34 | console.log(responseBody);
> 35 | expect(responseBody).toMatchSchema(schemas.announcementsSchema.announcementsSchema);
| ^
36 | });
37 |
38 | test('get single announcement @Pro', async () => {
at /home/runner/work/dokan/dokan/tests/pw/tests/api/announcements.spec.ts:35:30
|
🧪 Running the api tests
Process completed with exit code 1.
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
1) [e2e_tests] › coupons.spec.ts:76:9 › Coupons test › customer can apply coupon @Pro @c ─────────
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "“p1_v1 (simple)” has been added to your cart."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333:51)
at CustomerPage.addProductToCartFromSingleProductPage (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:222:24)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:237:17)
at CouponsPage.applyCoupon (/home/runner/work/dokan/dokan/tests/pw/pages/couponsPage.ts:106:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/coupons.spec.ts:77:9
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
1) [e2e_tests] › coupons.spec.ts:76:9 › Coupons test › customer can apply coupon @Pro @c ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "“p1_v1 (simple)” has been added to your cart."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333:51)
at CustomerPage.addProductToCartFromSingleProductPage (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:222:24)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:237:17)
at CouponsPage.applyCoupon (/home/runner/work/dokan/dokan/tests/pw/pages/couponsPage.ts:106:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/coupons.spec.ts:77:9
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
2) [e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @Pro @c
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "“p1_v1 (simple)” has been added to your cart."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333:51)
at CustomerPage.addProductToCartFromSingleProductPage (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:222:24)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:237:17)
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
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
2) [e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @Pro @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "“p1_v1 (simple)” has been added to your cart."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333:51)
at CustomerPage.addProductToCartFromSingleProductPage (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:222:24)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:237:17)
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
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
3) [e2e_tests] › customer.spec.ts:43:9 › Customer functionality test › customer can add billing details @lite @c
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333: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:44:9
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
3) [e2e_tests] › customer.spec.ts:43:9 › Customer functionality test › customer can add billing details @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333: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:44:9
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
4) [e2e_tests] › customer.spec.ts:47:9 › Customer functionality test › customer can add shipping details @lite @c
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333: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:48:9
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
4) [e2e_tests] › customer.spec.ts:47:9 › Customer functionality test › customer can add shipping details @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333: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:48:9
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
5) [e2e_tests] › customer.spec.ts:51:9 › Customer functionality test › customer can add customer details @lite @c
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "Account details changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333: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:52:9
|
🧪 Running the e2e tests:
tests/pw/pages/basePage.ts#L1333
5) [e2e_tests] › customer.spec.ts:51:9 › Customer functionality test › customer can add customer details @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.woocommerce .is-success')
Expected string: "Account details changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
at ../../pages/basePage.ts:1333
1331 | // assert element to contain text
1332 | async toContainText(selector: string, text: string | RegExp) {
> 1333 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1334 | }
1335 |
1336 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1333: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:52:9
|
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/.
|
🧪 Running the api tests:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 27.2s
|
🧪 Running the api tests:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 18.2s
|
🧪 Running the e2e tests:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 6.7m
|
🧪 Running the e2e tests:
tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 5.7m
|
🧪 Running the api tests
1 failed
[api_tests] › announcements.spec.ts:30:9 › announcements api test › get all announcements @Pro ─
28 skipped
259 passed (1.9m)
|
🧪 Running the e2e tests
16 failed
[e2e_tests] › coupons.spec.ts:76:9 › Coupons test › customer can apply coupon @Pro @c ──────────
[e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @Pro @c
[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] › customer.spec.ts:51:9 › Customer functionality test › customer can add customer details @lite @c
[e2e_tests] › customer.spec.ts:55:9 › Customer functionality test › customer can add product to cart @lite @c
[e2e_tests] › customer.spec.ts:61:9 › Customer functionality test › customer can buy product @lite @c
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can buy multi-vendor products @lite @c
[e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c
[e2e_tests] › productAdvertising.spec.ts:74:9 › Product Advertising test › vendor can buy product advertising @Pro @v
[e2e_tests] › requestForQuotes.spec.ts:108:9 › Request for quotation test vendor › vendor can update quote request @Pro @v
[e2e_tests] › requestForQuotes.spec.ts:112:9 › Request for quotation test vendor › vendor can approve quote request @Pro @v
[e2e_tests] › requestForQuotes.spec.ts:117:9 › Request for quotation test vendor › vendor can convert quote request to order @Pro @v
[e2e_tests] › requestForQuotes.spec.ts:163:9 › Request for quotation test customer › customer can update quote request @Pro @c
[e2e_tests] › spmv.spec.ts:108:9 › Vendor SPMV test › customer can add to cart other available vendor product @Pro @c
[e2e_tests] › vendor.spec.ts:53:9 › Vendor functionality test › vendor update account details @lite @v
3 interrupted
[e2e_tests] › storeSupports.spec.ts:216:9 › Store Support test (vendor) › vendor can close support ticket @Pro @v
[e2e_tests] › vendorAuction.spec.ts:44:9 › Auction Product test › vendor auction menu page is rendering properly @Pro @exp @v
[e2e_tests] › vendorBooking.spec.ts:39:9 › Booking Product test › admin can add booking product @Pro @A
8 flaky
[e2e_tests] › announcements.spec.ts:45:9 › Announcements test (admin) › admin can trash announcement @Pro @A
[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] › refunds.spec.ts:61:9 › Refunds test › admin can perform refund requests bulk actions @Pro @A
[e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs @Pro @A ──────────
[e2e_tests] › requestForQuotes.spec.ts:55:9 › Request for quotation test admin › admin can permanently delete quote @Pro @A
[e2e_tests] › stores.spec.ts:41:9 › Stores test › admin can add vendor @lite @A ────────────────
[e2e_tests] › stores.spec.ts:63:9 › Stores test › admin can view vendor products @lite @A ──────
121 skipped
135 did not run
342 passed (14.6m)
|
The logs for this run have expired and are no longer available.
Loading