Normally WiFi has precedence over cellular data when available. If you want to be absolutely sure that you don't use cellular data, you can turn off cellular data in settings, restricting all data to WiFi only.
To do so, go to Settings>Cellular Data and slide the switch to off.