jesseduffield.lazygit/pkg/integration/tests
Stefan Haller dc795b5db7 Remove unnecessary refresh
CheckMergeOrRebase calls Refresh already. However, it does an async refresh by
default, so we must turn this into a sync refresh so that moving the selection
down by one works even for the very first commit in history. Also, we must add
an explicit call to FocusLine so that the view selection is in sync with the
model selection; previously this was taken care of by the PostRefreshUpdate call
that happens as part of a refresh.
2025-07-03 17:04:10 +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 integration test for resetting to upstream branch with duplicate name 2025-06-04 20:43:01 +02:00
cherry_pick Adjust selection after cherry-picking commits 2025-07-03 17:04:10 +02:00
commit Remove unnecessary refresh 2025-07-03 17:04:10 +02:00
config Add an integration test for a config with a negative refspec 2025-03-11 08:33:41 +01:00
conflicts Mention which command is continued in PromptToContinueRebase 2025-04-20 15:53:17 +02:00
custom_commands Combine customCommand's subprocess, stream, and showOutput fields into a single output enum 2025-05-01 15:46:06 +02:00
demo Add number of commits to cherry-pick confirmation prompt 2025-01-08 21:08:42 -08:00
diff Allow changing diff context size and rename threshold when main view is focused 2025-04-23 08:38:46 +02:00
file Add user config gui.addRootItemInFileTree 2025-05-24 18:17:25 +02: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 Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +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 Use 'break' instead of 'edit' for BeginInteractiveRebaseForCommit with merge commit 2025-05-10 18:44:31 +02:00
misc Cleanup: simplify and tighten test expectations related to clipboard 2025-02-19 18:50:12 +01:00
patch_building Stage affected unstaged files when applying or reverting a patch 2025-07-02 16:19:06 +02:00
reflog Adjust selection after cherry-picking commits 2025-07-03 17:04:10 +02: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 Add unambigious refs/ prefix to all stash references 2025-06-15 16:14:59 +02:00
status Split behavior of rendering allBranchesLogCmd and switching to next cmd 2025-05-21 08:17:09 +02:00
submodule Fix view selection running out of sync with list selection when view isn't focused 2025-04-20 16:06:15 +02:00
sync Add config for auto-forwarding branches after fetching 2025-04-21 18:06:09 +02:00
tag Add integration tests showing resetting to duplicate named tags and branches 2025-06-04 20:43:01 +02:00
ui Allow clicking in main view to focus it 2025-04-21 18:03:24 +02: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 tests for applying a patch when there's a modified file 2025-07-02 16:19:06 +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