Skip to content

E2E_API Tests

E2E_API Tests #310

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

e2e_api_tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

8 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_tests] › vendorSettings.spec.ts:68:9 › Vendor settings test › vendor can set terms and conditions settings @lite @v: 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
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.6s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.1s
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 (45.2s)
🎭 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 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)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
28.2 MB