aboutsummaryrefslogtreecommitdiff
path: root/tests/gallery-probes/README.md
blob: a062bfc239836a91f3010fd2971830360713e0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Gallery CDP probes

Behavioral verification for docs/prototypes/panel-widget-gallery.html — headless Chrome
driven over the DevTools protocol (Node global WebSocket/fetch, no playwright).

- probe.mjs — full regression: card count, size toggle, drag + click behavior under zoom,
  zero-exception gate. Run: `node probe.mjs [--shot out.png]`. Update the card-count
  assertion when cards are added.
- probe-fams.mjs — screen-color families: default fallbacks pixel-identical, chip clicks
  recolor ink/face/trace, dynamic fills stay var-based.

Both exit nonzero on failure. The gallery's componentization work (widgets.js extraction)
uses a green run of these as its no-regression gate per batch.