Skip to content

waygraph / ApiCallResult

Interface: ApiCallResult ​

Defined in: src/engine/block/kinds/api.ts:21

What resolve/verify see: the response's status and parsed body, nothing Playwright-specific.

Properties ​

body ​

body: unknown

Defined in: src/engine/block/kinds/api.ts:25

response.json() if the body parses as JSON, else the raw text (or undefined if neither).


ok ​

ok: boolean

Defined in: src/engine/block/kinds/api.ts:23


status ​

status: number

Defined in: src/engine/block/kinds/api.ts:22

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed