You need to cook the potatoes by themselves first to ensure that the potatoes are fully cooked. After that you add the green beans to the baking sheet and cook the two together.