Skip to content

Litetests

Litetests #282

Triggered via pull request February 23, 2024 05:38
Status Failure
Total duration 7m 52s
Artifacts 1

e2e_api_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 4 warnings, and 2 notices
[e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @a: tests/pw/pages/basePage.ts#L737
1) [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:737 735 | // select by label 736 | async selectByLabel(selector: string, value: string): Promise<string[]> { > 737 | return await this.page.selectOption(selector, { label: value }); | ^ 738 | } 739 | 740 | // select by number at SettingsPage.selectByLabel (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:737: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#L737
1) [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:737 735 | // select by label 736 | async selectByLabel(selector: string, value: string): Promise<string[]> { > 737 | return await this.page.selectOption(selector, { label: value }); | ^ 738 | } 739 | 740 | // select by number at SettingsPage.selectByLabel (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:737: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:59:9 › Settings test › admin can set dokan privacy policy settings @lite @a: tests/pw/utils/dbUtils.ts#L61
2) [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
2) [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] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @a: tests/pw/pages/basePage.ts#L732
3) [e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @A TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('#dokan_selling\\[commission_type\\]') at ../../pages/basePage.ts:732 730 | // select by value 731 | async selectByValue(selector: string, value: string): Promise<string[]> { > 732 | return await this.page.selectOption(selector, { value }); | ^ 733 | } 734 | 735 | // select by label at SettingsPage.selectByValue (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:732:32) at SettingsPage.setDokanSellingSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:92:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:40: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 16.7s
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 2.1m
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 2.0m
🎭 Playwright Run Summary
23 skipped 137 passed (47.8s)
🎭 Playwright Run Summary
2 failed [e2e_tests] › settings.spec.ts:51:9 › Settings test › admin can set dokan page settings @lite @A [e2e_tests] › settings.spec.ts:59:9 › Settings test › admin can set dokan privacy policy settings @lite @A 1 flaky [e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @A 45 skipped 157 passed (4.2m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
14.8 MB