summaryrefslogtreecommitdiff
path: root/test/snapshots/scroll.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/scroll.snap')
-rw-r--r--test/snapshots/scroll.snap31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/snapshots/scroll.snap b/test/snapshots/scroll.snap
new file mode 100644
index 00000000..8e55224d
--- /dev/null
+++ b/test/snapshots/scroll.snap
@@ -0,0 +1,31 @@
+# scrolling: wheel + scrollbar gutter clicks over real scrollback
+file s.txt x
+start 30 100
+wait 8000 s.txt
+stable 700 20000
+key c-b
+stable 600 8000
+text seq 1 200
+key enter
+wait 8000 199
+stable 700 15000
+key c-b
+stable 600 8000
+snap bottom
+wheel up 10 8
+wheel up 10 8
+wheel up 10 8
+stable 500 8000
+snap wheel3
+press left 1 10
+release left 1 10
+stable 500 8000
+snap gutter-up
+press right 1 5
+release right 1 5
+stable 500 8000
+snap gutter-down
+wheel down 10 8
+stable 500 8000
+snap wheel-down
+snapstyle wheel-down