diff --git a/pkg/integration/tests/worktree/fast_forward_worktree_branch_should_not_pollute_current_worktree.go b/pkg/integration/tests/worktree/fast_forward_worktree_branch_should_not_pollute_current_worktree.go index 847dec9ecb5..cbe1ed94394 100644 --- a/pkg/integration/tests/worktree/fast_forward_worktree_branch_should_not_pollute_current_worktree.go +++ b/pkg/integration/tests/worktree/fast_forward_worktree_branch_should_not_pollute_current_worktree.go @@ -47,11 +47,13 @@ var FastForwardWorktreeBranchShouldNotPolluteCurrentWorktree = NewIntegrationTes Lines( Contains("mybranch").Contains("✓"), Contains("newbranch (worktree)").Contains("✓").IsSelected(), - ) + ). + NavigateToLine(Contains("mybranch")) // check the current worktree that it has no lines in the File changes pane t.Views().Files(). Focus(). + Press(keys.Files.RefreshFiles). LineCount(EqualsInt(0)) }, })