summaryrefslogtreecommitdiff
path: root/test/snapshots/tag.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-25 11:05:21 -0300
committerGabriel Schneider <[email protected]>2026-08-25 12:28:58 -0300
commite5f9e172330bc4500995ddd5954ed94f94e07af6 (patch)
treeaa7c5079b4c2951cef5b5c15595d0b20bc3ae245 /test/snapshots/tag.snap
parent6f48508aa08396bcf9dd4da2cab1d221bcc53f78 (diff)
downloadpardes-e5f9e172330bc4500995ddd5954ed94f94e07af6.tar.gz
pardes-e5f9e172330bc4500995ddd5954ed94f94e07af6.zip
tests: a capture is a delta and a click names its word, so a tagline edit stops rewriting the suite
Diffstat (limited to 'test/snapshots/tag.snap')
-rw-r--r--test/snapshots/tag.snap25
1 files changed, 15 insertions, 10 deletions
diff --git a/test/snapshots/tag.snap b/test/snapshots/tag.snap
index 37f0b751..f37b2ac7 100644
--- a/test/snapshots/tag.snap
+++ b/test/snapshots/tag.snap
@@ -6,14 +6,19 @@ file t.txt ZZLOOKED
start 30 150 -n 3
wait 8000 t.txt
stable 700 20000
-# click into the tag tail of pane 0: straight into insert. Column 40 is inside
-# the gap that right-aligns the builtins — ordinary spaces in the tag, so this
-# is the tail like any other part of it. The layout box shows
+# click into the tag tail of pane 0: straight into insert. `@Save-2` is two
+# columns left of the first builtin - inside the gap that right-aligns them,
+# ordinary spaces in the tag, so this is the tail like any other part of it.
+# Anchored on the builtins rather than on a column or on the path, because the
+# builtins are the side that MOVES: one more builtin word slides them left and
+# a frozen column 28 (or a `@cwd+4`, which is the same fixed column, since the
+# path is left-anchored) would land on `Save` instead of in the gap.
+# The layout box shows
# the pane's BODY mode, not the tag's, so the evidence for "this click went to
# insert" is the next step — the typed text lands as text instead of running as
# normal-mode commands.
-press left 28 2
-release left 28 2
+press left @Save-2 2
+release left @Save-2 2
stable 400 5000
snap tag-focus
send \x20t.txt
@@ -35,11 +40,11 @@ settle 100
stable 400 5000
snap tag-exit
# re-enter the tag and look the typed word: Enter opens t.txt as a file pane.
-# Clicked ON the word rather than past the end of the tag and walked back into
-# it — the builtins are right-aligned now (config.tag_right_pad), so the tag no
-# longer ends where the typing does and a click past it lands in the gap.
-press left 31 2
-release left 31 2
+# Clicked ON the word itself rather than past the end of the tag and walked
+# back into it — the builtins are right-aligned (config.tag_right_pad), so the
+# tag no longer ends where the typing does and a click past it lands in the gap.
+press left @t.txt 2
+release left @t.txt 2
stable 400 5000
key enter
wait 10000 ZZLOOKED