Passing the assessments is not equal to getting hired. Some fail the medical, some don't get a visa, some don't pass background checks, the airline can suddenly changed their man power requirements at the last minutes, the reasons could be endless. So don't resign your current job until you sign the contact and get a visa.