tests/add api json validation #2
Annotations
4 errors, 6 warnings, and 2 notices
|
|
tests/pw/pages/basePage.ts#L1320
1) [e2e_tests] › myOrders.spec.ts:30:9 › My orders functionality test › customer can view order details @lite
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.woocommerce-order-details')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.woocommerce-order-details')
at ../../pages/basePage.ts:1320
1318 | // assert element to be visible
1319 | async toBeVisible(selector: string) {
> 1320 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1321 | }
1322 |
1323 | // assert element to contain text
at MyOrdersPage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1320:51)
at MyOrdersPage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1295:24)
at MyOrdersPage.viewOrderDetails (/home/runner/work/dokan/dokan/tests/pw/pages/myOrdersPage.ts:42:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/myOrders.spec.ts:32:9
|
tests/pw/pages/basePage.ts#L876
2) [e2e_tests] › vendorSettings.spec.ts:79:9 › Vendor settings test › vendor can set catalog settings @lite
Error: locator.check: Clicking the checkbox did not change its state
=========================== logs ===========================
waiting for locator('input#catalog_mode_hide_add_to_cart_button')
locator resolved to <input value="on" type="checkbox" id="catalog_mode_hide…/>
attempting click action
waiting for element to be visible, enabled and stable
forcing action
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
click action done
waiting for scheduled navigations to finish
navigations have finished
============================================================
at ../../pages/basePage.ts:876
874 | async checkLocator(selector: string): Promise<void> {
875 | const locator = this.page.locator(selector);
> 876 | await locator.check({ force: true }); // forced is used to avoid "locator.check: Clicking the checkbox did not change its state" error
| ^
877 | }
878 |
879 | // click locator
at VendorSettingsPage.checkLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:876:23)
at VendorSettingsPage.check (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:677:20)
at VendorSettingsPage.catalogModeSettings (/home/runner/work/dokan/dokan/tests/pw/pages/vendorSettingsPage.ts:346:24)
at VendorSettingsPage.setStoreSettings (/home/runner/work/dokan/dokan/tests/pw/pages/vendorSettingsPage.ts:197:17)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendorSettings.spec.ts:81:9
|
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 10.3s
|
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 5.7s
|
tests/pw/[api_tests] › orders.spec.ts#L1
tests/pw/[api_tests] › orders.spec.ts took 5.4s
|
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 49.2s
|
tests/pw/[e2e_tests] › myOrders.spec.ts#L1
tests/pw/[e2e_tests] › myOrders.spec.ts took 28.3s
|
tests/pw/[e2e_tests] › orders.spec.ts#L1
tests/pw/[e2e_tests] › orders.spec.ts took 26.5s
|
|
|
The logs for this run have expired and are no longer available.
Loading