Remove all the papery layers and ensure they are approximately the same size, so if any are particularly large, remove an extra layer to bring them in line with the others..
After around 10 minutes, test if the shallots are cooked by poking with a sharp knife to see how tender they are. If it goes in easily, they are ready.