mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +02:00
add switch-to-view methods
This commit is contained in:
@ -15,8 +15,8 @@ var One = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
CreateNCommits(5) // these will appears at commit 05, 04, 04, down to 01
|
||||
},
|
||||
Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) {
|
||||
input.SwitchToCommitsWindow()
|
||||
assert.CurrentView().Name("commits").Lines(
|
||||
input.SwitchToCommitsView()
|
||||
assert.CurrentView().Lines(
|
||||
Contains("commit 05"),
|
||||
Contains("commit 04"),
|
||||
Contains("commit 03"),
|
||||
|
Reference in New Issue
Block a user