summaryrefslogtreecommitdiff
path: root/test/snapshots
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:37:38 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commite7cf866a3841398880ca94b0a00841ee82e1d227 (patch)
tree748805f2d9c4d8f987251da92e940ca5056c826d /test/snapshots
parent9b50cfd1ebc21a0fd043fc68a2c305205f449742 (diff)
downloadpardes-e7cf866a3841398880ca94b0a00841ee82e1d227.tar.gz
pardes-e7cf866a3841398880ca94b0a00841ee82e1d227.zip
tests: the image snapshot script (images) is a process case, test/process/tty_images.zig, its golden unchanged; checked against the old runner by the glyph art's ink and ground swapped (it fails in both)
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots')
-rw-r--r--test/snapshots/images.snap54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/snapshots/images.snap b/test/snapshots/images.snap
deleted file mode 100644
index d5dc580d..00000000
--- a/test/snapshots/images.snap
+++ /dev/null
@@ -1,54 +0,0 @@
-# image panes: right-click a .ppm opens petscii glyph art (no kitty in the
-# harness). The tag starts with the renderer's plain state fields followed by
-# its path and `Term Del`; the fields are display-only, while their toggles are
-# builtins under SPC t (the old clickable tag words sat past the pane's right
-# edge, so clicking them only ever hit the neighbouring shell's tag).
-ppmdiag pic.ppm
-start 31 150 -n 3
-wait 8000 pic.ppm
-stable 700 20000
-press left 5 9
-release left 5 9
-stable 400 5000
-key i
-text pic.ppm
-key esc
-settle 100
-press right 6 9
-release right 6 9
-wait 10000 img
-stable 700 20000
-snap img-open
-snapstyle img-open
-# SPC t l: the C64 Pepto palette gives way to the terminal's own 16 (the cells
-# stop carrying truecolor and carry ansi indices instead)
-key space
-key t
-key l
-stable 700 15000
-snapstyle term-palette
-# SPC t a: drop the printable-ASCII bitmaps from the matcher's glyph set, so
-# the art is blocks and sextants only. Captured as TEXT — this toggle changes
-# which glyph each cell picks, which a style capture cannot see (the reason
-# the old click-at-x=57 version of this step proved nothing even when it hit).
-key space
-key t
-key a
-stable 700 15000
-snap no-ascii
-# the tag takes an edit like any other pane's now — nothing live left in it to
-# protect, so the image early-return in enterTagEdit is gone. The image-state
-# prefix is wider than this source-local column, so widen the grid for this
-# final assertion. (A column-border drag intentionally takes width from only
-# one neighbour, which cannot expose this 82-column prefix.) Then click the
-# visible tail itself, at its `Term`. This proves the image tag is an ordinary
-# editor rather than accidentally typing at a clipped read-only path.
-resize 31 400
-stable 400 5000
-press left @Term 7
-release left @Term 7
-stable 400 5000
-key i
-send Zork\x20
-stable 400 5000
-snap tag-edit