mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
add switch-to-view methods
This commit is contained in:
@ -22,9 +22,9 @@ var Diff = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
shell.Checkout("branch-a")
|
||||
},
|
||||
Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) {
|
||||
input.SwitchToBranchesWindow()
|
||||
input.SwitchToBranchesView()
|
||||
|
||||
assert.CurrentView().Name("localBranches").TopLines(
|
||||
assert.CurrentView().TopLines(
|
||||
Contains("branch-a"),
|
||||
Contains("branch-b"),
|
||||
)
|
||||
|
Reference in New Issue
Block a user