context'when cherry-picking a commit in a new merge request'do
specifydo
cherry_pick_commit(create_merge_request: true)
expect(page).tohave_content("The commit has been successfully cherry-picked into cherry-pick-#{master_pickable_commit.short_id}. You can now submit a merge request to get this change into the original branch.")
expect(page).tohave_content("From cherry-pick-#{master_pickable_commit.short_id} into master")
end
end
context"I cherry-pick a commit from a different branch",:jsdo