Is it permisable to cook while fasting?
It is permissible to cook whilst fasting.
“It is OK for a person to taste the food during the day whilst fasting, if necessary, and his fast is still valid so long as he does not deliberately swallow anything of it.”.
See Fataawa al-Lajnah al-Daa’imah, vol. 10, p. 332