E2E_API Tests #272
Annotations
10 errors, 5 warnings, and 2 notices
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
1) [e2e_tests] βΊ customer.spec.ts:62:9 βΊ Customer functionality test βΊ customer can add billing details @lite
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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:63:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
1) [e2e_tests] βΊ customer.spec.ts:62:9 βΊ Customer functionality test βΊ customer can add billing details @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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:63:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
2) [e2e_tests] βΊ customer.spec.ts:66:9 βΊ Customer functionality test βΊ customer can add shipping details @lite
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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:67:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
2) [e2e_tests] βΊ customer.spec.ts:66:9 βΊ Customer functionality test βΊ customer can add shipping details @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
Expected string: "Address changed successfully."
Received string: ""
Call log:
- expect.toContainText with timeout 15000ms
- waiting for locator('.woocommerce .is-success')
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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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:67:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
3) [e2e_tests] βΊ customer.spec.ts:70:9 βΊ Customer functionality test βΊ customer can add customer details @lite
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
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: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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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:71:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
3) [e2e_tests] βΊ customer.spec.ts:70:9 βΊ Customer functionality test βΊ customer can add customer details @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
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: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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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:71:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
4) [e2e_tests] βΊ customer.spec.ts:74:9 βΊ Customer functionality test βΊ customer can add product to cart @lite
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
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: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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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 /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:76:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
4) [e2e_tests] βΊ customer.spec.ts:74:9 βΊ Customer functionality test βΊ customer can add product to cart @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
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: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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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 /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:76:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
5) [e2e_tests] βΊ customer.spec.ts:80:9 βΊ Customer functionality test βΊ customer can buy product @lite
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
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: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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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 /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:81:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1330
5) [e2e_tests] βΊ customer.spec.ts:80:9 βΊ Customer functionality test βΊ customer can buy product @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Timed out 15000ms waiting for expect(received).toContainText(expected)
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: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 CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1330: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 /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:81: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 6.2s
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ stores.spec.ts#L1
tests/pw/[api_tests] βΊ stores.spec.ts took 3.4s
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ customer.spec.ts#L1
tests/pw/[e2e_tests] βΊ customer.spec.ts took 4.0m
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ withdraws.spec.ts#L1
tests/pw/[e2e_tests] βΊ withdraws.spec.ts took 3.7m
|
π§ͺ Running the api tests
127 passed (19.3s)
|
π§ͺ Running the e2e tests
18 failed
[e2e_tests] βΊ customer.spec.ts:62:9 βΊ Customer functionality test βΊ customer can add billing details @lite
[e2e_tests] βΊ customer.spec.ts:66:9 βΊ Customer functionality test βΊ customer can add shipping details @lite
[e2e_tests] βΊ customer.spec.ts:70:9 βΊ Customer functionality test βΊ customer can add customer details @lite
[e2e_tests] βΊ customer.spec.ts:74:9 βΊ Customer functionality test βΊ customer can add product to cart @lite
[e2e_tests] βΊ customer.spec.ts:80:9 βΊ Customer functionality test βΊ customer can buy product @lite
[e2e_tests] βΊ customer.spec.ts:85:9 βΊ Customer functionality test βΊ customer can buy multi vendor products @lite
[e2e_tests] βΊ myOrders.spec.ts:45:9 βΊ My orders functionality test βΊ customer can cancel order @lite
[e2e_tests] βΊ vendor.spec.ts:65:9 βΊ Vendor functionality test βΊ vendor update account details @lite
[e2e_tests] βΊ withdraws.spec.ts:41:9 βΊ Withdraw test βΊ admin can filter withdraws by vendor @lite
[e2e_tests] βΊ withdraws.spec.ts:45:9 βΊ Withdraw test βΊ admin can filter withdraws by payment methods @lite
[e2e_tests] βΊ withdraws.spec.ts:53:9 βΊ Withdraw test βΊ admin can add note to withdraw request @lite
[e2e_tests] βΊ withdraws.spec.ts:57:9 βΊ Withdraw test βΊ admin can approve withdraw request @lite
[e2e_tests] βΊ withdraws.spec.ts:61:9 βΊ Withdraw test βΊ admin can cancel withdraw request @lite β
[e2e_tests] βΊ withdraws.spec.ts:66:9 βΊ Withdraw test βΊ admin can delete withdraw request @lite β
[e2e_tests] βΊ withdraws.spec.ts:71:9 βΊ Withdraw test βΊ admin can perform withdraw bulk actions @lite
[e2e_tests] βΊ withdraws.spec.ts:91:9 βΊ Withdraw test βΊ vendor can't request withdraw when pending request exits @lite
[e2e_tests] βΊ withdraws.spec.ts:96:9 βΊ Withdraw test βΊ vendor can cancel request withdraw @lite
[e2e_tests] βΊ withdraws.spec.ts:105:9 βΊ Withdraw test βΊ vendor can add default withdraw payment methods @lite
34 skipped
141 passed (6.9m)
|
The logs for this run have expired and are no longer available.
Loading