Skip to main content

OutcomeAssertion

Defined in: types.ts:419

Outcome assertion for post-action verification.

Properties

name

readonly name: string

Defined in: types.ts:421

Human-readable label for this assertion.


timeout?

readonly optional timeout?: number

Defined in: types.ts:425

Timeout in milliseconds (default: 5000).


verify

readonly verify: () => boolean | Promise<boolean>

Defined in: types.ts:423

Verification function — returns true if the expected outcome occurred.

Returns

boolean | Promise<boolean>