summaryrefslogtreecommitdiff
path: root/test/snapshots/lookloaded.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/lookloaded.snap')
-rw-r--r--test/snapshots/lookloaded.snap31
1 files changed, 19 insertions, 12 deletions
diff --git a/test/snapshots/lookloaded.snap b/test/snapshots/lookloaded.snap
index 5341a063..1f920a93 100644
--- a/test/snapshots/lookloaded.snap
+++ b/test/snapshots/lookloaded.snap
@@ -3,24 +3,25 @@
# loaded pane focuses and recenters even though realpath now fails. (This
# fs-last ordering is what lets the fs-less web build focus dump panes.)
lines big.txt 60
-start 30 100 -n 3
+start 31 100 -n 3
wait 8000 big.txt
stable 700 20000
-press left 5 8
-release left 5 8
+press left 5 9
+release left 5 9
stable 400 5000
key i
text big.txt:40 big.txt:10
key esc
settle 100
stable 400 5000
-press right 7 8
-release right 7 8
+press right 7 9
+release right 7 9
stable 700 15000
snap file-open
-# back to the shell: rm the file from disk in tty mode
-press left 38 11
-release left 38 11
+# Use the unrelated right-hand shell to remove the file: the source shell now
+# stays above its file and is only a few rows tall.
+press left 70 12
+release left 70 12
stable 400 5000
key c-b
stable 600 8000
@@ -33,9 +34,15 @@ stable 600 8000
snap removed
# look big.txt:10: nothing on disk, but the pane is loaded — it focuses and
# recenters on line 10 (before this change: realpath fails, look no-ops)
-# The source-local split leaves this terminal narrower than before: :10 now
-# starts at column 41 (the old column 51 was just past the wrapped command).
-press right 45 8
-release right 45 8
+# Put a fresh reference in the right-hand shell, then look it. This ensures the
+# gesture hits the missing path rather than empty space after source resizing.
+press left 55 9
+release left 55 9
+key i
+text big.txt:10
+key esc
+stable 400 5000
+press right 57 9
+release right 57 9
stable 700 15000
snap look-noFS