waygraph / StubPhaseFixtures
Type Alias: StubPhaseFixtures
StubPhaseFixtures =
object
Defined in: src/engine/stub/stub.ts:27
Episode-level fixtures authored inside stubBefore/After/OnError(ctx).
Properties
bannerUi?
optionalbannerUi?:BannerUiOpts
Defined in: src/engine/stub/stub.ts:54
Banner UX: collision (move away from a ring it overlaps), hidden. See BannerUiOpts.
caption?
optionalcaption?:string
Defined in: src/engine/stub/stub.ts:60
Bottom narration caption - a white rounded card (black text, shadow), bottom-centered above the step pill, distinct from the banner (top, card-shaped). Omit/clear to hide it; set again to change the text, fading out/in.
device?
optionaldevice?:DevicePreset|DeviceState
Defined in: src/engine/stub/stub.ts:81
Viewport preset: mobile | tablet | desktop (default / clear). Omit on later blocks = keep (same persist pattern as todos).
networkTabVisible?
optionalnetworkTabVisible?:boolean
Defined in: src/engine/stub/stub.ts:66
Network-tab overlay visibility - capture always happens in the background regardless; this only controls whether the panel itself is shown. Intentionally hidden by default (undefined on the very first phase); omit to leave whatever the previous step set alone.
orientation?
optionalorientation?:DeviceOrientation
Defined in: src/engine/stub/stub.ts:87
Portrait / landscape (swaps preset width/height).
title?
optionaltitle?:string
Defined in: src/engine/stub/stub.ts:50
Top demo banner title (the "waygraph demo" card, top left by default).
titlePos?
optionaltitlePos?:BannerPos
Defined in: src/engine/stub/stub.ts:52
Banner side/position (left | center | right). Authored control, like the todo dock's pos.
todoDockUi?
optionaltodoDockUi?:TodoDockUiOpts
Defined in: src/engine/stub/stub.ts:76
Todo-dock UX (compact / collision / behind-ring). Merged onto env defaults. See TodoDockUiOpts.
todoGroups?
optionaltodoGroups?: readonlyWaygraphTodoGroupInput[]
Defined in: src/engine/stub/stub.ts:41
Multiple titled lists (FR / Scenarios / ACs). Wins over bare todos when set.
todoId?
optionaltodoId?:string
Defined in: src/engine/stub/stub.ts:37
Stable dock id (data-wg-todo-id) for external redirect asserts (e.g. Mailhog -> back to app and still find the checklist).
todoIndex?
optionaltodoIndex?:number
Defined in: src/engine/stub/stub.ts:30
Which todo is current (0-based). Rows before = done, after = pending.
todoPos?
optionaltodoPos?:"left"|"right"
Defined in: src/engine/stub/stub.ts:71
Floating checklist dock side. left | right. Authored control (also click / WAYGRAPH_TODO_POS / --todo-left|right).
todos?
optionaltodos?: readonlyWaygraphTodoInput[]
Defined in: src/engine/stub/stub.ts:28
todoStyle?
optionaltodoStyle?:TodoListStyle
Defined in: src/engine/stub/stub.ts:39
sequential (default), checklist, or bullets.
todoTitle?
optionaltodoTitle?:string
Defined in: src/engine/stub/stub.ts:32
Heading above a single StubUi.todos list.
touch?
optionaltouch?:boolean
Defined in: src/engine/stub/stub.ts:85
Touch theater + Playwright touchscreen when true.
viewport?
optionalviewport?:DeviceViewport
Defined in: src/engine/stub/stub.ts:83
Explicit pixel viewport (wins over preset width/height when both set).
zoom?
optionalzoom?:number
Defined in: src/engine/stub/stub.ts:46
Camera zoom (Screen Studio style) - scales the page toward the target / cursor. Not element CSS zoom. Typical 1.25 .. 2.
zoomOut?
optionalzoomOut?:boolean
Defined in: src/engine/stub/stub.ts:48
Default zoomOut for rings (false = keep camera between rings).