Files
lazygitclj/test/e2e/cursor-navigation.tape
Adam Jeniski f0c65dedf5 Fix e2e tests and clean up debug artifacts
- Remove nested test/e2e/test/ directory (bad debug data)
- Fix run-all.sh to run VHS from repo root, preventing nested output
- Fix cursor-navigation.tape to use setup script instead of inline shell
- Add setup-cursor-test.sh for cursor navigation tests
- Regenerate all test outputs without FileNotFoundException errors
- Add debug tape/output files to .gitignore
- Remove debug.tape from test suite (for local debugging only)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 12:20:26 -05:00

53 lines
818 B
VHS

# VHS E2E test for lazygitclj - Cursor navigation
# Tests </> for top/bottom and PgUp/PgDn for page scroll
Output test/e2e/output/cursor-navigation.gif
Output test/e2e/output/cursor-navigation.ascii
Require bb
Set Shell "bash"
Set FontSize 14
Set Width 1000
Set Height 600
Set Framerate 10
# Setup test repo with many files using setup script
Type "./test/e2e/setup-cursor-test.sh && cd /tmp/lazygitclj-e2e-cursor && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
Enter
Sleep 3s
# Navigate down a few times
Type "j"
Sleep 200ms
Type "j"
Sleep 200ms
Type "j"
Sleep 200ms
Type "j"
Sleep 500ms
# Go to top with <
Type "<"
Sleep 500ms
# Go to bottom with >
Type ">"
Sleep 500ms
# Page up
PageUp
Sleep 500ms
# Page down
PageDown
Sleep 500ms
# Go to top again
Type "<"
Sleep 500ms
# Quit
Type "q"
Sleep 1s