Skip to content

E2E_API Tests

E2E_API Tests #280

Triggered via schedule February 23, 2024 02:12
Status Success
Total duration 7m 49s
Artifacts 1

e2e_api_tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

1 error, 4 warnings, and 2 notices
[e2e_tests] › customer.spec.ts:55:9 › Customer functionality test › customer can add product to cart @lite @c: tests/pw/pages/basePage.ts#L238
1) [e2e_tests] › customer.spec.ts:55:9 › Customer functionality test › customer can add product to cart @lite @c 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 CustomerPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:238:102) at CustomerPage.clearCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:255:24) at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:231:23) at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:57:9
Slow Test: tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 17.1s
Slow Test: tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 9.2s
Slow Test: tests/pw/[e2e_tests] › customer.spec.ts#L1
tests/pw/[e2e_tests] › customer.spec.ts took 2.2m
Slow Test: tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 2.2m
🎭 Playwright Run Summary
10 skipped 128 passed (46.5s)
🎭 Playwright Run Summary
1 flaky [e2e_tests] › customer.spec.ts:55:9 › Customer functionality test › customer can add product to cart @lite @c 53 skipped 162 passed (4.1m)

Artifacts

Produced during runtime
Name Size
test-artifact Expired
4.9 MB