Waygraph
An opinionated Playwright, testing first. Your app's features become readable, reusable Blocks, and every test reads like a scenario.
An opinionated Playwright, testing first. Your app's features become readable, reusable Blocks, and every test reads like a scenario.
| Word | Means |
|---|---|
| Checkpoint | a page the app can be on: LoginPage, CartPage |
| Block | one action from one Checkpoint to another, with checks that prove it |
| Flow | Blocks in order. TypeScript checks each step starts where the last one ended |
read | what a page shows, as typed data (on the Page Block) |
| Mem | the data a run carries: credentials, the item being added |
| Command | You get | |
|---|---|---|
| run it | npx waygraph run checkoutFlow | pass / fail and a run log |
| show it | npx waygraph demo checkoutFlow | step by step, with rings and captions |
| test it | npx waygraph test --flows | every flow as a Playwright test |
npx waygraph studio draws the project by hand: every page by its address, the Blocks between them, each flow step by step, and every run with what it checked. Play any flow from it. Waygraph Studio
| A run, step by step | A failure says why |
|---|---|
![]() | ![]() |
Every waygraph project puts the same things in the same places: folders that are the app's addresses, one folder per page with the same file names, flows that are the tests. Each opinion says why, and what holds you to it. Your project
npx waygraph try demo # watch a checkout on saucedemo.com, nothing written to your folder
npx waygraph init my-app # a new project that passes offline
npx waygraph studio # in a project: its map, flows and runs in the browser (beta)| Start | Guides | Reference |
|---|---|---|
| Quick start | Your project · Layouts and access · Blocks · Flows | CLI |
| What Waygraph is · How it works | What a page shows · Data · Checks | Config |
| Sauce Demo | Demo · Testing · Waygraph Studio (beta) | API · Environment |
| Agents · Mail | Deprecated |