Litetests #303
e2e_api_tests.yml
on: pull_request
e2e_api tests
5m 24s
Annotations
3 errors, 4 warnings, and 2 notices
[e2e_setup] › _env.setup.ts:310:10 › setup dokan settings e2e › admin can refreseh license @pro @a:
tests/pw/pages/basePage.ts#L234
1) [e2e_setup] › _env.setup.ts:310:10 › setup dokan settings e2e › admin can refreseh license @Pro @A
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:234
232 | // click & wait for response
233 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 234 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
235 | return response;
236 | }
237 |
at LicensePage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:234:57)
at LicensePage.refresehLicense (/home/runner/work/dokan/dokan/tests/pw/pages/licensePage.ts:49:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_env.setup.ts:311:9
|
[e2e_setup] › _env.setup.ts:310:10 › setup dokan settings e2e › admin can refreseh license @pro @a:
tests/pw/pages/basePage.ts#L234
1) [e2e_setup] › _env.setup.ts:310:10 › setup dokan settings e2e › admin can refreseh license @Pro @A
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:234
232 | // click & wait for response
233 | async clickAndWaitForResponse(subUrl: string, selector: string, code = 200): Promise<Response> {
> 234 | const [response] = await Promise.all([this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
235 | return response;
236 | }
237 |
at LicensePage.clickAndWaitForResponse (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:234:57)
at LicensePage.refresehLicense (/home/runner/work/dokan/dokan/tests/pw/pages/licensePage.ts:49:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/_env.setup.ts:311: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.7s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.5s
|
Slow Test:
tests/pw/[e2e_setup] › _env.setup.ts#L1
tests/pw/[e2e_setup] › _env.setup.ts took 1.4m
|
Slow Test:
tests/pw/[auth_setup] › _auth.setup.ts#L1
tests/pw/[auth_setup] › _auth.setup.ts took 17.6s
|
🎭 Playwright Run Summary
23 skipped
137 passed (47.8s)
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
851 KB |
|