Skip to main content

OutcomeAssertion

Defined in: types.ts:503

Outcome assertion for post-action verification.

Properties​

name​

readonly name: string

Defined in: types.ts:505

Human-readable label for this assertion.


timeout?​

readonly optional timeout?: number

Defined in: types.ts:509

Timeout in milliseconds (default: 5000).


verify​

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

Defined in: types.ts:507

Verification function — returns true if the expected outcome occurred.

Returns​

boolean | Promise<boolean>