mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
add tap function
This commit is contained in:
@ -26,10 +26,10 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Equals("On master: foo"),
|
||||
).
|
||||
SelectNextItem().
|
||||
Press(keys.Stash.RenameStash)
|
||||
|
||||
input.ExpectPrompt().Title(Equals("Rename stash: stash@{1}")).Type(" baz").Confirm()
|
||||
|
||||
input.Views().Stash().SelectedLine(Equals("On master: foo baz"))
|
||||
Press(keys.Stash.RenameStash).
|
||||
Tap(func() {
|
||||
input.ExpectPrompt().Title(Equals("Rename stash: stash@{1}")).Type(" baz").Confirm()
|
||||
}).
|
||||
SelectedLine(Equals("On master: foo baz"))
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user