From 2bdefe20498f58fe3e8e41a2be08650576ec6d6f Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 12 Aug 2022 09:56:21 +1000 Subject: [PATCH] add assertion to prevent flakiness --- pkg/integration/tests/branch/suggestions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/integration/tests/branch/suggestions.go b/pkg/integration/tests/branch/suggestions.go index 2bd4fa340..0d8269f1d 100644 --- a/pkg/integration/tests/branch/suggestions.go +++ b/pkg/integration/tests/branch/suggestions.go @@ -22,6 +22,7 @@ var Suggestions = components.NewIntegrationTest(components.NewIntegrationTestArg }, Run: func(shell *components.Shell, input *components.Input, assert *components.Assert, keys config.KeybindingConfig) { input.SwitchToBranchesWindow() + assert.CurrentViewName("localBranches") input.PressKeys(keys.Branches.CheckoutBranchByName) assert.CurrentViewName("confirmation")