Skip to content

Commit

Permalink
Update the test steps
Browse files Browse the repository at this point in the history
Navigating to select the current worktree's branch
Refresh files to ensure updated state
  • Loading branch information
john-mutuma committed Nov 21, 2024
1 parent 3eceded commit 99e8607
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
},
})

0 comments on commit 99e8607

Please sign in to comment.