From 378d4d4ed5daf6bba4ad12d535697b3436a32646 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 13 Sep 2026 08:13:07 +0200 Subject: [PATCH] Migrate range select tests to focused main view --- pkg/integration/tests/ui/range_select.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/integration/tests/ui/range_select.go b/pkg/integration/tests/ui/range_select.go index 4c5d8420a..d3568eadd 100644 --- a/pkg/integration/tests/ui/range_select.go +++ b/pkg/integration/tests/ui/range_select.go @@ -28,7 +28,7 @@ import ( // the range. var RangeSelect = NewIntegrationTest(NewIntegrationTestArgs{ - Description: "Verify range select works as expected in list views and in patch explorer views", + Description: "Verify range select works as expected in list views and in focused main view", ExtraCmdArgs: []string{}, Skip: false, SetupConfig: func(config *config.AppConfig) { @@ -37,7 +37,7 @@ var RangeSelect = NewIntegrationTest(NewIntegrationTestArgs{ }, SetupRepo: func(shell *Shell) { // We're testing the commits view as our representative list context, - // as well as the staging view, and we're using the exact same code to test + // as well as the focused main view, and we're using the exact same code to test // both to ensure they have the exact same behaviour (they are currently implemented // separately) // In both views we're going to have 10 lines starting from 'line 1' going down to @@ -180,7 +180,7 @@ var RangeSelect = NewIntegrationTest(NewIntegrationTestArgs{ ). PressEnter() - assertRangeSelectBehaviour(t.Views().Staging().IsFocused(), func() { t.Views().Staging().PressTab() }, 6) + assertRangeSelectBehaviour(t.Views().Main().IsFocused(), func() { t.Views().Main().PressTab() }, 6) t.Views().Branches().Focus() t.Views().Branches().