mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
add assertion to prevent flakiness
This commit is contained in:
@@ -22,6 +22,7 @@ var Suggestions = components.NewIntegrationTest(components.NewIntegrationTestArg
|
|||||||
},
|
},
|
||||||
Run: func(shell *components.Shell, input *components.Input, assert *components.Assert, keys config.KeybindingConfig) {
|
Run: func(shell *components.Shell, input *components.Input, assert *components.Assert, keys config.KeybindingConfig) {
|
||||||
input.SwitchToBranchesWindow()
|
input.SwitchToBranchesWindow()
|
||||||
|
assert.CurrentViewName("localBranches")
|
||||||
|
|
||||||
input.PressKeys(keys.Branches.CheckoutBranchByName)
|
input.PressKeys(keys.Branches.CheckoutBranchByName)
|
||||||
assert.CurrentViewName("confirmation")
|
assert.CurrentViewName("confirmation")
|
||||||
|
|||||||
Reference in New Issue
Block a user