Skip to content

v0.18.0

Latest

Choose a tag to compare

@deviate-dv8 deviate-dv8 released this 13 Nov 07:05
  • Pilot: click an orange outline, name it, and it is registered in the page's _sel.ts (19e57fd)
  • Pilot register: a selector picked in the browser is written into the page's _sel.ts (pilot register, session op) (4701c57)
  • States: word states beside booleans (needs [Key, value], sets [[Key, value]]); per-pane states; check walks panes; Studio menu for word states (b4874f7)
  • manifest spec: shopFlow signs in as the standard shopper (f331234)
  • Pilot coverage names the page and file:line of each selector; a hand-opened page's address params go on the trail (801e147)
  • check walks flows against state guards; map moves show +state/-state; saucedemo flows self-sufficient (episodes not exported) (046023c)
  • States: boolean mem keys declared state(); pages and shells needs them, Methods and links set them; the run applies and checks them (step:state), manifest lists them, Studio locks pages and has a switch per state; Sauce Demo uses signedIn (cc047ba)
  • Sauce Demo on the page-object shape: src/map/(shop)/ a page folder per URL, no Navs, no states file; flows with titles and labels; menu uses Method preconditions; docs follow (37d87da)
  • calls spec: the artifact is the file the step:call names (src and dist copies each have their own listeners) (b70c9a2)
  • Studio: the map follows a live session (you are here); docs (8884319)
  • Pilot: coverage on|off over the session protocol, the session keeps what the page shows on its trail; docs (8c310f2)
  • Docs: mem.trail, what earlier steps saw (652056f)
  • Block.stub replaces .stubAfter (narration after the step lands); .stubBefore and .stubOnError stay; upgrade --codemod stub (8c7ff8a)
  • on(): no non-null assertion (e221314)
  • MapBuilder.on(Page, p => ...): several Methods of one page as one call, each its own step (c5315f7)
  • Trail: what each step saw, kept on the run's mem (mem.trail.latest(Page.read.x)); joined steps record their read too (00c3a29)
  • Pilot coverage chip: registered elements green with their names, unregistered ones orange; param-aware unmapped-link check (c37f742)
  • Spec of your own on the new format (tested); Method params instead of .set in the convention and flows guide (82cbbf1)
  • Page.check(why, (read, mem) => boolean): one check primitive over everything the page shows; Key.passes removed, upgrade --codemod checks (398e5f3)
  • Studio API console: send a recorded call again, answer in words, copy as cURL or API Block; docs (02081b0)
  • ctx.ui.showCalls(), the card put on a wiped overlay (a step that navigated), demo spec for calls (a372a31)
  • network config: names for calls on the card, thresholds for check --network, overlay.calls; fixture page types no longer committed (0636dee)
  • Studio flows list keeps the export name beside a title; manifest test follows the flows' own labels (48b4d46)
  • Studio: a page's Network section (calls per route, findings) from the flows' newest runs; docs (8cded67)
  • Network findings (waygraph check --network), Studio run step calls with request and response; docs (b8927b3)
  • Saucedemo: hybrid UI + API flow with a seeding step (labels hybrid, api); quickstart synced (ba5d4af)
  • Demo: a step's HTTP calls on its outcome card, each opening a call modal with the request, the response and why; stories (4091e5b)
  • Calls as data: a run records each step's HTTP calls (the page's fetch/XHR, an API Block's request and response) as step:call events, bodies masked in the run's call artifacts (3b369cc)
  • Flows carry meta: title, description, labels (joined with the config's), ticket, owner; in list, manifest, run log, demo opening, Studio; check names flows without a description (d8385a1)
  • Codemod extract-methods: inline Methods become _methods/ files (the shape gen writes); examples, scaffold and quickstart on it (1a851ec)
  • Docs and skill: Methods are a file each in _methods/ (inline for one-liners); waygraph gen (5314153)
  • waygraph gen: page, method, flow, keys, account from the convention (a _methods/ file per Method, never overwrites); check lists selectors still TODO; page from: takes names (af25957)
  • Typed page names: waygraph types writes src/waygraph-pages.d.ts (global WaygraphPages), so to:/covers: complete and a typo is an error; typecheck and check rewrite it; shells are found by covers: in any block file (b58d725)
  • Studio screenshots for the page object (shell halos, last results) (b528ab2)
  • Studio docs and lint (ef0b24c)
  • Studio for the page object: shells as halos and a tag (no line per page), last-result dots, params moves, Pages tab, Find by move, results service; docs (4cf304a)
  • page.ts: under the line limit (5c50c32)
  • page.ts: under the line limit (149a086)
  • Manifest: pages (one record per Page Block with its moves, expectations, links, covers), and a Block's place in its page (group/owner/key, its own source span) (b499979)
  • 0.18.0: Studio in the page object's terms (shells, opens from / arrives when / shows / do / expects); version bump (7909788)
  • Method params: self.method((a, b) => spec), a Block per call (3072268)
  • graph snapshot: same edges, Blocks now live in their pages (f9e4729)
  • A page covers pages (covers, links, interrupts, opens, bare shells): no separate layout kind; defineLayout deprecated; saucedemo/scaffold shells migrated; docs and skills (ca24a88)
  • Methods and expectations live in the page: codemod inline-methods (also expectations), scan lists a page's do/expects as Blocks, saucedemo/scaffold/quickstart migrated (032d27c)
  • Convention: no method pollution (Methods are what a user can do, not test steps); codemod inline-methods also inlines expectations (f1d401f)
  • page.expect: expectations written in the page (no Expect Block files) (d36a7ce)
  • codemods: helpers move with their reads/stubs transitively, emptied files go (20b4904)
  • Docs and skill: a page is its own Checkpoint, inline Methods, frame, ctx.page.api, workaround table rows; codemods move helpers with their reads and stubs (4c563ae)
  • frame: a page in an iframe sees its locators scoped to the frame; ctx.page.api reads from the app's API with the page's session (Engine api); interrupts also in joined steps; codemod removes emptied _reads.ts (bca16fc)
  • A page is its own Checkpoint (checkpoint: "Login"), with inline Methods (page.method) defaulting from/to to the page; PageHandle for Methods in their own files (a233e41)
  • route: "folder": a page's address is its folder under src/map (1d62c84)
  • manifest: query typing (ae9e20d)
  • manifest: query typing (3618706)
  • Query params as page state (query, go, setQuery, arrival check); Studio page panel shows query and arrival checks (26a0305)
  • Page.go({ id }): a page with params in its address opens at one address, typed by them (1c0f310)
  • ROADMAP: what's left of the page object (1d51825)
  • Mem stubs live on the keys (keys(ns)({ field: () => value })); codemod mem-stubs; docs and skills (ba3d6c1)
  • Studio: Find (/ or Ctrl-K) for pages, flows and Blocks; a picked page comes into view; pages that open themselves are ways in and lines; layouts show their interrupts (a838f64)
  • Stage 2: a page opens itself (url/click/from on the Page Block); codemod nav folds Nav Blocks into their pages; examples, scaffold, docs, skills migrated (fbdc992)
  • Stage 4: Methods are written flat (act, precondition, verify, lands); codemod instructions; examples, scaffold, docs and skills migrated (9e6a48c)
  • Stage 3: layouts take interrupts (locator handlers per page): run event, manifest, demo card, docs (1e3e8d7)
  • Page object docs and skills: a page's read replaces Read Blocks (guides, reference, convention skill, agents, deprecated rows); lifecycle: do/expects as functions; manifest source for page reads (1dff4a8)
  • Page object: layouts take read as a page does (Layout.read keys, Layout.readBlock); the codemod moves an every-page Read Block into the layout over its folder; examples, scaffold and quickstart migrated (e152e72)
  • waygraph upgrade --codemod page-object: Read Blocks and reads() namespaces fold into the page's read; methods/expects thunks become do/expects functions; a Read Block with no Page Block becomes one. Validated on copies of two real projects (no new type errors, same read shapes). Saucedemo untouched here (2007703)
  • Page object, step 1: a Page Block takes read (its own Read Block, keys as Page.read.x) and do/expects as functions of the page, called on first use (87b2d4e)
  • Split view: one overlay on the stage, not one per pane: only the pane acting shows the chrome (banner, stepper, todos, caption, outcome, chips); the others show their page and its rings (data-passive, kept across page loads). The stage's pictures align top-left, so a size mismatch can't shift a page (7626c45)

Full changes: v0.17.2...v0.18.0