summaryrefslogtreecommitdiff
path: root/test/web-snapshots/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/web-snapshots/README.md')
-rw-r--r--test/web-snapshots/README.md30
1 files changed, 6 insertions, 24 deletions
diff --git a/test/web-snapshots/README.md b/test/web-snapshots/README.md
index 3b121949..a7cd865e 100644
--- a/test/web-snapshots/README.md
+++ b/test/web-snapshots/README.md
@@ -1,25 +1,7 @@
-# Web browser snapshots
+# Browser interaction tests
-`source-list.dump.zon` is a byte-for-byte dump from a running Pardes instance.
-It is not assembled or normalized by a fixture generator.
-
-To recapture it:
-
-1. Build and launch the native TTY in this checkout with `PARDES_DUMP` pointing
- at a temporary file.
-2. Enter raw TTY mode, run `clear`, then run
- `git ls-files --cached --others --exclude-standard -- '*.zig' | sort`.
- This is the archive generator's tracked-plus-new/nonignored selection in its
- deterministic display order.
-3. Leave raw TTY mode, press `gg` so the listing starts at scrollback row zero,
- and middle-click Pardes's `Dump` builtin.
-4. Copy the resulting dump into `source-list.dump.zon` without editing it.
-
-The visible `.body` is the first terminal viewport; `.terminal.stream` must
-contain the command plus every path reported by Git, and every listed path must
-exist. The base64 PTY stream is the real interaction and must contain the
-command itself. `source-list.snap` then drives the freestanding WASM + DOM build
-through Chromium: top and bottom launcher snapshots jointly cover the complete
-listing, then it taps `build.zig`, snapshots packed cell styles (including
-Tree-sitter's Zig highlighting), resizes the pane separator, and finally
-verifies body scrolling.
+`zig build web-snap` loads `touch.dump.zon` and runs `touch.mjs` in Chromium.
+The fixed source fixture exercises complete keyword styles, touch Look through
+the self filesystem, separator resizing, and scrolling without another Look.
+Assertions locate current pane geometry; no live project source or author paths
+are captured in goldens.