diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-10 17:32:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 685b8c8e74c9edbdf701594f50ff1b70ac288ec9 (patch) | |
| tree | f303bd5e1f422030c2c645ea2d6c3a393990fb5e /test/web-snapshots/README.md | |
| parent | ddc2eefb1e7cdd402593efb1297c25fc7ae4b110 (diff) | |
| download | pardes-685b8c8e74c9edbdf701594f50ff1b70ac288ec9.tar.gz pardes-685b8c8e74c9edbdf701594f50ff1b70ac288ec9.zip | |
web snapshots: add switch for saving/loading exports, update web version, web snapshot tooling
Diffstat (limited to 'test/web-snapshots/README.md')
| -rw-r--r-- | test/web-snapshots/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/web-snapshots/README.md b/test/web-snapshots/README.md new file mode 100644 index 00000000..d2ea84f8 --- /dev/null +++ b/test/web-snapshots/README.md @@ -0,0 +1,18 @@ +# Web browser snapshots + +`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 TTY mode, run `clear`, then run `git ls-files '*.zig'`. +3. Leave the pane in TTY mode and middle-click Pardes's `Dump` builtin. +4. Copy the resulting dump into `source-list.dump.zon` without editing it. + +The visible `.body` must exactly match the command plus every path reported by +Git (and the final prompt). The base64 PTY stream must contain the command +itself. `source-list.snap` then drives that dump through Chromium: it checks the +full listing, taps `build.zig`, snapshots tree-sitter style runs, resizes the +pane separator, and finally verifies body scrolling. |
