E2E_API Tests #305
Annotations
7 errors, 4 warnings, and 2 notices
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L896
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:896
894 | async clickLocator(selector: string): Promise<void> {
895 | const locator = this.page.locator(selector);
> 896 | await locator.click();
| ^
897 | }
898 |
899 | // get locator count
at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:896:23)
at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170: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
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L896
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:896
894 | async clickLocator(selector: string): Promise<void> {
895 | const locator = this.page.locator(selector);
> 896 | await locator.click();
| ^
897 | }
898 |
899 | // get locator count
at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:896:23)
at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170: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
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L896
2) [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:896
894 | async clickLocator(selector: string): Promise<void> {
895 | const locator = this.page.locator(selector);
> 896 | await locator.click();
| ^
897 | }
898 |
899 | // get locator count
at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:896:23)
at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170: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
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L896
2) [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:896
894 | async clickLocator(selector: string): Promise<void> {
895 | const locator = this.page.locator(selector);
> 896 | await locator.click();
| ^
897 | }
898 |
899 | // get locator count
at SettingsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:896:23)
at SettingsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170: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
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
3) [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:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at SingleStorePage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334:51)
at SingleStorePage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1308: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
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L1334
3) [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:1334
1332 | // assert element to be visible
1333 | async toBeVisible(selector: string) {
> 1334 | await expect(this.page.locator(selector)).toBeVisible();
| ^
1335 | }
1336 |
1337 | // assert checkbox to be checked
at SingleStorePage.toBeVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1334:51)
at SingleStorePage.multipleElementVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1308: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
|
π§ͺ Running the e2e tests
Process completed with exit code 1.
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ products.spec.ts#L1
tests/pw/[api_tests] βΊ products.spec.ts took 16.4s
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ stores.spec.ts#L1
tests/pw/[api_tests] βΊ stores.spec.ts took 9.0s
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ settings.spec.ts#L1
tests/pw/[e2e_tests] βΊ settings.spec.ts took 2.6m
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ products.spec.ts#L1
tests/pw/[e2e_tests] βΊ products.spec.ts took 1.8m
|
π§ͺ Running the api tests
10 skipped
128 passed (44.8s)
|
π§ͺ Running the e2e tests
3 failed
[e2e_tests] βΊ settings.spec.ts:39:9 βΊ Settings test βΊ admin can set dokan selling settings @lite @A
[e2e_tests] βΊ settings.spec.ts:55:9 βΊ Settings test βΊ admin can set dokan appearance settings @lite @A
[e2e_tests] βΊ singleStore.spec.ts:21:9 βΊ Single store functionality test βΊ dokan single store page is rendering properly @lite @exp @c
53 skipped
160 passed (4.8m)
|
Loading