mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
add switch-to-view methods
This commit is contained in:
@ -18,9 +18,9 @@ var Revert = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) {
|
||||
assert.CommitCount(1)
|
||||
|
||||
input.SwitchToCommitsWindow()
|
||||
input.SwitchToCommitsView()
|
||||
|
||||
assert.CurrentView().Name("commits").Lines(
|
||||
assert.CurrentView().Lines(
|
||||
Contains("first commit"),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user