MCPcopy
hub / github.com/jesseduffield/lazygit / ResetCustomPatch

Method ResetCustomPatch

pkg/integration/components/common.go:85–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (self *Common) ResetCustomPatch() {
86 self.t.GlobalPress(self.t.keys.Universal.CreatePatchOptionsMenu)
87
88 self.t.ExpectPopup().Menu().
89 Title(Equals("Patch options")).
90 Select(Contains("Reset patch")).
91 Confirm()
92}

Calls 8

EqualsFunction · 0.85
ContainsFunction · 0.85
GlobalPressMethod · 0.80
SelectMethod · 0.80
ExpectPopupMethod · 0.80
ConfirmMethod · 0.65
TitleMethod · 0.65
MenuMethod · 0.65

Tested by

no test coverage detected