Hard-code "enter" for adding lines in integration tests

This one doesn't make a difference in practice because we don't remap the key in
tests, but if we would, then this would no longer work correctly. It's just more
correct this way.
This commit is contained in:
Stefan Haller 2025-08-15 17:49:09 +02:00
parent ea7050437d
commit 81868de264

View file

@ -27,7 +27,7 @@ func (self *CommitDescriptionPanelDriver) SwitchToSummary() *CommitMessagePanelD
}
func (self *CommitDescriptionPanelDriver) AddNewline() *CommitDescriptionPanelDriver {
self.t.pressFast(self.t.keys.Universal.Confirm)
self.t.pressFast("<enter>")
return self
}