diff options
Diffstat (limited to 'pkg/integration/tests/interactive_rebase/drop_todo_commit_with_update_ref.go')
-rw-r--r-- | pkg/integration/tests/interactive_rebase/drop_todo_commit_with_update_ref.go | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/pkg/integration/tests/interactive_rebase/drop_todo_commit_with_update_ref.go b/pkg/integration/tests/interactive_rebase/drop_todo_commit_with_update_ref.go index c247f1743..fcbf1abe5 100644 --- a/pkg/integration/tests/interactive_rebase/drop_todo_commit_with_update_ref.go +++ b/pkg/integration/tests/interactive_rebase/drop_todo_commit_with_update_ref.go @@ -30,17 +30,8 @@ var DropTodoCommitWithUpdateRef = NewIntegrationTest(NewIntegrationTestArgs{ Contains("commit 02"), Contains("commit 01"), ). - // Once "e" is fixed we can just hit "e", but for now we need to - // manually do a command-line rebase - // NavigateToLine(Contains("commit 01")). - // Press(keys.Universal.Edit). - Tap(func() { - t.GlobalPress(keys.Universal.ExecuteCustomCommand) - t.ExpectPopup().Prompt(). - Title(Equals("Custom Command:")). - Type(`git -c core.editor="perl -i -lpe 'print \"break\" if $.==1'" rebase -i HEAD~5`). - Confirm() - }). + NavigateToLine(Contains("commit 01")). + Press(keys.Universal.Edit). Focus(). Lines( Contains("pick").Contains("(*) commit 06"), |