Skip to content

Commit 99e8607

Browse files
committed
Update the test steps
Navigating to select the current worktree's branch Refresh files to ensure updated state
1 parent 3eceded commit 99e8607

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/integration/tests/worktree/fast_forward_worktree_branch_should_not_pollute_current_worktree.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ var FastForwardWorktreeBranchShouldNotPolluteCurrentWorktree = NewIntegrationTes
4747
Lines(
4848
Contains("mybranch").Contains("✓"),
4949
Contains("newbranch (worktree)").Contains("✓").IsSelected(),
50-
)
50+
).
51+
NavigateToLine(Contains("mybranch"))
5152

5253
// check the current worktree that it has no lines in the File changes pane
5354
t.Views().Files().
5455
Focus().
56+
Press(keys.Files.RefreshFiles).
5557
LineCount(EqualsInt(0))
5658
},
5759
})

0 commit comments

Comments
 (0)