jesseduffield.lazygit/pkg/integration/tests/ui
Stefan Haller 29d05e23f9 Add tests for the scroll-into-view regressions we fixed by hand
Since scrolling the selection into view became opt-in, five places have
had to be fixed by hand after the fact, none of them with a test. Cover
them now: making the scrolling automatic has to keep all five working,
and once it does, the hand-added scroll calls can go.

Two of them assert that the selection is visible rather than on an exact
scroll position, because the panel they look at changes height along the
way (filtering mode switches to half screen), or because what matters is
only that the commit we jumped to can be seen.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 08:04:13 +02:00
..
accordion.go Make integration tests using commits more robust 2026-07-09 11:56:27 +02:00
background_refresh_keeps_scroll_position.go Add a test that a background refresh keeps the scroll position 2026-08-14 08:04:13 +02:00
branches_not_first_tab.go Don't show a transient view whose window is not part of the layout 2026-07-17 12:07:24 +02:00
commits_not_first_tab.go Don't show a transient view whose window is not part of the layout 2026-07-17 12:07:24 +02:00
disable_switch_tab_with_panel_jump_keys.go Convert JumpToBlock to a list of multi-key bindings 2026-05-25 15:32:47 +02:00
drag_beyond_viewport.go Add a test for dragging a range selection past the bottom of a panel 2026-08-14 08:04:13 +02:00
empty_menu.go Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
filtering_scrolls_selection_into_view.go Add tests for the scroll-into-view regressions we fixed by hand 2026-08-14 08:04:13 +02:00
find_base_commit_for_fixup_scrolls_into_view.go Add tests for the scroll-into-view regressions we fixed by hand 2026-08-14 08:04:13 +02:00
hide_side_panel.go Add integration tests for configuring the side panels 2026-06-23 14:15:18 +02:00
keybinding_suggestions_dont_crash_on_disabled_bindings.go Fix crash when keybindings are disabled that we want to show in the status bar 2026-05-28 19:26:43 +02:00
keybinding_suggestions_when_switching_repos.go Avoid showing <esc> in options map when it doesn't do anything 2025-08-14 17:59:38 +02:00
menu_scroll_position_is_reset.go Add tests for the scroll-into-view regressions we fixed by hand 2026-08-14 08:04:13 +02:00
mode_specific_keybinding_suggestions.go Make integration tests using commits more robust 2026-07-09 11:56:27 +02:00
move_commit_scrolls_selection_into_view.go Add tests for the scroll-into-view regressions we fixed by hand 2026-08-14 08:04:13 +02:00
open_link_failure.go Use our new hyperlink support in the information view 2024-08-24 10:36:01 +02:00
page_up_and_down.go Add a test for paging up and down in a list 2026-08-14 08:04:13 +02:00
promote_tab_to_side_panel.go Add integration tests for configuring the side panels 2026-06-23 14:15:18 +02:00
range_select.go Create a range selection by dragging with the mouse in list views 2026-07-31 08:32:43 +02:00
range_select_with_autoscroll.go Keep range drags moving at panel edges 2026-07-31 08:32:43 +02:00
reload_side_panels.go Re-apply the side panel config on a live config reload 2026-06-23 14:15:18 +02:00
reorder_side_panels.go Add integration tests for configuring the side panels 2026-06-23 14:15:18 +02:00
sub_commits_scroll_position_is_reset.go Add tests for the scroll-into-view regressions we fixed by hand 2026-08-14 08:04:13 +02:00
switch_tab_from_menu.go Remove OptionMenuAlt1 2026-05-25 15:18:18 +02:00
switch_tab_with_panel_jump_keys.go Convert JumpToBlock to a list of multi-key bindings 2026-05-25 15:32:47 +02:00