From b4e98063521f96bf65281a8e4bcec21a577df826 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 28 Dec 2022 10:32:36 +1100 Subject: [PATCH] fix test --- .../tests/branch/rebase_and_drop.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/integration/tests/branch/rebase_and_drop.go b/pkg/integration/tests/branch/rebase_and_drop.go index dc1cfddea..5996eb1fb 100644 --- a/pkg/integration/tests/branch/rebase_and_drop.go +++ b/pkg/integration/tests/branch/rebase_and_drop.go @@ -18,20 +18,20 @@ var RebaseAndDrop = NewIntegrationTest(NewIntegrationTestArgs{ shell.EmptyCommit("to keep") }, Run: func(t *TestDriver, keys config.KeybindingConfig) { - t.Views().Branches(). - Focus(). - Lines( - Contains("first-change-branch"), - Contains("second-change-branch"), - Contains("original-branch"), - ) - t.Views().Commits(). TopLines( - Contains("to keep").IsSelected(), + Contains("to keep"), Contains("to remove"), Contains("first change"), Contains("original"), + ) + + t.Views().Branches(). + Focus(). + Lines( + Contains("first-change-branch").IsSelected(), + Contains("second-change-branch"), + Contains("original-branch"), ). SelectNextItem(). Press(keys.Branches.RebaseBranch)