Litetests #283
e2e_api_tests.yml
on: pull_request
e2e_api tests
7m 46s
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#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_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.9s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.5s
|
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.2s)
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
7.97 MB |
|