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>
528 lines
22 KiB
Plaintext
528 lines
22 KiB
Plaintext
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
|
|
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
|
|
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
|
|
n start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
|
|
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
|
|
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
|
|
n start
|
|
Initialized empty Git repository in /tmp/lazygitcl
|
|
j-e2e-modal-small/.git/
|
|
[main (root-commit) 5555bdd] 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 15c0d8c] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-modal-sma
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
╚════════════════════════════════════════════════╝
|
|
┌─ 3 Branches [L] R T ───────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 4 Commits [C] R ──────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 5 Stash (0) ──────────────────────────────────┐
|
|
│ No stashes │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 0 Main ───────────────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
┌─ Command Log ──────────────────────────────────┐
|
|
│ │
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 3 Branches [L] R T ═══════════════════════════╗
|
|
╚════════════════════════════════════════════════╝
|
|
┌─ 4 Commits [C] R ──────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 5 Stash (0) ──────────────────────────────────┐
|
|
│ No stashes │
|
|
└────────────────────────────────────────────────┘
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 3 Branches [L] R T ═══════════════════════════╗
|
|
╚════════════════════════════════════════════════╝
|
|
┌─ 4 Commits [C] R ──────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 5 Stash (0) ──────────────────────────────────┐
|
|
│ No stashes │
|
|
└────────────────────────────────────────────────┘
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 3 Branches [L] R T ───────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 4 Commits [C] R ══════════════════════════════╗
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 3 Branches [L] R T ───────────────────────────┐
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 4 Commits [C] R ══════════════════════════════╗
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
╔═ Help - Keybindings ════════════════════════════
|
|
══╗
|
|
║ Global:
|
|
║
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
╔═ Help - Keybindings ════════════════════════════
|
|
══╗
|
|
║ Global:
|
|
║
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
╔═ Help - Keybindings ════════════════════════════
|
|
══╗
|
|
║ Global:
|
|
║
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
╔═ 2 Files (3) ══════════════════════════════════╗
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
┌─ 1 Status ─────────────────────────────────────┐
|
|
│ main → 5555bdd │
|
|
└────────────────────────────────────────────────┘
|
|
┌─ 2 Files (3) ──────────────────────────────────┐
|
|
╔═ Help - Keybindings ════════════════════════════
|
|
══╗
|
|
║ Global:
|
|
║
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
|
|
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
|
|
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
|
|
n start
|
|
Initialized empty Git repository in /tmp/lazygitcl
|
|
j-e2e-modal-small/.git/
|
|
[main (root-commit) 5555bdd] 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 15c0d8c] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-modal-sma
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2
|
|
e-modal-small && cd /tmp/lazygitclj-e2e-modal-smal
|
|
l && bb --config /home/ajet/repos/lazygitclj/bb.ed
|
|
n start
|
|
Initialized empty Git repository in /tmp/lazygitcl
|
|
j-e2e-modal-small/.git/
|
|
[main (root-commit) 5555bdd] 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 15c0d8c] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-modal-sma
|
|
────────────────────────────────────────────────────────────────────────────────
|