# VHS E2E test for lazygitclj - Stash menu options # Tests stash options menu (S key opens menu) Output test/e2e/output/stash-menu.gif Output test/e2e/output/stash-menu.ascii Require bb Set Shell "bash" Set FontSize 14 Set Width 1000 Set Height 600 Set Framerate 10 # Setup test repo with changes and run lazygitclj Type "cd /home/ajet/repos/lazygitclj && bb e2e:setup /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start" Enter Sleep 2s # Open stash options menu with 'S' Type "S" Sleep 1s # Menu should be visible showing options: # a - Stash all changes # i - Stash all and keep index # U - Stash including untracked # s - Stash staged only # u - Stash unstaged only # Cancel with escape first Escape Sleep 500ms # Open menu again Type "S" Sleep 500ms # Stash all with 'a' Type "a" Sleep 1s # Files should be clean now # Check stash panel Type "4" Sleep 500ms # Quit Type "q" Sleep 1s # Cleanup test repo Type "rm -rf /tmp/lazygitclj-e2e-stash-menu" Enter Sleep 500ms