E2E_API Tests #310
Annotations
8 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:
tests/pw/pages/basePage.ts#L238
4) [e2e_tests] βΊ vendorSettings.spec.ts:68:9 βΊ Vendor settings test βΊ vendor can set terms and conditions settings @lite @v
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:238
236 | // click & wait for response
237 | async clickAndWaitForResponseAndLoadState(subUrl: string, selector: string, code = 200): Promise<Response> {
> 238 | const [, response] = await Promise.all([this.page.waitForLoadState('networkidle'), this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
239 | expect(response.status()).toBe(code);
240 | return response;
241 | }
at VendorSettingsPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:238:102)
at VendorSettingsPage.setStoreSettings (/home/runner/work/dokan/dokan/tests/pw/pages/vendorSettingsPage.ts:224:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendorSettings.spec.ts:69: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.6s
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ stores.spec.ts#L1
tests/pw/[api_tests] βΊ stores.spec.ts took 9.1s
|
π§ͺ 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 (45.2s)
|
π§ͺ 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
1 flaky
[e2e_tests] βΊ vendorSettings.spec.ts:68:9 βΊ Vendor settings test βΊ vendor can set terms and conditions settings @lite @v
53 skipped
159 passed (4.8m)
|
Loading