1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00
lazygit/pkg/integration/tests
Jesse Duffield 91909331b5 Fix flakey worktree tests
In the presentation layer, when showing branches, we'll show worktrees against branches if they're
associated. But there was a race condition: if the worktree model was refreshed after the branches model,
it wouldn't be used in the presentation layer when it came time to render the branches.

A better solution would be to have some way of signalling that a particular context needs to be refreshed
and after all the models are done being refreshed, we then refresh the contexts. This will prevent
double-renders
2023-07-30 18:35:36 +10:00
..
bisect When bisecting, always mark the current commit as good/bad, not the selected 2023-07-29 14:44:00 +02:00
branch Better tag creation UX 2023-07-22 14:36:35 +10:00
cherry_pick Use sentence case everywhere 2023-05-25 23:52:19 +10:00
commit Better tag creation UX 2023-07-22 14:36:35 +10:00
config Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
conflicts Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
custom_commands Allow checking for merge conflicts after running a custom command 2023-07-13 18:40:34 +10:00
diff Add busy count for integration tests 2023-07-08 22:54:52 +10:00
file Retry on index.lock error 2023-07-10 19:13:18 +10:00
filter_and_search Use fuzzy search when filtering a view 2023-07-22 13:14:29 +10:00
filter_by_path Use sentence case everywhere 2023-05-25 23:52:19 +10:00
interactive_rebase Add busy count for integration tests 2023-07-08 22:54:52 +10:00
misc feat: add os.copyToClipboardCmd to allow for a custom command 2023-07-29 19:09:59 +10:00
patch_building feat: add os.copyToClipboardCmd to allow for a custom command #1055 (#2784) 2023-07-29 19:35:52 +10:00
reflog Fix flakey test 2023-06-03 15:54:03 +10:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
staging Fix the title and text (and variable names) of the Discard Changes prompt 2023-06-26 08:15:35 +02:00
stash Remove StashWithMessage function 2023-07-10 15:09:17 +02:00
submodule Use sentence case everywhere 2023-05-25 23:52:19 +10:00
sync Fix pull rebase tests 2023-07-10 15:09:17 +02:00
tag Better tag creation UX 2023-07-22 14:36:35 +10:00
ui Use fields rather than methods on worktrees 2023-07-30 18:35:24 +10:00
undo Use sentence case everywhere 2023-05-25 23:52:19 +10:00
worktree Fix flakey worktree tests 2023-07-30 18:35:36 +10:00
test_list_generator.go cleanup integration test code 2023-02-26 12:54:13 +11:00
test_list.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
tests.go cleanup integration test code 2023-02-26 12:54:13 +11:00