diff options
Diffstat (limited to 'pkg/integration/tests/worktree/remove_worktree_from_branch.go')
-rw-r--r-- | pkg/integration/tests/worktree/remove_worktree_from_branch.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/integration/tests/worktree/remove_worktree_from_branch.go b/pkg/integration/tests/worktree/remove_worktree_from_branch.go index 2885f5669..7ef9d0ae9 100644 --- a/pkg/integration/tests/worktree/remove_worktree_from_branch.go +++ b/pkg/integration/tests/worktree/remove_worktree_from_branch.go @@ -29,6 +29,13 @@ var RemoveWorktreeFromBranch = NewIntegrationTest(NewIntegrationTestArgs{ NavigateToLine(Contains("newbranch")). Press(keys.Universal.Remove). Tap(func() { + t.ExpectPopup(). + Menu(). + Title(Equals("Delete branch 'newbranch'?")). + Select(Contains("Delete local branch")). + Confirm() + }). + Tap(func() { t.ExpectPopup().Menu(). Title(Equals("Branch newbranch is checked out by worktree linked-worktree")). Select(Equals("Remove worktree")). |