@ia-qa/pal 1.12.3 → 1.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ia-qa/pal",
3
- "version": "1.12.3",
3
+ "version": "1.14.0",
4
4
  "description": "Create and maintain end-to-end test suites that don't break when your UI moves — a local QA app you open from a desktop icon. It tours every page and reports what broke since last time, drafts Playwright tests for the pages nothing tests, repairs your Playwright, Cypress or Selenium selectors after your review, and names the pages no test visits. No account, no cloud.",
5
5
  "keywords": [
6
6
  "e2e",
@@ -57,8 +57,8 @@
57
57
  "node": ">=18.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@ia-qa/qa-discovery": "^0.11.1",
61
- "@ia-qa/self-healing": "^1.33.0"
60
+ "@ia-qa/qa-discovery": "^0.11.2",
61
+ "@ia-qa/self-healing": "^1.38.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "playwright": ">=1.40.0"
@@ -91,10 +91,12 @@ Four sections, each appearing only when it holds something — plus one above th
91
91
  | Section | What it means |
92
92
  |---|---|
93
93
  | 🧭 **Read this first** | the thing to act on before anything else. Relay it verbatim |
94
- | 🔴 **Broken** | the app answered with an error, or the suite failed under `--suite` |
94
+ | 🔴 **Broken** | a page or a link answered with an error, or the suite failed under `--suite` |
95
95
  | ⛔ **To decide** | drift and findings a person must judge |
96
96
  | 🔧 **Ready to repair** | proposed rewrites to the suite's selectors — **proposed, never applied** |
97
+ | 🔎 **Changed, not failing** | renamed, moved and added elements, by name |
97
98
  | 🔍 **Not seen** | pages not explored, not mapped, not compared, or the suite never visits |
99
+ | ❓ **What this tour does not tell you** | a tour reads what pages show and tries nothing: relay this with any PASS |
98
100
 
99
101
  Under *To decide* you may see **links that now lead somewhere else** — same element, same
100
102
  label, different destination. Report both URLs and the page. It does **not** fail the tour on
@@ -114,6 +116,9 @@ Exit codes: `0` answered · `1` something failed · `2` **could not answer**. Re
114
116
  compared — there was nothing to compare with.
115
117
  3. **Never drop the "Not seen" section** from a green report. A tour that measured a third of
116
118
  the app and found nothing is not a green app, and that section is where the denominator is.
119
+ **Never report a PASS as "the app works"**: say what *What this tour does not tell you* lists, and
120
+ read `PASS on 2 of 3 pages · 🔴 1 broken` as the failure it is. A page that lost nearly everything
121
+ (`N of M elements are gone at once`) is a person's call, and `accept` is not offered for it.
117
122
  4. **Never apply the repairs** in *Ready to repair* without the human reviewing them. A tour never
118
123
  edits a test file. The console can — *Apply the repairs* and *✅ This one* run heal's `fix --verify`
119
124
  and `decide`, then re-run the tests — but only on a person's click, and a choice between
@@ -150,6 +155,11 @@ Exit codes: `0` answered · `1` something failed · `2` **could not answer**. Re
150
155
  `ia-qa-heal run` captures the contract during their own test run, `ia-qa-heal baseline`
151
156
  makes it the reference, and `run` gates from then on. That is heal's loop, not a tour —
152
157
  pal opens the pages itself, which is the step that cannot work here.
158
+ 8c. **`pages.rateLimited` means the app said "too many requests" — never re-run straight
159
+ away.** The tour stopped opening pages, ran the link check offline and skipped `--suite` on
160
+ purpose. The pages it did not open are *not seen*, not broken. Tell the human the request
161
+ count it reports and that the next tour belongs after the app's limit window; never retry
162
+ in a loop, and never start the suite now — it would meet the same limiter.
153
163
  9. **Never choose which user a tour runs as.** An admin and a guest see different apps.
154
164
  `pal_project` lists the personas; when there are several, `pal_tour` without `persona` is
155
165
  refused and returns their names — that is your cue to **ask the human**, never to pick