1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/pkg/integration/components/actions.go
2022-12-28 11:00:22 +11:00

20 lines
385 B
Go

package components
// for running common actions
type Actions struct {
t *TestDriver
}
func (self *Actions) ContinueMerge() {
self.t.Views().current().Press(self.t.keys.Universal.CreateRebaseOptionsMenu)
self.t.ExpectPopup().Menu().
Title(Equals("Rebase Options")).
Select(Contains("continue")).
Confirm()
}
func (self *Actions) ContinueRebase() {
self.ContinueMerge()
}