summaryrefslogtreecommitdiff
path: root/test/snapshots/windowops.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/windowops.snap')
-rw-r--r--test/snapshots/windowops.snap53
1 files changed, 53 insertions, 0 deletions
diff --git a/test/snapshots/windowops.snap b/test/snapshots/windowops.snap
new file mode 100644
index 00000000..7e6cbee4
--- /dev/null
+++ b/test/snapshots/windowops.snap
@@ -0,0 +1,53 @@
+# hover resize hints, border drags, move drag, Alt-n, Ctrl-w focus, Debug box
+file w.txt x
+start 30 100
+wait 8000 w.txt
+stable 700 20000
+# hover over the left column's last col: vertical dash hint
+motion 50 10
+stable 400 5000
+snap hover-v
+# hover over the top-left pane's last row: horizontal dash hint
+motion 20 16
+stable 400 5000
+snap hover-h
+# drag the vertical border 10 cols left
+press left 50 10
+drag left 40 10
+stable 400 5000
+snap border-drag
+release left 40 10
+stable 500 8000
+snap border-done
+# drag the horizontal border up 4 rows (pane 0's new last row)
+press left 20 16
+drag left 20 12
+release left 20 12
+stable 500 8000
+snap hborder-done
+# move pane 1 (its gutter box) into the right column
+press left 1 17
+drag left 70 8
+stable 400 5000
+snap move-preview
+release left 70 8
+stable 500 8000
+snap moved
+# Alt-n: a new shell below the active pane
+key a-n
+stable 700 15000
+snap altn
+# Ctrl-w h: focus left
+key c-w h
+stable 400 5000
+snap focus-left
+# Debug overlay on (topbar middle-click on Debug), then off
+press middle 19 1
+release middle 19 1
+stable 400 8000
+snap debug-on
+snapstyle debug-on
+press middle 19 1
+release middle 19 1
+stable 400 8000
+snap debug-off