Module/form manager #69
Annotations
7 errors, 6 warnings, and 2 notices
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L231
1) [e2e_tests] βΊ products.spec.ts:68:9 βΊ Product functionality test βΊ vendor can add simple product @lite
TimeoutError: page.waitForResponse: Timeout 15000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:231
229 | // click & wait for response
230 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 231 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
232 | return response;
233 | }
234 |
at ProductsPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:231:57)
at ProductsPage.vendorAddSimpleProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:316:24)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:69:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L231
1) [e2e_tests] βΊ products.spec.ts:68:9 βΊ Product functionality test βΊ vendor can add simple product @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.waitForResponse: Timeout 15000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:231
229 | // click & wait for response
230 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 231 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
232 | return response;
233 | }
234 |
at ProductsPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:231:57)
at ProductsPage.vendorAddSimpleProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:316:24)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:69:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L231
2) [e2e_tests] βΊ products.spec.ts:128:9 βΊ Product functionality test βΊ vendor can edit product @lite
TimeoutError: page.waitForResponse: Timeout 15000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:231
229 | // click & wait for response
230 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 231 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
232 | return response;
233 | }
234 |
at ProductsPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:231:57)
at ProductsPage.editProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:499:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:129:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L231
2) [e2e_tests] βΊ products.spec.ts:128:9 βΊ Product functionality test βΊ vendor can edit product @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.waitForResponse: Timeout 15000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:231
229 | // click & wait for response
230 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 231 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
232 | return response;
233 | }
234 |
at ProductsPage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:231:57)
at ProductsPage.editProduct (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:499:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:129:9
|
π§ͺ Running the e2e tests:
tests/pw/pages/basePage.ts#L531
3) [e2e_tests] βΊ settings.spec.ts:39:9 βΊ Settings test βΊ admin can set dokan selling settings @lite
TimeoutError: locator.evaluate: Timeout 15000ms exceeded.
=========================== logs ===========================
waiting for locator('.one_step_product_create .switch span')
============================================================
at ../../pages/basePage.ts:531
529 | async getElementBackgroundColor(selector: string): Promise<string> {
530 | const element = this.getElement(selector);
> 531 | const value = await element.evaluate(element => window.getComputedStyle(element).getPropertyValue('background-color'));
| ^
532 | // console.log(value)
533 | return value;
534 | }
at SettingsPage.getElementBackgroundColor (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:531:37)
at SettingsPage.enableSwitcher (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1404:34)
at SettingsPage.setDokanSellingSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:97: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#L531
3) [e2e_tests] βΊ settings.spec.ts:39:9 βΊ Settings test βΊ admin can set dokan selling settings @lite
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: locator.evaluate: Timeout 15000ms exceeded.
=========================== logs ===========================
waiting for locator('.one_step_product_create .switch span')
============================================================
at ../../pages/basePage.ts:531
529 | async getElementBackgroundColor(selector: string): Promise<string> {
530 | const element = this.getElement(selector);
> 531 | const value = await element.evaluate(element => window.getComputedStyle(element).getPropertyValue('background-color'));
| ^
532 | // console.log(value)
533 | return value;
534 | }
at SettingsPage.getElementBackgroundColor (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:531:37)
at SettingsPage.enableSwitcher (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1404:34)
at SettingsPage.setDokanSellingSettings (/home/runner/work/dokan/dokan/tests/pw/pages/settingsPage.ts:97:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/settings.spec.ts:40: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 6.2s
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ stores.spec.ts#L1
tests/pw/[api_tests] βΊ stores.spec.ts took 3.5s
|
π§ͺ Running the api tests:
tests/pw/[api_tests] βΊ orders.spec.ts#L1
tests/pw/[api_tests] βΊ orders.spec.ts took 3.2s
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ products.spec.ts#L1
tests/pw/[e2e_tests] βΊ products.spec.ts took 1.7m
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ settings.spec.ts#L1
tests/pw/[e2e_tests] βΊ settings.spec.ts took 42.2s
|
π§ͺ Running the e2e tests:
tests/pw/[e2e_tests] βΊ customer.spec.ts#L1
tests/pw/[e2e_tests] βΊ customer.spec.ts took 24.1s
|
π§ͺ Running the api tests
2 skipped
132 passed (19.4s)
|
π§ͺ Running the e2e tests
3 failed
[e2e_tests] βΊ products.spec.ts:68:9 βΊ Product functionality test βΊ vendor can add simple product @lite
[e2e_tests] βΊ products.spec.ts:128:9 βΊ Product functionality test βΊ vendor can edit product @lite
[e2e_tests] βΊ settings.spec.ts:39:9 βΊ Settings test βΊ admin can set dokan selling settings @lite
1 skipped
155 passed (5.8m)
|
The logs for this run have expired and are no longer available.
Loading