Skip to content

E2E_API Tests

E2E_API Tests #305

Triggered via schedule March 8, 2024 02:13
Status Failure
Total duration 8m 24s
Artifacts 1

e2e_api_tests.yml

on: schedule
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#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
[e2e_tests] › settings.spec.ts:39:9 › Settings test › admin can set dokan selling settings @lite @a: 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
[e2e_tests] › settings.spec.ts:55:9 › Settings test › admin can set dokan appearance settings @lite @a: 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
[e2e_tests] › settings.spec.ts:55:9 › Settings test › admin can set dokan appearance settings @lite @a: 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
[e2e_tests] › singleStore.spec.ts:21:9 › Single store functionality test › dokan single store page is rendering properly @lite @exp @c: 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
[e2e_tests] › singleStore.spec.ts:21:9 › Single store functionality test › dokan single store page is rendering properly @lite @exp @c: 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
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.4s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.0s
Slow Test: tests/pw/[e2e_tests] › settings.spec.ts#L1
tests/pw/[e2e_tests] › settings.spec.ts took 2.6m
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 1.8m
🎭 Playwright Run Summary
10 skipped 128 passed (44.8s)
🎭 Playwright Run Summary
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)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
25.8 MB