From e66c60c5a7f66be08d017cefac80e557ced0c957 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 12 Jul 2026 20:48:41 -0500 Subject: test(gallery): commit the CDP behavioral probes The full-regression and screen-family probes lived in session scratch; the widgets.js extraction uses them as its per-batch no-regression gate, so they become repo tooling. --- tests/gallery-probes/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/gallery-probes/README.md (limited to 'tests/gallery-probes/README.md') diff --git a/tests/gallery-probes/README.md b/tests/gallery-probes/README.md new file mode 100644 index 0000000..a062bfc --- /dev/null +++ b/tests/gallery-probes/README.md @@ -0,0 +1,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. -- cgit v1.2.3