Includes test tapes for navigation, branch operations, stash operations, help panel, commits, and cursor navigation. Resolved stash conflicts by keeping simpler test versions. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
639 B
VHS
39 lines
639 B
VHS
# VHS E2E test for lazygitclj - Help panel
|
|
# Tests opening and closing help with ?
|
|
|
|
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 with ?
|
|
Type "?"
|
|
Sleep 2s
|
|
|
|
# Close help with ?
|
|
Type "?"
|
|
Sleep 1s
|
|
|
|
# Open help again
|
|
Type "?"
|
|
Sleep 1s
|
|
|
|
# Close with q
|
|
Type "q"
|
|
Sleep 1s
|
|
|
|
# Quit the app
|
|
Type "q"
|
|
Sleep 1s
|