No, provided nothing is swallowed: the person puts a little on the tongue to check the salt or sweetness, then spits it out and rinses the mouth, and the fast remains valid because nothing reached the stomach. Al-Bukhārī cites in suspended (muʿallaq) form in his Book of Fasting that Ibn ʿAbbās said there is no harm in tasting the pot or something one intends to buy. It should be limited to real need — a cook, or a mother preparing food for her family — and not done idly, and if some of it is swallowed deliberately the fast is broken and that day must be made up.
Evidence — the daleel
Sahih al-Bukhari, Book of Fasting, chapter on the bathing of the fasting person — report of Ibn ʿAbbas cited by al-Bukhari in muʿallaq (suspended) form: 'There is no harm in tasting the pot or something [one wishes to buy]'Quran 2:187
On deen2u
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.