def test_add_new_functionary_empty_fields(self):
     self.go_to_page()
     add_new_functionary_page = AddNewFunctionaryPage(self.driver)
     add_new_functionary_page.click_save_button()
     self.assertTrue(add_new_functionary_page.is_save_new_functionary_error_message_display(),GM.MISSING_ERROR_MSG)
 def add_new_functionary_existant_functionary(self):
     self.go_to_page()
     add_new_functionary_page = AddNewFunctionaryPage(self.driver)
     add_new_functionary_page.enter_first_name("Jorge")
     add_new_functionary_page.enter_first_surname("Gomez")
     add_new_functionary_page.enter_second_surname("Gomez")
     add_new_functionary_page.enter_identification("304820160")
     add_new_functionary_page.enter_birthdate("01/04/1994")
     add_new_functionary_page.select_marital_status("Soltero")
     add_new_functionary_page.enter_address("Ciudad Quesada")
     add_new_functionary_page.enter_phone_number("12345678")
     add_new_functionary_page.enter_cellphone_number("12345678")
     add_new_functionary_page.enter_email("*****@*****.**")
     add_new_functionary_page.select_role("Academico")
     add_new_functionary_page.enter_hire_date("06/06/2006")
     add_new_functionary_page.select_status("Activo")
     add_new_functionary_page.click_save_button()
     self.assertTrue(add_new_functionary_page.is_save_new_functionary_error_message_display(),GM.MISSING_ERROR_MSG)