From 81868de2645bcee5322759a8663f76a50f72e47e Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Fri, 15 Aug 2025 17:49:09 +0200 Subject: [PATCH] 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. --- pkg/integration/components/commit_description_panel_driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/integration/components/commit_description_panel_driver.go b/pkg/integration/components/commit_description_panel_driver.go index 6bde2cd29..905080380 100644 --- a/pkg/integration/components/commit_description_panel_driver.go +++ b/pkg/integration/components/commit_description_panel_driver.go @@ -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("") return self }