@ia-qa/qa-discovery 0.7.0 → 0.10.0
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.
- package/README.md +23 -7
- package/TUTORIAL.md +29 -9
- package/dist/capture/page.d.ts +11 -3
- package/dist/capture/page.js +12 -4
- package/dist/capture/page.js.map +1 -1
- package/dist/cli/args.js +1 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/login.js +29 -48
- package/dist/cli/login.js.map +1 -1
- package/dist/cli/scan.js +19 -3
- package/dist/cli/scan.js.map +1 -1
- package/dist/config.d.ts +7 -1
- package/dist/config.js +42 -2
- package/dist/config.js.map +1 -1
- package/dist/coverage.d.ts +11 -0
- package/dist/coverage.js +1 -0
- package/dist/coverage.js.map +1 -1
- package/dist/coverageView.d.ts +20 -0
- package/dist/coverageView.js +40 -1
- package/dist/coverageView.js.map +1 -1
- package/dist/mcp/server.js +9 -6
- package/dist/mcp/server.js.map +1 -1
- package/dist/scan.d.ts +11 -0
- package/dist/scan.js +22 -4
- package/dist/scan.js.map +1 -1
- package/package.json +2 -2
- package/skills/ia-qa-discover/SKILL.md +7 -4
|
@@ -46,7 +46,7 @@ changed since `capturedAt`.
|
|
|
46
46
|
| "what is even in this app?" | `scan <url> --save` |
|
|
47
47
|
| "most of the inputs are behind a menu or a tab" | `scan --deep` — opens disclosures one level and captures what they reveal |
|
|
48
48
|
| "the app is behind a login" | the human runs `ia-qa-heal login` (from `@ia-qa/self-healing`), then `scan --session .ia-qa/session.json`. **You cannot log in** (§4.1) |
|
|
49
|
-
| **"what does my test suite not test?"** | `coverage` — needs `@ia-qa/self-healing` **and** one watched run (§3) |
|
|
49
|
+
| **"what does my test suite not test?"** | `coverage` — needs `@ia-qa/self-healing` **and** one watched run (§3). It joins **two moments**: a suite run and a scan. Read `suite.recordedAt` against `scannedAt` and relay the caveat — a run older than the scan makes "not tested" include "did not exist yet", a scan older than the run overstates the gap. Never quote the gap without the half that is stale |
|
|
50
50
|
| "what changed since last time?" | `history` |
|
|
51
51
|
| "what is each entry point FOR?" | `ia-qa-discover-ai classify` — optional, BYOK (§5) |
|
|
52
52
|
| "what does somebody come to this page to DO?" | `ia-qa-discover-ai plan` — optional, BYOK (§5) |
|
|
@@ -75,12 +75,15 @@ sentence this tool can cause to be written.
|
|
|
75
75
|
## 4. Never do this
|
|
76
76
|
|
|
77
77
|
1. **Never run `ia-qa-discover login` or `ia-qa-heal login`.** They open a visible browser and
|
|
78
|
-
wait for a person
|
|
79
|
-
|
|
78
|
+
wait for a person: in your shell that is a hung command. Give the human the command
|
|
79
|
+
instead. The same goes for `ia-qa-heal ui`. **Check first whether they need it at all** —
|
|
80
|
+
a session saved by `ia-qa-heal login` is picked up automatically when this project has
|
|
81
|
+
none of its own, and `scan` reports it (`sessionSource: "healing"`). Asking someone to log
|
|
82
|
+
in again over a session that already works is the failure this pickup exists to remove.
|
|
80
83
|
2. **Never present a contract, or a configured page, as proof a page is tested.** A contract
|
|
81
84
|
means somebody configured that page. Only capture-during-run proves a test went there.
|
|
82
85
|
3. **Never report a page count as coverage.** Read `surface.json` → `coverage` first: a login
|
|
83
|
-
wall (`loginWall`), an app that navigates without `<a href>` (`hrefBlind`) and the page cap
|
|
86
|
+
wall (`loginWall` — a password field the page SHOWS on arrival; one revealed by a --deep click is not a wall), an app that navigates without `<a href>` (`hrefBlind`) and the page cap
|
|
84
87
|
(`droppedByCap`) each make the surface look smaller than it is. State those beside any total.
|
|
85
88
|
4. **Never treat `writeCalls` as evidence a page writes.** A scan never submits anything, so a
|
|
86
89
|
non-GET it observed fired at page load — measured on a real corpus, 10 of 10 were analytics
|