From e2b4d9cff31de368ea88c131a8b7487de726c75a Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Fri, 21 Jun 2024 19:11:56 +0200 Subject: [PATCH] Remove unneccesary test actions Pressing enter in the patch building view does nothing. --- .../patch_building/move_to_index_part_of_adjacent_added_lines.go | 1 - .../tests/patch_building/move_to_later_commit_partial_hunk.go | 1 - .../tests/patch_building/move_to_new_commit_partial_hunk.go | 1 - 3 files changed, 3 deletions(-) diff --git a/pkg/integration/tests/patch_building/move_to_index_part_of_adjacent_added_lines.go b/pkg/integration/tests/patch_building/move_to_index_part_of_adjacent_added_lines.go index b67140a2e..89d8c366a 100644 --- a/pkg/integration/tests/patch_building/move_to_index_part_of_adjacent_added_lines.go +++ b/pkg/integration/tests/patch_building/move_to_index_part_of_adjacent_added_lines.go @@ -40,7 +40,6 @@ var MoveToIndexPartOfAdjacentAddedLines = NewIntegrationTest(NewIntegrationTestA t.Views().PatchBuilding(). IsFocused(). - PressEnter(). PressPrimaryAction() t.Views().Information().Content(Contains("Building patch")) diff --git a/pkg/integration/tests/patch_building/move_to_later_commit_partial_hunk.go b/pkg/integration/tests/patch_building/move_to_later_commit_partial_hunk.go index 66ef430fd..9ec9efac7 100644 --- a/pkg/integration/tests/patch_building/move_to_later_commit_partial_hunk.go +++ b/pkg/integration/tests/patch_building/move_to_later_commit_partial_hunk.go @@ -40,7 +40,6 @@ var MoveToLaterCommitPartialHunk = NewIntegrationTest(NewIntegrationTestArgs{ t.Views().PatchBuilding(). IsFocused(). - PressEnter(). PressPrimaryAction(). PressEscape() diff --git a/pkg/integration/tests/patch_building/move_to_new_commit_partial_hunk.go b/pkg/integration/tests/patch_building/move_to_new_commit_partial_hunk.go index 62dfb1dec..6a86546c9 100644 --- a/pkg/integration/tests/patch_building/move_to_new_commit_partial_hunk.go +++ b/pkg/integration/tests/patch_building/move_to_new_commit_partial_hunk.go @@ -40,7 +40,6 @@ var MoveToNewCommitPartialHunk = NewIntegrationTest(NewIntegrationTestArgs{ t.Views().PatchBuilding(). IsFocused(). - PressEnter(). PressPrimaryAction() t.Views().Information().Content(Contains("Building patch"))