Skip to content

Litetests

Litetests #291

Triggered via pull request February 28, 2024 05:11
Status Failure
Total duration 10m 4s
Artifacts 1

e2e_api_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 2 notices
[e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @a: tests/pw/pages/basePage.ts#L892
1) [e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @A TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('//label[@for=\'dokan_selling[tax_fee_recipient][seller]\']') at ../../pages/basePage.ts:892 890 | async clickLocator(selector: string): Promise<void> { 891 | const locator = this.page.locator(selector); > 892 | await locator.click(); | ^ 893 | } 894 | 895 | // get locator count at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:892:23) at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:172:20) at SettingsPage.setDokanSellingSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:95:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:40:9
[e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @a: tests/pw/pages/basePage.ts#L892
1) [e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @A Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('//label[@for=\'dokan_selling[tax_fee_recipient][seller]\']') at ../../pages/basePage.ts:892 890 | async clickLocator(selector: string): Promise<void> { 891 | const locator = this.page.locator(selector); > 892 | await locator.click(); | ^ 893 | } 894 | 895 | // get locator count at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:892:23) at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:172:20) at SettingsPage.setDokanSellingSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:95:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:40:9
[e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @a: tests/pw/pages/basePage.ts#L739
2) [e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @A TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('#dokan_pages\\[reg_tc_page\\]') - locator resolved to <select class="regular medium" id="dokan_pages[reg_tc_pa…>…</select> - selecting specified option(s) - did not find some options - waiting... at ../../pages/basePage.ts:739 737 | // select by label 738 | async selectByLabel(selector: string, value: string): Promise<string[]> { > 739 | return await this.page.selectOption(selector, { label: value }); | ^ 740 | } 741 | 742 | // select by number at SettingsPage.selectByLabel (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:739:32) at SettingsPage.setPageSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:215:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:52:9
[e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @a: tests/pw/pages/basePage.ts#L739
2) [e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @A Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('#dokan_pages\\[reg_tc_page\\]') - locator resolved to <select class="regular medium" id="dokan_pages[reg_tc_pa…>…</select> - selecting specified option(s) - did not find some options - waiting... at ../../pages/basePage.ts:739 737 | // select by label 738 | async selectByLabel(selector: string, value: string): Promise<string[]> { > 739 | return await this.page.selectOption(selector, { label: value }); | ^ 740 | } 741 | 742 | // select by number at SettingsPage.selectByLabel (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:739:32) at SettingsPage.setPageSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:215:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:52:9
[e2e_tests] › settings.spec.ts:55:9 › Settings test › admin can set dokan appearance settings @lite @a: tests/pw/pages/basePage.ts#L892
3) [e2e_tests] › settings.spec.ts:55:9 › Settings test › admin can set dokan appearance settings @lite @A TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('//div[@Class="map_api_source dokan-settings-field-type-radio"] //label[@for="dokan_appearance[map_api_source][google_maps]"]') at ../../pages/basePage.ts:892 890 | async clickLocator(selector: string): Promise<void> { 891 | const locator = this.page.locator(selector); > 892 | await locator.click(); | ^ 893 | } 894 | 895 | // get locator count at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:892:23) at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:172:20) at SettingsPage.setDokanAppearanceSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:229:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:56:9
[e2e_tests] › settings.spec.ts:55:9 › Settings test › admin can set dokan appearance settings @lite @a: tests/pw/pages/basePage.ts#L892
3) [e2e_tests] › settings.spec.ts:55:9 › Settings test › admin can set dokan appearance settings @lite @A Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for locator('//div[@Class="map_api_source dokan-settings-field-type-radio"] //label[@for="dokan_appearance[map_api_source][google_maps]"]') at ../../pages/basePage.ts:892 890 | async clickLocator(selector: string): Promise<void> { 891 | const locator = this.page.locator(selector); > 892 | await locator.click(); | ^ 893 | } 894 | 895 | // get locator count at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:892:23) at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:172:20) at SettingsPage.setDokanAppearanceSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:229:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:56:9
[e2e_tests] › settings.spec.ts:59:9 › Settings test › admin can set dokan privacy policy settings @lite @a: tests/pw/utils/dbUtils.ts#L61
4) [e2e_tests] › settings.spec.ts:59:9 › Settings test › admin can set dokan privacy policy settings @lite @A TypeError: Cannot read properties of undefined (reading 'option_value') at ../../utils/dbUtils.ts:61 59 | // console.log(res[0].option_value); 60 | // console.log(unserialize(res[0].option_value)); > 61 | return unserialize(res[0].option_value); | ^ 62 | }, 63 | 64 | // set dokan settings at Object.getDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:61:35) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:60:39
[e2e_tests] › settings.spec.ts:59:9 › Settings test › admin can set dokan privacy policy settings @lite @a: tests/pw/utils/dbUtils.ts#L61
4) [e2e_tests] › settings.spec.ts:59:9 › Settings test › admin can set dokan privacy policy settings @lite @A Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'option_value') at ../../utils/dbUtils.ts:61 59 | // console.log(res[0].option_value); 60 | // console.log(unserialize(res[0].option_value)); > 61 | return unserialize(res[0].option_value); | ^ 62 | }, 63 | 64 | // set dokan settings at Object.getDokanSettings (/home/runner/work/dokan/dokan/tests/pw/utils/dbUtils.ts:61:35) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:60:39
[e2e_tests] › singleStore.spec.ts:21:9 › Single store functionality test › dokan single store page is rendering properly @lite @exp @c: tests/pw/pages/basePage.ts#L1340
5) [e2e_tests] › singleStore.spec.ts:21:9 › Single store functionality test › dokan single store page is rendering properly @lite @exp @c Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.fa-twitter-square') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('.fa-twitter-square') at ../../pages/basePage.ts:1340 1338 | // assert element to be visible 1339 | async toBeVisible(selector: string) { > 1340 | await expect(this.page.locator(selector)).toBeVisible(); | ^ 1341 | } 1342 | 1343 | // assert checkbox to be checked at SingleStorePage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1340:51) at SingleStorePage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1314:24) at SingleStorePage.singleStoreRenderProperly (/home/runner/work/dokan/dokan/tests/pw/pages/singleStorePage.ts:53:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/singleStore.spec.ts:22:9
[e2e_tests] › singleStore.spec.ts:21:9 › Single store functionality test › dokan single store page is rendering properly @lite @exp @c: tests/pw/pages/basePage.ts#L1340
5) [e2e_tests] › singleStore.spec.ts:21:9 › Single store functionality test › dokan single store page is rendering properly @lite @exp @c Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.fa-twitter-square') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('.fa-twitter-square') at ../../pages/basePage.ts:1340 1338 | // assert element to be visible 1339 | async toBeVisible(selector: string) { > 1340 | await expect(this.page.locator(selector)).toBeVisible(); | ^ 1341 | } 1342 | 1343 | // assert checkbox to be checked at SingleStorePage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1340:51) at SingleStorePage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1314:24) at SingleStorePage.singleStoreRenderProperly (/home/runner/work/dokan/dokan/tests/pw/pages/singleStorePage.ts:53:9) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/singleStore.spec.ts:22:9
Slow Test: tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 17.3s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.4s
Slow Test: tests/pw/[e2e_tests] › settings.spec.ts#L1
tests/pw/[e2e_tests] › settings.spec.ts took 3.6m
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 1.9m
🎭 Playwright Run Summary
23 skipped 137 passed (50.1s)
🎭 Playwright Run Summary
5 failed [e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @A [e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @A [e2e_tests] › settings.spec.ts:55:9 › Settings test › admin can set dokan appearance settings @lite @A [e2e_tests] › settings.spec.ts:59:9 › Settings test › admin can set dokan privacy policy settings @lite @A [e2e_tests] › singleStore.spec.ts:21:9 › Single store functionality test › dokan single store page is rendering properly @lite @exp @c 45 skipped 155 passed (6.0m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
31.8 MB