Skip to content

Litetests

Litetests #289

Triggered via pull request February 28, 2024 04:15
Status Failure
Total duration 7m 46s
Artifacts 1

e2e_api_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 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#L739
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: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
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: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: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_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 17.4s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.1s
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 2.0m
Slow Test: tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 1.6m
🎭 Playwright Run Summary
23 skipped 137 passed (48.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 45 skipped 158 passed (4.1m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
7.9 MB