Files
lazygitclj/test/e2e/output/stash-menu.ascii
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

757 lines
49 KiB
Plaintext

>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash-menu/.git/
[main (root-commit) 2d8992e] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 722b1a7] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash-menu
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
║ ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2d8992e Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
║ ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ 2d8992e Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
║ ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ 2d8992e Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
║ ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ 2d8992e Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
║ ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2d8992e Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
║ ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ 2d8992e Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ diff --git a/file1.txt b/file1.txt │
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
║ M file1.txt ║ │ +++ b/file1.txt │
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
║ ║ │ line1 │
║ ║ │ +modified │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch ╔═ Stash Options ═════════════════════════╗ │
│ * main ║ a - Stash all changes ║ │
│ ║ i - Stash all changes and keep index ║ │
│ ║ U - Stash all including untracked files ║ │
└─────────────────────────║ s - Stash staged changes only ║ │
┌─ 4 Commits [C] R ───────║ u - Stash unstaged changes only ║ │
│ 2d8992e Initial commit ║ ║ │
│ ║ esc - Cancel ║ │
│ ╚═════════════════════════════════════════╝ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (0) ──────────────┐ │ │
│ No stashes │ │ │
│ │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
└────────────────────────────┘ │ │
└──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ │
└────────────────────────────┘ │ │
╔═ 2 Files (1) ══════════════╗ │ │
║ ?? new-file.txt ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2d8992e Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (1) ──────────────┐ │ │
│ 0 2d8992e Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ │
└────────────────────────────┘ │ │
╔═ 2 Files (1) ══════════════╗ │ │
║ ?? new-file.txt ║ │ │
║ ║ │ │
║ ║ │ │
║ ║ │ │
╚════════════════════════════╝ │ │
┌─ 3 Branches [L] R T ───────┐ │ │
│ feature-branch │ │ │
│ * main │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 4 Commits [C] R ──────────┐ │ │
│ 2d8992e Initial commit │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└────────────────────────────┘ │ │
┌─ 5 Stash (1) ──────────────┐ │ │
│ 0 2d8992e Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ commit 2d8992e3d54d2ae2678f4f561f429f8e0329bd8f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (1) ──────────────┐ │ Date: Thu Jan 22 12:19:11 2026 -0500 │
│ ?? new-file.txt │ │ │
│ │ │ Initial commit │
│ │ │ --- │
│ │ │ README.md | 1 + │
└────────────────────────────┘ │ file1.txt | 1 + │
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
│ * main │ │ │
│ │ │ diff --git a/README.md b/README.md │
│ │ │ new file mode 100644 │
└────────────────────────────┘ │ index 0000000..181e1c3 │
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
║ 2d8992e Initial commit ║ │ +++ b/README.md │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +# Test Project │
║ ║ │ diff --git a/file1.txt b/file1.txt │
╚════════════════════════════╝ │ new file mode 100644 │
┌─ 5 Stash (1) ──────────────┐ │ index 0000000..a29bdeb │
│ 0 2d8992e Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
Stashed all changes
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
│ main → 2d8992e │ │ commit 2d8992e3d54d2ae2678f4f561f429f8e0329bd8f │
└────────────────────────────┘ │ Author: Test User <test@example.com> │
┌─ 2 Files (1) ──────────────┐ │ Date: Thu Jan 22 12:19:11 2026 -0500 │
│ ?? new-file.txt │ │ │
│ │ │ Initial commit │
│ │ │ --- │
│ │ │ README.md | 1 + │
└────────────────────────────┘ │ file1.txt | 1 + │
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
│ * main │ │ │
│ │ │ diff --git a/README.md b/README.md │
│ │ │ new file mode 100644 │
└────────────────────────────┘ │ index 0000000..181e1c3 │
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
║ 2d8992e Initial commit ║ │ +++ b/README.md │
║ ║ │ @@ -0,0 +1 @@ │
║ ║ │ +# Test Project │
║ ║ │ diff --git a/file1.txt b/file1.txt │
╚════════════════════════════╝ │ new file mode 100644 │
┌─ 5 Stash (1) ──────────────┐ │ index 0000000..a29bdeb │
│ 0 2d8992e Initial comm... │ └──────────────────────────────────────────────────────────────┘
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
│ │ │ │
│ │ │ │
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash-menu/.git/
[main (root-commit) 2d8992e] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 722b1a7] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash-menu
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash-menu && cd /tmp/lazygitclj-e2e-stash-
menu && bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash-menu/.git/
[main (root-commit) 2d8992e] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 722b1a7] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-stash-menu
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────