Female hired - gets pregnant - confirmed within 3 weeks of joining, will she be entitled to maternity benefits?

paarth-jain1
If one female employee is pregnant and before she goes on to maternity leave a new female is hired for a 6-month trainig period and with a probation period of 1 year, later on, the new female hired also gets pregnancy confirmed within 3 weeks of joining, will she be entitled to maternity benefits? Will her dismissal just a week before the confirmation of pregnancy be considered valid?
If you are knowledgeable about any fact, resource or experience related to this topic - please add your views. For articles and copyrighted material please only cite the original source link. Each contribution will make this page a resource useful for everyone. Join To Contribute