This commit is contained in:
2026-01-21 11:27:51 -05:00
commit f70af9b185
50 changed files with 17166 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
# VHS E2E test for lazygitclj - Help panel
# Tests help display (? key shows keybindings)
Output test/e2e/output/help-panel.gif
Output test/e2e/output/help-panel.ascii
Require bb
Set Shell "bash"
Set FontSize 14
Set Width 1000
Set Height 600
Set Framerate 10
# Setup test repo and run lazygitclj
Type "./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-help && cd /tmp/lazygitclj-e2e-help && bb --config /home/ajet/repos/lazygitclj/bb.edn start"
Enter
Sleep 2s
# Open help panel with '?'
Type "?"
Sleep 2s
# Help panel should show keybindings for:
# - Global keys (q, r, tab, 1-4, j/k, z/Z, p, P, ?, D)
# - Files panel (space, a, c, d, s, S)
# - Commits panel ([/], space, g, C, t, r, y)
# - Branches panel ([/], enter, n, d, R, M, f)
# - Stash panel (space, g, d, n)
# Close help with escape
Escape
Sleep 500ms
# Verify we're back to normal view
Type "j"
Sleep 500ms
# Open help again with '?'
Type "?"
Sleep 1s
# Close with 'q' (also works)
Type "q"
Sleep 500ms
# Should be back to normal view
# Quit the app
Type "q"
Sleep 1s