removed console log #23
Annotations
5 errors, 5 warnings, and 2 notices
[e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite:
tests/pw/pages/basePage.ts#L1331
1) [e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite
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:1331
1329 | // assert element to contain text
1330 | async toContainText(selector: string, text: string | RegExp) {
> 1331 | await expect(this.page.locator(selector)).toContainText(text);
| ^
1332 | }
1333 |
1334 | // assert element to have count
at CustomerPage.toContainText (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1331: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
|
[e2e_tests] › orders.spec.ts:74:9 › Order functionality test › vendor can add private order note @lite:
tests/pw/pages/basePage.ts#L250
2) [e2e_tests] › orders.spec.ts:74:9 › Order functionality test › vendor can add private order note @lite
TimeoutError: page.waitForResponse: Timeout 20000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:250
248 | // click & wait for response
249 | async clickAndAcceptAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 250 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.acceptAlert(), this.page.locator(selector).click()]);
| ^
251 | return response;
252 | }
253 |
at OrdersPage.clickAndAcceptAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:250:57)
at OrdersPage.addOrderNote (/home/runner/work/dokan/dokan/tests/pw/pages/ordersPage.ts:183:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/orders.spec.ts:75:9
|
[e2e_tests] › products.spec.ts:141:9 › Product functionality test › vendor can edit product @lite:
tests/pw/pages/basePage.ts#L238
3) [e2e_tests] › products.spec.ts:141:9 › Product functionality test › vendor can edit product @lite
TimeoutError: page.waitForResponse: Timeout 20000ms 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 ProductsPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:238:102)
at ProductsPage.goToProductEdit (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:455:20)
at ProductsPage.editProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:549:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:142:9
|
[e2e_tests] › reverseWithdraws.spec.ts:79:9 › Reverse withdraw test › vendor can pay reverse pay balance @lite:
tests/pw/pages/basePage.ts#L238
4) [e2e_tests] › reverseWithdraws.spec.ts:79:9 › Reverse withdraw test › vendor can pay reverse pay balance @lite
TimeoutError: page.waitForResponse: Timeout 20000ms 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 ReverseWithdrawsPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:238:102)
at ReverseWithdrawsPage.paymentOrder (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:365:20)
at ReverseWithdrawsPage.vendorPayReversePayBalance (/home/runner/work/dokan/dokan/tests/pw/pages/reverseWithdrawsPage.ts:149:25)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/reverseWithdraws.spec.ts:80:25
|
[e2e_tests] › vendor.spec.ts:33:9 › Vendor user functionality test › vendor can register (address fields are enabled) @lite:
tests/pw/pages/basePage.ts#L640
5) [e2e_tests] › vendor.spec.ts:33:9 › Vendor user functionality test › vendor can register (address fields are enabled) @lite
TimeoutError: page.fill: Timeout 20000ms exceeded.
Call log:
- waiting for locator('input#dokan_address\\[street_1\\]')
at ../../pages/basePage.ts:640
638 | // fill in input field
639 | async fill(selector: string, text: string): Promise<void> {
> 640 | await this.page.fill(selector, text);
| ^
641 | }
642 |
643 | // fill if visible
at VendorPage.fill (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:640:25)
at VendorPage.clearAndType (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:618:20)
at VendorPage.vendorRegister (/home/runner/work/dokan/dokan/tests/pw/pages/vendorPage.ts:76:24)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendor.spec.ts:35: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.1s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 17.9s
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 3.7m
|
Slow Test:
tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 2.3m
|
🎭 Playwright Run Summary
29 skipped
259 passed (1.8m)
|
🎭 Playwright Run Summary
5 flaky
[e2e_tests] › customer.spec.ts:62:9 › Customer functionality test › customer can add billing details @lite
[e2e_tests] › orders.spec.ts:74:9 › Order functionality test › vendor can add private order note @lite
[e2e_tests] › products.spec.ts:141:9 › Product functionality test › vendor can edit product @lite
[e2e_tests] › reverseWithdraws.spec.ts:79:9 › Reverse withdraw test › vendor can pay reverse pay balance @lite
[e2e_tests] › vendor.spec.ts:33:9 › Vendor user functionality test › vendor can register (address fields are enabled) @lite
19 skipped
181 passed (6.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
26.1 MB |
|