From e1e042fb665c9d893253823fd89bedc2dcb7c53c Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Mon, 16 Mar 2026 08:36:07 +0100 Subject: [PATCH] Revert test workaround Now that the bug with selecting the next stageable line is fixed, we can go back to the original, simpler way of expressing the test. --- .../staging/stage_partial_block_of_changes_first_lines.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/integration/tests/staging/stage_partial_block_of_changes_first_lines.go b/pkg/integration/tests/staging/stage_partial_block_of_changes_first_lines.go index 56c285cec..0588184a0 100644 --- a/pkg/integration/tests/staging/stage_partial_block_of_changes_first_lines.go +++ b/pkg/integration/tests/staging/stage_partial_block_of_changes_first_lines.go @@ -50,8 +50,7 @@ var StagePartialBlockOfChangesFirstLines = NewIntegrationTest(NewIntegrationTest PressPrimaryAction(). NavigateToLine(Contains("+2b")). PressPrimaryAction(). - // TODO: we expect +3b to be selected, but it isn't, so navigate to it - NavigateToLine(Contains("+3b")). + SelectedLines(Contains("+3b")). PressPrimaryAction() t.Views().StagingSecondary().