Hello,
Usually you receive it within the a couple of days and you will have a week to give an answer. If you ahve not received the written contract, I would suggest to call the HR and ask if there is any problem. Don't worry: if they confirmed that you will have an offer, you will receive one.
Best,
Luca