diff --git a/pkg/integration/tests/interactive_rebase/drag_to_reorder_with_autoscroll.go b/pkg/integration/tests/interactive_rebase/drag_to_reorder_with_autoscroll.go index 5f8101b05..6d281aa06 100644 --- a/pkg/integration/tests/interactive_rebase/drag_to_reorder_with_autoscroll.go +++ b/pkg/integration/tests/interactive_rebase/drag_to_reorder_with_autoscroll.go @@ -25,6 +25,14 @@ var DragToReorderWithAutoscroll = NewIntegrationTest(NewIntegrationTestArgs{ MouseMoveToBottom(1). // Verify that the view scrolls OriginYAtLeast(3). + // Move the mouse back into the viewport + MouseMove(1, 1). + /* EXPECTED: + // This keeps the scroll as it was + OriginYAtLeast(3). + ACTUAL: */ + // This snaps back to reveal the original commit + OriginY(0). MouseRelease(). SelectedLines( Contains("commit-40"),