mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-14 11:23:09 +02:00
20 lines
385 B
Go
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()
|
|
}
|