Repository navigation
v0.16.20
- 0.16.20 (c0b5cfa)
- Waygraph UI: the map has a Legend (its bottom bar): what each shape is (a site, a folder, a page), each line (where a page sits by its address, a move), each Block kind on a line, and what's in a page's box. Block kinds have icons (Nav a compass, Method a pointer, API a plug, Expect a badge), on the lines' badges and in the key; the label layout makes room for them. UI guide (585f085)
- saucedemo's flows in folders: auth/, cart/, checkout/, api/ and (showcase)/ (the feature demos and the smoke flow), and its labels cover them by folder; the quickstart follows. A flow file path with a (group) folder runs (waygraph run src/flows/(showcase)/smoke.flow.ts): a spec's payload is only the ( … ) that ends a segment. Tests, docs (9597e39)
- Failures read as the step first: "finish-order: check "order-number" didn't pass", then wanted, saw, on (the page) and in (a chain of steps, by its ends: ff-1 → add-to-cart → … → finish-order (9 steps)), one to a line; an expectation's: "confirm-archive: 2 expectations didn't hold" with a line each. --replay of a run that recorded no data for a part (an older run, a test's) plays it with new data and says so, instead of stopping; flow tests now record the data they were seeded with, so Run again replays them. Tests, docs, healer agent (77c3948)
- saucedemo graph snapshot: InventoryPage sorts where LoggedIn didn't; openspec notes follow the rename (12a77a0)
- saucedemo: the products page's Checkpoint is InventoryPage (was LoggedIn, a state, not a page), like LoginPage, CartPage and CheckoutInfoPage; the quickstart, tests, docs and examples follow (cd497f3)
- Waygraph UI: how a flow plays is chosen where it's played: Record video and Show the browser (off: headless) next to Run and Demo on a flow, and next to Run again / Demo again on a run, kept in this browser (the Settings page's Recording is gone). A flow's recent runs have a download for each video. UI guide (54a8b0b)
- Waygraph UI: the map's Pages tree minimizes to a Pages button (with how many pages the map shows) and opens again; the page panel widens to read a Block's code (remembered); everything clickable shows the hand cursor (Tailwind's base gave buttons, tabs, switches and checkboxes the arrow), and a disabled control shows it can't be clicked. UI guide (e0c9dcd)
- ROADMAP: a page's read in its Page Block; selectors per device (e754a33)
- The device flows play on: the config's device ("desktop" by default, "tablet", "mobile", or its parts: { preset: "mobile", orientation: "landscape" }, { width: 1600, height: 900 }) is the browser waygraph test, run and demo start: its size, pixel ratio, phone layout and touch, turned when the orientation says so. A recorded demo keeps its 16:9 stage and shows the device in it; a recorded run records the device's own screen. A flow's map({ device }) replaces map({ viewport }) (a row on the deprecated page) and sizes that flow. One table of device sizes, shared with the demo's ctx.ui.device. Tests, flows, testing and config docs, skills (d94149a)
- Labels group flows: the config's labels name each label's flows, by a glob over their files or a flow's export name (labels: { auth: ["src/flows/auth/**", "logoutFlow"] }). waygraph test --flows --label auth[,smoke] runs only those (each flow's test is tagged @auth, so Playwright's UI mode and reports filter by it too); waygraph list shows each flow's labels and --label keeps one; the manifest carries them; waygraph check warns about a label that covers no flow; Waygraph UI's Flows page shows them as badges and filters by one. saucedemo has auth and checkout. Tests, testing guide, config and CLI reference, usage, convention skill (67a5957)
- A demo's overlay stays put between steps on one screen. A step's screenshot no longer hides the overlay to take the picture (that made the title, panel and caption blink on screen and in recordings): in a demo it takes the page as it is and doesn't replace the page's look on the map. The outcome card stays until a step replaces it, in place, instead of going at each step's start and sliding in again. After a page load the overlay paints again at once, without its slide-in and fade-in. demo.overlay leaves parts out: { banner, panel, checks, todos }, each on unless false; without the panel the demo moves on by itself and slides show as captions, and without checks there are no rings on what was checked and no outcome card. WAYGRAPH_OVERLAY_TRACE=1 logs each part showing and going, and how often each blinked. Tests, demo guide, config reference (2e19c9a)
Full changes: v0.16.19...v0.16.20