Skip to content

waygraph / FlowMeta

Interface: FlowMeta<Label> ​

Defined in: src/engine/flow/map-options.ts:14

What a flow says about itself: shown in the flow list, the demo's opening, the run log and Studio, and what --label picks by.

Extended by ​

Type Parameters ​

Label ​

Label extends string = string

Properties ​

description? ​

optional description?: string

Defined in: src/engine/flow/map-options.ts:18

What it proves and why it matters, a sentence or two: the demo's opening slide reads it.


labels? ​

optional labels?: readonly Label[]

Defined in: src/engine/flow/map-options.ts:20

Groups it belongs to (auth, smoke); the config's labels globs add more. waygraph test --label auth runs them.


owner? ​

optional owner?: string

Defined in: src/engine/flow/map-options.ts:24

Who looks after it.


ticket? ​

optional ticket?: string

Defined in: src/engine/flow/map-options.ts:22

The ticket or requirement it covers (QA-142).


title? ​

optional title?: string

Defined in: src/engine/flow/map-options.ts:16

The scenario in a line, in the QA's words: "Sign in with a valid account".


video? ​

optional video?: string

Defined in: src/engine/flow/map-options.ts:31

Where a recording of it (--video) is saved: one key under the video folder, like an object key, with the tokens {flow}, {title}, {label} (its first), {date}, {time} and {pane}; the last part is the file's name (the extension is added), a name already taken gets -2. Without it, a random name in the video folder.

Example ​

ts
video: "auth/{label}/{title}-{date}"

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