Skip to content

E2E_API Tests

E2E_API Tests #170

Triggered via schedule January 22, 2024 02:18
Status Success
Total duration 5m 44s
Artifacts 1

e2e_api_tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 4 warnings, and 2 notices
[e2e_tests] › stores.spec.ts:57:9 › Stores test › admin can edit vendor info @lite: tests/pw/pages/basePage.ts#L205
1) [e2e_tests] › stores.spec.ts:57:9 › Stores test › admin can edit vendor info @lite ──────────── TimeoutError: locator.click: Timeout 20000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//td//a[contains(text(), \'vendor1store\')]/../..//span[@Class="edit"]//a') locator resolved to <a href="http://localhost:9999/wp-admin/user-edit.p…>Edit</a> attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #1 waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #2 waiting 20ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #3 waiting 100ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #4 waiting 100ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #5 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #6 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #7 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #8 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #9 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #10 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #11 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #12 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #13 waiting 500ms waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport retrying click action, attempt #14 waiting 500ms wait
[e2e_tests] › vendorSettings.spec.ts:79:9 › Vendor settings test › vendor can set catalog settings @lite: 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_product_price') 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:347: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
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/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 1.3m
Slow Test: tests/pw/[e2e_tests] › stores.spec.ts#L1
tests/pw/[e2e_tests] › stores.spec.ts took 51.5s
🎭 Playwright Run Summary
127 passed (19.0s)
🎭 Playwright Run Summary
2 flaky [e2e_tests] › stores.spec.ts:57:9 › Stores test › admin can edit vendor info @lite ───────────── [e2e_tests] › vendorSettings.spec.ts:79:9 › Vendor settings test › vendor can set catalog settings @lite 34 skipped 157 passed (2.3m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
17.1 MB