Skip to content

E2E_API Tests

E2E_API Tests #54

Triggered via schedule December 4, 2023 02:16
Status Failure
Total duration 7m 33s
Artifacts 1

e2e_api_tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 6 warnings, and 2 notices
[e2e_tests] › vendor.spec.ts:26:9 › Vendor user functionality test1 › vendor can register @lite: tests/pw/pages/basePage.ts#L876
1) [e2e_tests] › vendor.spec.ts:26:9 › Vendor user functionality test1 › vendor can register @lite Error: locator.check: Clicking the checkbox did not change its state =========================== logs =========================== waiting for locator('#tc_agree') locator resolved to <input id="tc_agree" type="checkbox" name="tc_agree" re…/> 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 VendorPage.checkLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:876:23) at VendorPage.check (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:677:20) at VendorPage.checkIfVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:695:24) at VendorPage.vendorRegister (/home/runner/work/dokan/dokan/tests/pw/pages/vendorPage.ts:83:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendor.spec.ts:27:9
[e2e_tests] › vendor.spec.ts:26:9 › Vendor user functionality test1 › vendor can register @lite: tests/pw/pages/basePage.ts#L876
1) [e2e_tests] › vendor.spec.ts:26:9 › Vendor user functionality test1 › vendor can register @lite Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.check: Clicking the checkbox did not change its state =========================== logs =========================== waiting for locator('#tc_agree') locator resolved to <input id="tc_agree" type="checkbox" name="tc_agree" re…/> 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 VendorPage.checkLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:876:23) at VendorPage.check (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:677:20) at VendorPage.checkIfVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:695:24) at VendorPage.vendorRegister (/home/runner/work/dokan/dokan/tests/pw/pages/vendorPage.ts:83:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendor.spec.ts:27:9
e2e_api tests
Process completed with exit code 1.
Slow Test: tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 6.0s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 3.4s
Slow Test: tests/pw/[api_tests] › orders.spec.ts#L1
tests/pw/[api_tests] › orders.spec.ts took 3.2s
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 33.9s
Slow Test: tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 23.7s
Slow Test: tests/pw/[e2e_tests] › orders.spec.ts#L1
tests/pw/[e2e_tests] › orders.spec.ts took 20.9s
🎭 Playwright Run Summary
2 skipped 132 passed (19.1s)
🎭 Playwright Run Summary
1 failed [e2e_tests] › vendor.spec.ts:26:9 › Vendor user functionality test1 › vendor can register @lite 1 skipped 157 passed (3.9m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
4.47 MB