# VHS E2E test for lazygitclj - Commits panel tabs # Tests tab switching between Commits and Reflog ([ and ] keys) Output test/e2e/output/commits-tabs.gif Output test/e2e/output/commits-tabs.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-commits-tabs && cd /tmp/lazygitclj-e2e-commits-tabs && bb --config /home/ajet/repos/lazygitclj/bb.edn start" Enter Sleep 2s # Switch to commits panel with '2' Type "2" Sleep 500ms # Should show [Commits] | Reflog tab indicator # Switch to Reflog tab with ']' Type "]" Sleep 500ms # Should now show Commits | [Reflog] tab indicator # Navigate reflog entries Type "j" Sleep 500ms Type "k" Sleep 500ms # Switch back to Commits with '[' Type "[" Sleep 500ms # Should be back on Commits tab Type "j" Sleep 500ms # Quit Type "q" Sleep 1s