jesseduffield.lazygit/pkg/integration/tests
Stefan Haller 3fe4db9316 Make RebaseCommands.AmendTo more robust
This fixes two problems with the "amend commit with staged changes" command:

1. Amending to a fixup commit didn't work (this would create a commmit with the
   title "fixup! fixup! original title" and keep that at the top of the branch)
2. Unrelated fixup commits would be squashed too.

The added integration test verifies that both of these problems are fixed.
2023-04-29 07:28:33 +02:00
..
bisect cleanup integration test code 2023-02-26 12:54:13 +11:00
branch use lowercase text for menu items (as we're still yet to standardise on 'Sentence case') 2023-04-15 17:29:31 +10:00
cherry_pick cleanup integration test code 2023-02-26 12:54:13 +11:00
commit Add integration test for amending from the files panel 2023-04-01 08:16:15 +02:00
config remove dependency on model 2022-12-27 22:52:20 +11:00
conflicts fix flaky tests 2023-04-14 21:01:45 +10:00
custom_commands Rename test files to match test names 2023-04-13 19:17:08 +02:00
diff Add integration test for ignoring whitespace in diff 2023-02-07 13:33:10 +01:00
file show file tree by default in integration tests 2023-02-26 13:01:51 +11:00
filter_by_path cleanup integration test code 2023-02-26 12:54:13 +11:00
interactive_rebase Make RebaseCommands.AmendTo more robust 2023-04-29 07:28:33 +02:00
misc migrate initial open test 2023-02-19 15:48:09 +11:00
patch_building fix flaky tests 2023-04-14 21:01:45 +10:00
reflog migrate reflog integration tests 2023-02-22 21:15:03 +11:00
shared migrate merge conflict tests 2023-02-26 11:22:24 +11:00
staging cleanup integration test code 2023-02-26 12:54:13 +11:00
stash migrate stash tests 2023-02-20 21:52:27 +11:00
submodule cleanup integration test code 2023-02-26 12:54:13 +11:00
sync show file tree by default in integration tests 2023-02-26 13:01:51 +11:00
tag add reset to tag test 2023-02-20 19:01:08 +11:00
ui show file tree by default in integration tests 2023-02-26 13:01:51 +11:00
undo migrate undo2 2023-02-20 18:20:23 +11:00
test_list.go Make RebaseCommands.AmendTo more robust 2023-04-29 07:28:33 +02:00
test_list_generator.go cleanup integration test code 2023-02-26 12:54:13 +11:00
tests.go cleanup integration test code 2023-02-26 12:54:13 +11:00