waygraph 0.12.20 → 0.12.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,6 +34,9 @@ npx playwright install chromium
|
|
|
34
34
|
| Headless suite | `npm test` |
|
|
35
35
|
| Interactive explore (headed panel) | `npm run auto` |
|
|
36
36
|
| Interactive explore (terminal menu) | `npm run auto:cli` |
|
|
37
|
+
| Graph crawl (Phase B-E) | `npm run traverse` |
|
|
38
|
+
| Parallel crawl + leases | `npm run traverse:parallel` |
|
|
39
|
+
| Coverage JSON + min gate (10%) | `npm run traverse:coverage` |
|
|
37
40
|
| Shop demo stepper | `npm run demo:step` |
|
|
38
41
|
| Shop demo autoplay | `npm run demo:autoplay` |
|
|
39
42
|
| **Cart bulk** demo (add-all → remove-all) | `npm run demo:bulk` |
|
|
@@ -47,6 +50,7 @@ npx playwright install chromium
|
|
|
47
50
|
| **`run --blocks`** | `npm run run:bulk` — Block names + `--data` | No |
|
|
48
51
|
| **`demo --blocks`** | `npm run demo:bulk` — named flow + `--data` | Optional (`cartBulkFlow`) |
|
|
49
52
|
| **`auto`** | `npm run auto` / `auto:cli` | No — live menu |
|
|
53
|
+
| **`traverse`** | `npm run traverse` / `traverse:parallel` / `traverse:coverage` | No — graph crawl + `.waygraph-traverse/coverage.json` |
|
|
50
54
|
| **`auto --blocks From To`** | path-find on graph | No — checkpoints only |
|
|
51
55
|
|
|
52
56
|
QA watch+record: `npm run demo:bulk:video` (`--auto-play-video`).
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
"auto": "waygraph auto",
|
|
15
15
|
"auto:cli": "waygraph auto --cli --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\"",
|
|
16
16
|
"prove:auto-cli": "node scripts/drive-auto-cli.mjs",
|
|
17
|
+
"traverse": "waygraph traverse --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\" --max-steps 40",
|
|
18
|
+
"traverse:parallel": "waygraph traverse --parallel 2 --session clone --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\" --max-steps 30",
|
|
19
|
+
"traverse:coverage": "waygraph traverse --min-edge-coverage 10% --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\" --max-steps 40",
|
|
17
20
|
"graph": "waygraph graph",
|
|
18
21
|
"graph:mermaid": "waygraph graph --mermaid",
|
|
19
22
|
"demo:stub-on-error": "waygraph demo --blocks stubOnErrorFlow --auto-next --fast --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"locked_out_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\" --title \"stubOnError prove\"",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "waygraph",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A typed graph of reusable Blocks for driving a browser through E2E flows.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"tsx": "^4.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@playwright/test": "^1.
|
|
44
|
+
"@playwright/test": "^1.63.0",
|
|
45
45
|
"@types/node": "^26.0.0",
|
|
46
46
|
"typescript": "^5.6.0"
|
|
47
47
|
}
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"check": "waygraph check",
|
|
10
10
|
"auto": "waygraph auto",
|
|
11
11
|
"auto:cli": "waygraph auto --cli --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\"",
|
|
12
|
+
"traverse": "waygraph traverse --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\" --max-steps 40",
|
|
13
|
+
"traverse:parallel": "waygraph traverse --parallel 2 --session clone --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\" --max-steps 30",
|
|
14
|
+
"traverse:coverage": "waygraph traverse --min-edge-coverage 10% --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\" --max-steps 40",
|
|
12
15
|
"graph": "waygraph graph",
|
|
13
16
|
"graph:mermaid": "waygraph graph --mermaid",
|
|
14
17
|
"demo": "waygraph demo --blocks \"loginFlow then shopFlow({\\\"saucedemo.selectedItem\\\":{\\\"id\\\":\\\"sauce-labs-backpack\\\",\\\"name\\\":\\\"Sauce Labs Backpack\\\"}}) then viewerBlockedFlow({\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"locked_out_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}})\" --data \"{\\\"saucedemo.credentials\\\":{\\\"username\\\":\\\"standard_user\\\",\\\"password\\\":\\\"secret_sauce\\\"}}\"",
|
|
@@ -23,7 +26,7 @@
|
|
|
23
26
|
"baseUrl": "https://www.saucedemo.com"
|
|
24
27
|
},
|
|
25
28
|
"dependencies": {
|
|
26
|
-
"waygraph": "^0.
|
|
29
|
+
"waygraph": "^0.12.20"
|
|
27
30
|
},
|
|
28
31
|
"devDependencies": {
|
|
29
32
|
"@playwright/test": "^1.55.0",
|