1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 11:02:41 +03:00

Fix more unstable tests

Similar to what was done in 457cdce61d, and for the same reason.

However, instead of waiting and fixing them one by one as we see them fail, I
decided to go about it more systematically. To do that, I added calls to
`time.Sleep(1 * time.Second)` in all the Shell.Commit* helper functions; this
ensures that all the commits we make get different committer time stamps, making
all these tests fail. With this I'm pretty confident that we're good now.
This commit is contained in:
Stefan Haller
2025-07-10 08:55:11 +02:00
parent 656cb3203c
commit bf19475733
7 changed files with 13 additions and 2 deletions

View File

@@ -37,6 +37,8 @@ var SuggestionsCommand = NewIntegrationTest(NewIntegrationTestArgs{
},
},
}
cfg.GetUserConfig().Git.LocalBranchSortOrder = "alphabetical"
},
Run: func(t *TestDriver, keys config.KeybindingConfig) {
t.Views().Branches().