Skip to content

waygraph / SomeComposedBlock

Interface: SomeComposedBlock ​

Defined in: src/engine/block/compose.ts:52

Any ComposedBlock, whatever its route (see SomeBlock).

Extends ​

Extended by ​

Properties ​

demoPace? ​

optional demoPace?: DemoPace

Defined in: src/engine/block/some-block.ts:42

Inherited from ​

SomeBlock.demoPace


description? ​

optional description?: string

Defined in: src/engine/block/some-block.ts:37

Inherited from ​

SomeBlock.description


instruction ​

instruction: SomeInstruction

Defined in: src/engine/block/some-block.ts:38

Inherited from ​

SomeBlock.instruction


name ​

name: string

Defined in: src/engine/block/some-block.ts:36

Inherited from ​

SomeBlock.name


requires? ​

optional requires?: readonly MemKey<unknown>[]

Defined in: src/engine/block/some-block.ts:41

Inherited from ​

SomeBlock.requires


routes? ​

optional routes?: Readonly<Record<string, string | null>>

Defined in: src/engine/block/some-block.ts:40

Inherited from ​

SomeBlock.routes

Methods ​

instanceOptions()? ​

optional instanceOptions(page): Promise<readonly WaygraphInstanceOption<unknown>[]>

Defined in: src/engine/block/some-block.ts:43

Parameters ​

page ​

Page

Returns ​

Promise<readonly WaygraphInstanceOption<unknown>[]>

Inherited from ​

SomeBlock.instanceOptions


modStepVerify() ​

modStepVerify(step, nameOrIndex, newCheck): SomeComposedBlock

Defined in: src/engine/block/compose.ts:55

Parameters ​

step ​

string | number | SomeBlock

nameOrIndex ​

string | number

newCheck ​

Trait | ((page, mem) => Promise<boolean | TraitResult>)

Trait


Function ​

(page, mem) => Promise<boolean | TraitResult>

Returns ​

SomeComposedBlock


modVerify()? ​

optional modVerify(nameOrIndex, newCheck): SomeBlock

Defined in: src/engine/block/some-block.ts:45

Parameters ​

nameOrIndex ​

string | number

newCheck ​

Trait | ((page, mem) => Promise<boolean | TraitResult>)

Trait


Function ​

(page, mem) => Promise<boolean | TraitResult>

Returns ​

SomeBlock

Inherited from ​

SomeBlock.modVerify


modVerifyAll()? ​

optional modVerifyAll(patches): SomeBlock

Defined in: src/engine/block/some-block.ts:46

Parameters ​

patches ​

Record<string, Trait["check"] | Trait>

Returns ​

SomeBlock

Inherited from ​

SomeBlock.modVerifyAll


next()? ​

optional next(checkpoint): SomeBlock | null | undefined

Defined in: src/engine/block/some-block.ts:39

Parameters ​

checkpoint ​

Checkpoint<string>

Returns ​

SomeBlock | null | undefined

Inherited from ​

SomeBlock.next


steps() ​

steps(): readonly BlockInfo[]

Defined in: src/engine/block/compose.ts:53

Returns ​

readonly BlockInfo[]


withStepVerify() ​

withStepVerify(step, verify): SomeComposedBlock

Defined in: src/engine/block/compose.ts:54

Parameters ​

step ​

string | number | SomeBlock

verify ​

Trait[] | ((out) => Trait[])

Returns ​

SomeComposedBlock


withVerify()? ​

optional withVerify(verify): SomeBlock

Defined in: src/engine/block/some-block.ts:44

Parameters ​

verify ​

Trait[] | ((out) => Trait[])

Returns ​

SomeBlock

Inherited from ​

SomeBlock.withVerify

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