@ia-qa/self-healing 1.7.25 → 1.7.26
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 +16 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -568,13 +568,28 @@ interactive element by role and accessible name, for repairing broken locators.
|
|
|
568
568
|
*surface* — pages, headings, inputs, API calls, for deciding what to test in the first place.
|
|
569
569
|
Neither produces the other.
|
|
570
570
|
|
|
571
|
+
**And `scan` is not `ia-qa-heal discover` either — this is the one people actually conflate.**
|
|
572
|
+
Both crawl, and the names hide the difference. `discover` answers *"which routes are missing
|
|
573
|
+
from my `config.pages`?"* and hands you `{ name, url }` candidates. `scan` answers *"what does
|
|
574
|
+
this app take as input?"* and hands you what is behind each URL. Measured on the same four pages
|
|
575
|
+
of ia-qa.com: `discover` returns 4 pairs; `scan` returns those pages plus 159 headings, 3 input
|
|
576
|
+
fields with their captured labels, 9 observed API calls, and the finding that none of the three
|
|
577
|
+
can be located durably.
|
|
578
|
+
|
|
579
|
+
**So if you only want to fill `config.pages`, use `discover` and install nothing.** That is what
|
|
580
|
+
it is for, and it is already here.
|
|
581
|
+
|
|
571
582
|
They are built to hand off, though. `config.pages` has the same `{ name, url }` shape in both,
|
|
572
583
|
and both resolve page names through the *same* function, so a page called `checkout` in one is
|
|
573
584
|
`checkout` in the other — the artifacts line up 1:1. Sessions are interchangeable too, since
|
|
574
585
|
both consume a Playwright `storageState`: `ia-qa-heal map --session .ia-qa-discovery/session.json`.
|
|
575
586
|
|
|
576
587
|
And in the other direction: this package knows what your suite **covers**, discovery knows what
|
|
577
|
-
**exists**. The gap between the two is your real coverage
|
|
588
|
+
**exists**. The gap between the two is your real coverage — and it is computed rather than
|
|
589
|
+
described: run `ia-qa-discover scan` in a project that already has `.ia-qa/mapping/` and it ends
|
|
590
|
+
by naming the pages that exist with no contract. It is not a verdict (a page may be out of scope
|
|
591
|
+
on purpose), and a contracted page the scan did not reach is reported as a limit of the scan,
|
|
592
|
+
never as a page that vanished.
|
|
578
593
|
|
|
579
594
|
## Going deeper
|
|
580
595
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ia-qa/self-healing",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.26",
|
|
4
4
|
"description": "Your Playwright, Cypress or Selenium tests break when a selector moves — this finds the element again and rewrites the test. Deterministic: no LLM decides whether your build passes. Runs entirely on your machine, with a local MCP server for agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"self-healing",
|