summaryrefslogtreecommitdiff
path: root/test/snapshots/tagbottomimage.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-11 12:38:56 -0300
committerGabriel Schneider <[email protected]>2026-09-15 17:24:42 -0300
commit682e237df7e8b22f820d14a4adee58e6e2f84268 (patch)
tree5d888cb46f1a49e89fc55e2a4c232d3af0265b1d /test/snapshots/tagbottomimage.snap
parent6878e1c309172d624c0d7a3555f6f0217ae6770e (diff)
downloadpardes-682e237df7e8b22f820d14a4adee58e6e2f84268.tar.gz
pardes-682e237df7e8b22f820d14a4adee58e6e2f84268.zip
trunk: resume before the Reload experiment
Empty marker on the last pre-Reload change. Keep the Reload experiment on reload (3801914), its first change on reload-start (200a1fc), and the unfinished performance investigation on reload-perf-wip.
Diffstat (limited to 'test/snapshots/tagbottomimage.snap')
-rw-r--r--test/snapshots/tagbottomimage.snap33
1 files changed, 13 insertions, 20 deletions
diff --git a/test/snapshots/tagbottomimage.snap b/test/snapshots/tagbottomimage.snap
index 94f1e013..e24a5c5c 100644
--- a/test/snapshots/tagbottomimage.snap
+++ b/test/snapshots/tagbottomimage.snap
@@ -4,24 +4,24 @@
# "the tag moved" and "the message row moved with it" can come apart. Nothing
# in tagbottom.snap touches one.
ppmdiag pic.ppm
-start 30 150 -n 1
-wait 8000 New Newcol
+start 31 150 -n 1
+wait 8000 Newcol Joincol
stable 700 20000
# open it the way images.snap does: type the name into the shell pane's own
-# text and right-click it. The image lands in a column of its own on the left.
-press left 5 8
-release left 5 8
+# text and right-click it. The narrow-window image splits below that shell.
+press left 5 9
+release left 5 9
stable 400 5000
key i
text pic.ppm
key esc
settle 100
-press right 6 8
-release right 6 8
+press right 6 9
+release right 6 9
wait 10000 img
stable 700 20000
snap img-top
-# SPC t b: the tag leaves row 1 for row 29 and the glyph art slides up into the
+# SPC t b: the tag leaves grid row 6 for row 30 and the glyph art slides up into the
# row it left. The style capture is the half a text grid cannot see — the
# tagline's chrome colours have to travel with it, and a tag row drawn in the
# palette of the cell art under it would read as part of the picture.
@@ -32,7 +32,7 @@ snapstyle img-bottom
# `/` on an image pane. There is no text to search, and that is the point: the
# prompt is drawn by the message-row pass, which runs OUTSIDE renderPane
# precisely so an early-returning pane still gets one. With Tagbottom it lands
-# on the last row of the art (grid 28), just above the tagline on grid 29 —
+# on the last row of the art (grid 29), just above the tagline on grid 30 —
# over the picture, never over the tag it was cut from.
key /
send ZZ
@@ -43,18 +43,11 @@ key esc
settle 100
stable 400 5000
# ...and EXECUTE `Del` on that bottom tagline, which is the assertion the
-# pixels cannot make: the middle click has to map row 15 to the image pane's
+# pixels cannot make: the middle click has to map grid row 30 to the image pane's
# TAG row rather than to a body row it has no body for. The image pane goes
# away entirely and the shell takes the whole window back.
-#
-# Row 15 is the image pane's OWN last row, which is where Tagbottom puts its
-# tag; row 30 is the shell's. This used to click column 95 of row 30, which is
-# blank space 176 columns short of the shell's right-aligned `Del` and in the
-# wrong pane besides, so it deleted nothing and the golden recorded an image
-# pane that never went away - along with a widen-to-300-and-back either side of
-# it, scaffolding for a column that was wrong anyway. `New Newtty Del` is fully
-# on screen at 150 columns (see the img-bottom capture above).
-press middle @Del 15
-release middle @Del 15
+# `@Del` locates the command text without depending on the image's metadata.
+press middle @Del 31
+release middle @Del 31
stable 700 15000
snap del-image