Skip to content

Enhancement/commission restructure #381

Enhancement/commission restructure

Enhancement/commission restructure #381

Triggered via pull request March 19, 2024 03:31
Status Failure
Total duration 7m 58s
Artifacts 1

e2e_api_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 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#L734
1) [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\\]') - locator resolved to <select class="regular medium" id="dokan_selling[commiss…>…</select> - selecting specified option(s) - did not find some options - waiting... at ../../pages/basePage.ts:734 732 | // select by value 733 | async selectByValue(selector: string, value: string): Promise<string[]> { > 734 | return await this.page.selectOption(selector, { value }); | ^ 735 | } 736 | 737 | // select by label at SettingsPage.selectByValue (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:734: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_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @a: tests/pw/pages/basePage.ts#L734
1) [e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @A Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('#dokan_selling\\[commission_type\\]') - locator resolved to <select class="regular medium" id="dokan_selling[commiss…>…</select> - selecting specified option(s) - did not find some options - waiting... at ../../pages/basePage.ts:734 732 | // select by value 733 | async selectByValue(selector: string, value: string): Promise<string[]> { > 734 | return await this.page.selectOption(selector, { value }); | ^ 735 | } 736 | 737 | // select by label at SettingsPage.selectByValue (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:734: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_tests] › stores.spec.ts:59:9 › Stores test › admin can edit vendor info @lite @a: tests/pw/pages/basePage.ts#L734
2) [e2e_tests] › stores.spec.ts:59:9 › Stores test › admin can edit vendor info @lite @A ───────── TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('#role') at ../../pages/basePage.ts:734 732 | // select by value 733 | async selectByValue(selector: string, value: string): Promise<string[]> { > 734 | return await this.page.selectOption(selector, { value }); | ^ 735 | } 736 | 737 | // select by label at StoresPage.selectByValue (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:734:32) at StoresPage.editVendor (/home/runner/work/dokan/dokan/tests/pw/pages/storesPage.ts:149:24) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/stores.spec.ts:60:9
[e2e_tests] › stores.spec.ts:59:9 › Stores test › admin can edit vendor info @lite @a: tests/pw/pages/basePage.ts#L734
2) [e2e_tests] › stores.spec.ts:59:9 › Stores test › admin can edit vendor info @lite @A ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('#role') at ../../pages/basePage.ts:734 732 | // select by value 733 | async selectByValue(selector: string, value: string): Promise<string[]> { > 734 | return await this.page.selectOption(selector, { value }); | ^ 735 | } 736 | 737 | // select by label at StoresPage.selectByValue (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:734:32) at StoresPage.editVendor (/home/runner/work/dokan/dokan/tests/pw/pages/storesPage.ts:149:24) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/stores.spec.ts:60:9
[e2e_tests] › tools.spec.ts:41:9 › Tools test › admin can set dokan setup wizard @lite @a: tests/pw/pages/basePage.ts#L734
3) [e2e_tests] › tools.spec.ts:41:9 › Tools test › admin can set dokan setup wizard @lite @A ───── TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('.commission_type.wc-enhanced-select') at ../../pages/basePage.ts:734 732 | // select by value 733 | async selectByValue(selector: string, value: string): Promise<string[]> { > 734 | return await this.page.selectOption(selector, { value }); | ^ 735 | } 736 | 737 | // select by label at ToolsPage.selectByValue (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:734:32) at ToolsPage.setDokanSetupWizard (/home/runner/work/dokan/dokan/tests/pw/pages/adminPage.ts:119:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/tools.spec.ts:42:9
[e2e_tests] › tools.spec.ts:41:9 › Tools test › admin can set dokan setup wizard @lite @a: tests/pw/pages/basePage.ts#L734
3) [e2e_tests] › tools.spec.ts:41:9 › Tools test › admin can set dokan setup wizard @lite @A ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.selectOption: Timeout 30000ms exceeded. Call log: - waiting for locator('.commission_type.wc-enhanced-select') at ../../pages/basePage.ts:734 732 | // select by value 733 | async selectByValue(selector: string, value: string): Promise<string[]> { > 734 | return await this.page.selectOption(selector, { value }); | ^ 735 | } 736 | 737 | // select by label at ToolsPage.selectByValue (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:734:32) at ToolsPage.setDokanSetupWizard (/home/runner/work/dokan/dokan/tests/pw/pages/adminPage.ts:119:20) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/tools.spec.ts:42: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.8s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.2s
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 1.8m
Slow Test: tests/pw/[e2e_tests] › stores.spec.ts#L1
tests/pw/[e2e_tests] › stores.spec.ts took 1.6m
🎭 Playwright Run Summary
26 skipped 137 passed (47.4s)
🎭 Playwright Run Summary
3 failed [e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @A [e2e_tests] › stores.spec.ts:59:9 › Stores test › admin can edit vendor info @lite @A ────────── [e2e_tests] › tools.spec.ts:41:9 › Tools test › admin can set dokan setup wizard @lite @A ────── 56 skipped 160 passed (4.5m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
17.6 MB