jesseduffield.lazygit/pkg/integration/tests
Stefan Haller f20b7ea593 Add test demonstrating problem with main view display when pressing e in a stack of branches
We keep the same commit selected (even though its index changed because of the
added update-ref todo), which is nice; however, the main view shows the diff of
the wrong commit, which is very confusing. I'm suprised that this hasn't been
noticed yet.

The reason why this happens is that we first do the refresh, which includes
re-rendering the main view diff (with the same commit index as before, so the
wrong one), and then we restore the correct commit index but don't render the
main view again.
2025-04-08 16:14:31 +02:00
..
bisect Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
branch Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
cherry_pick Add number of commits to cherry-pick confirmation prompt 2025-01-08 21:08:42 -08:00
commit Fix the bug mentioned in the previous commit 2025-03-25 09:56:01 +01:00
config Add an integration test for a config with a negative refspec 2025-03-11 08:33:41 +01:00
conflicts Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
custom_commands Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
demo Add number of commits to cherry-pick confirmation prompt 2025-01-08 21:08:42 -08:00
diff Add "Absolute path" item to the file view's copy menu 2025-03-25 10:00:56 +01:00
file Add "Absolute path" item to the file view's copy menu 2025-03-25 10:00:56 +01:00
filter_and_search Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
filter_by_author Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
filter_by_path Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
interactive_rebase Add test demonstrating problem with main view display when pressing e in a stack of branches 2025-04-08 16:14:31 +02:00
misc Cleanup: simplify and tighten test expectations related to clipboard 2025-02-19 18:50:12 +01:00
patch_building Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
reflog Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
shell_commands Rename "Custom Command" to "Shell Command" 2024-08-17 10:56:03 +02:00
staging Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
stash feat: Implement range stash drop 2025-04-02 17:34:35 +08:00
status Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
submodule Update disabled message 2025-04-07 09:42:19 +02:00
sync Fix typos 2025-01-03 10:50:36 +11:00
tag Cleanup: simplify and tighten test expectations related to clipboard 2025-02-19 18:50:12 +01:00
ui Disable global keybinds while popups are active 2025-02-23 08:44:48 +01:00
undo Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
worktree Fix typos 2025-01-03 10:50:36 +11:00
test_list.go Add integration test 2025-04-07 09:42:19 +02:00
test_list_generator.go Fix typos 2025-01-03 10:50:36 +11:00
tests.go Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00