Merge branch 'testlite' into e2e-pw #35
Annotations
10 errors, 5 warnings, and 2 notices
[e2e_tests] › coupons.spec.ts:76:9 › Coupons test › customer can apply coupon @pro @c:
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
|
[e2e_tests] › coupons.spec.ts:76:9 › Coupons test › customer can apply coupon @pro @c:
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
|
[e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @pro @c:
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
|
[e2e_tests] › coupons.spec.ts:80:9 › Coupons test › customer can buy product with coupon @pro @c:
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
|
[e2e_tests] › customer.spec.ts:21:9 › Customer functionality test › customer can register @lite @c:
tests/pw/pages/customerPage.ts#L84
3) [e2e_tests] › customer.spec.ts:21:9 › Customer functionality test › customer can register @lite @c
Error: expect(received).toBe(expected) // Object.is equality
Expected: "domingoschmeler"
Received: undefined
at ../../pages/customerPage.ts:84
82 | }
83 | const loggedInUser = await this.getCurrentUser();
> 84 | expect(loggedInUser).toBe(username.toLowerCase());
| ^
85 | }
86 |
87 | // customer become vendor
at CustomerPage.customerRegister (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:84:30)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:23:9
|
[e2e_tests] › customer.spec.ts:21:9 › Customer functionality test › customer can register @lite @c:
tests/pw/pages/customerPage.ts#L84
3) [e2e_tests] › customer.spec.ts:21:9 › Customer functionality test › customer can register @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "gregsatterfield"
Received: undefined
at ../../pages/customerPage.ts:84
82 | }
83 | const loggedInUser = await this.getCurrentUser();
> 84 | expect(loggedInUser).toBe(username.toLowerCase());
| ^
85 | }
86 |
87 | // customer become vendor
at CustomerPage.customerRegister (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:84:30)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:23:9
|
[e2e_tests] › customer.spec.ts:31:9 › Customer functionality test › customer can logout @lite @c:
tests/pw/pages/loginPage.ts#L41
4) [e2e_tests] › customer.spec.ts:31:9 › Customer functionality test › customer can logout @lite @c
Error: expect(received).toBe(expected) // Object.is equality
Expected: "customer1"
Received: undefined
at ../../pages/loginPage.ts:41
39 | }
40 | const loggedInUser = await this.getCurrentUser();
> 41 | expect(loggedInUser).toBe(user.username);
| ^
42 | }
43 |
44 | // user loginBackend
at LoginPage.loginFronted (/home/runner/work/dokan/dokan/tests/pw/pages/loginPage.ts:41:30)
at LoginPage.login (/home/runner/work/dokan/dokan/tests/pw/pages/loginPage.ts:13:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:33:9
|
[e2e_tests] › customer.spec.ts:31:9 › Customer functionality test › customer can logout @lite @c:
tests/pw/pages/loginPage.ts#L41
4) [e2e_tests] › customer.spec.ts:31:9 › Customer functionality test › customer can logout @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "customer1"
Received: undefined
at ../../pages/loginPage.ts:41
39 | }
40 | const loggedInUser = await this.getCurrentUser();
> 41 | expect(loggedInUser).toBe(user.username);
| ^
42 | }
43 |
44 | // user loginBackend
at LoginPage.loginFronted (/home/runner/work/dokan/dokan/tests/pw/pages/loginPage.ts:41:30)
at LoginPage.login (/home/runner/work/dokan/dokan/tests/pw/pages/loginPage.ts:13:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:33:9
|
[e2e_tests] › customer.spec.ts:37:9 › Customer functionality test › customer can become a vendor @lite @c:
tests/pw/pages/customerPage.ts#L84
5) [e2e_tests] › customer.spec.ts:37:9 › Customer functionality test › customer can become a vendor @lite @c
Error: expect(received).toBe(expected) // Object.is equality
Expected: "wilsonschiller"
Received: undefined
at ../../pages/customerPage.ts:84
82 | }
83 | const loggedInUser = await this.getCurrentUser();
> 84 | expect(loggedInUser).toBe(username.toLowerCase());
| ^
85 | }
86 |
87 | // customer become vendor
at CustomerPage.customerRegister (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:84:30)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:39:9
|
[e2e_tests] › customer.spec.ts:37:9 › Customer functionality test › customer can become a vendor @lite @c:
tests/pw/pages/customerPage.ts#L84
5) [e2e_tests] › customer.spec.ts:37:9 › Customer functionality test › customer can become a vendor @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "randolphbarton"
Received: undefined
at ../../pages/customerPage.ts:84
82 | }
83 | const loggedInUser = await this.getCurrentUser();
> 84 | expect(loggedInUser).toBe(username.toLowerCase());
| ^
85 | }
86 |
87 | // customer become vendor
at CustomerPage.customerRegister (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:84:30)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:39: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.2s
|
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] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 5.9m
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 4.6m
|
🎭 Playwright Run Summary
28 skipped
260 passed (1.8m)
|
🎭 Playwright Run Summary
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:21:9 › Customer functionality test › customer can register @lite @c
[e2e_tests] › customer.spec.ts:31:9 › Customer functionality test › customer can logout @lite @c
[e2e_tests] › customer.spec.ts:37:9 › Customer functionality test › customer can become a vendor @lite @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] › emailVerification.spec.ts:25:9 › Email verifications test › user can see registration notice (2-step auth) while registering as customer @Pro @g
[e2e_tests] › emailVerification.spec.ts:29:9 › Email verifications test › user can see registration notice (2-step auth) while loggingIn @Pro @g
[e2e_tests] › myOrders.spec.ts:46:9 › My orders functionality test › customer can cancel order @lite @c
[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
3 interrupted
[e2e_tests] › products.spec.ts:95:9 › Product functionality test › vendor can add virtual product @lite @v
[e2e_tests] › shop.spec.ts:45:9 › Shop functionality test › customer can go to product details from shop @lite @c
[e2e_tests] › singleStore.spec.ts:43:9 › Single store functionality test › customer can share store @Pro @c
9 flaky
[e2e_tests] › announcements.spec.ts:45:9 › Announcements test (admin) › admin can trash announcement @Pro @A
[e2e_tests] › coupons.spec.ts:43:9 › Coupons test › admin can add marketplace coupon @Pro @A ───
[e2e_tests] › customer.spec.ts:26:9 › Customer functionality test › customer can login @lite @c
[e2e_tests] › productAdvertising.spec.ts:74:9 › Product Advertising test › vendor can buy product advertising @Pro @v
[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] › shop.spec.ts:37:9 › Shop functionality test › customer can filter products by location @Pro @c
105 skipped
275 did not run
217 passed (10.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
115 MB |
|