Samajwadi Party chief and former Uttar Pradesh chief minister Akhilesh Yadav has tested positive for Covid-19.