Skip to content

Merge branch 'litetests' into e2e-pw #90

Merge branch 'litetests' into e2e-pw

Merge branch 'litetests' into e2e-pw #90

Triggered via push April 21, 2024 18:34
Status Success
Total duration 13m 31s
Artifacts 1

all-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 5 warnings, and 2 notices
[e2e_tests] › menuManager.spec.ts:49:9 › Menu Manager test › admin can redorder menu: tests/pw/pages/menuManagerPage.ts#L112
1) [e2e_tests] › menuManager.spec.ts:49:9 › Menu Manager test › admin can redorder menu ────────── Error: expect(received).toEqual(expected) // deep equality Expected: 1 Received: 2 at ../../pages/menuManagerPage.ts:112 110 | const newTargetIndex = await this.getLocatorIndex(settingsAdmin.menuManager.menuParent, settingsAdmin.menuManager.menuGrabber(target)); 111 | > 112 | expect(newSourceIndex).toEqual(initialTargetIndex); | ^ 113 | expect(newTargetIndex).toEqual(initialSourceIndex); 114 | 115 | await this.goto(data.subUrls.frontend.vDashboard.dashboard); at MenuManagerPage.reorderMenu (/home/runner/work/dokan/dokan/tests/pw/pages/menuManagerPage.ts:112:32) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/menuManager.spec.ts:50:9
[e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs: tests/pw/pages/reportsPage.ts#L72
2) [e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs ───────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 13 at ../../pages/reportsPage.ts:72 70 | await this.toBeVisible(reportsAdmin.allLogs.orderIdCell(orderId)); 71 | const count = (await this.getElementText(reportsAdmin.allLogs.numberOfRowsFound))?.split(' ')[0]; > 72 | expect(Number(count)).toBe(1); | ^ 73 | // await this.clickAndWaitForResponseAndLoadState(data.subUrls.api.dokan.logs, reportsAdmin.allLogs.filters.clear); 74 | } 75 | at ReportsPage.searchAllLogs (/home/runner/work/dokan/dokan/tests/pw/pages/reportsPage.ts:72:31) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/reports.spec.ts:42:9
[e2e_tests] › sellerBadges.spec.ts:54:9 › Seller badge test › admin can edit seller badge: tests/pw/pages/basePage.ts#L234
3) [e2e_tests] › sellerBadges.spec.ts:54:9 › Seller badge test › admin can edit seller badge ───── TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('//a[contains(text(),\'Products Published\')]/../..//div[@Class="row-actions"]//span[@Class="edit"]//a') - locator resolved to <a data-v-27e863e7="" href="?page=dokan#/dokan-sell…>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 viewp
[e2e_tests] › sellerBadges.spec.ts:72:9 › Seller badge test › admin can update seller badge status: tests/pw/pages/basePage.ts#L892
4) [e2e_tests] › sellerBadges.spec.ts:72:9 › Seller badge test › admin can update seller badge status TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('//a[contains(text(),\'Exclusive to Platform\')]/../..//div[@Class="row-actions"]//span[@Class="draft"]//a') - locator resolved to <a href="#" data-v-27e863e7="">Set Badge As Draft</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 viewp
[e2e_tests] › storeCategories.spec.ts:51:9 › Store categories test › admin can set default store category: tests/pw/pages/basePage.ts#L234
5) [e2e_tests] › storeCategories.spec.ts:51:9 › Store categories test › admin can set default store category TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('//td//a[contains(text(), \'Test_Store_CategoryL5RXixV8n8\')]/../..//span[@Class=\'set_as_default\']//a') - locator resolved to <a href="#make-default">Set as default</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
[e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request: tests/pw/pages/basePage.ts#L892
6) [e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('#dokan_v_id_click') - locator resolved to <button id="dokan_v_id_click" class="dokan-btn dokan-btn…>Start Verification</button> - attempting click action - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt
e2e_api tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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 10.7s
Slow Test: tests/pw/[api_setup] › _env.setup.ts#L1
tests/pw/[api_setup] › _env.setup.ts took 6.8s
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 2.8m
Slow Test: tests/pw/[e2e_tests] › storeSupports.spec.ts#L1
tests/pw/[e2e_tests] › storeSupports.spec.ts took 1.6m
🎭 Playwright Run Summary
28 skipped 290 passed (53.6s)
🎭 Playwright Run Summary
6 flaky [e2e_tests] › menuManager.spec.ts:49:9 › Menu Manager test › admin can redorder menu ─────────── [e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs ────────────────── [e2e_tests] › sellerBadges.spec.ts:54:9 › Seller badge test › admin can edit seller badge ────── [e2e_tests] › sellerBadges.spec.ts:72:9 › Seller badge test › admin can update seller badge status [e2e_tests] › storeCategories.spec.ts:51:9 › Store categories test › admin can set default store category [e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request 135 skipped 500 passed (8.3m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
40.5 MB