mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-06 03:53:59 +02:00
add assertion to prevent flakiness
This commit is contained in:
parent
faed509bfd
commit
2bdefe2049
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user