@When( "the receptionist looks up a pacient name '$name' or cpf '$cpf' or phone '$phone' or gender '$gender' or birth '$birth'") public void whenTheReceptionistLooksUpPacient( String name, String cpf, String phone, String gender, String birth) { endUser.search_enter_name(name); endUser.search_enter_cpf(cpf); endUser.search_enter_phone(phone); endUser.search_enter_gender(gender); endUser.search_enter_birth(birth); endUser.search_submit(); }
@When( "the doctor looks up a patient name '$name' or cpf '$cpf' or phone '$phone' or gender '$gender' or birth '$birth'") public void whenTheDoctorLooksUpPacient( String name, String cpf, String phone, String gender, String birth) { if (name != "") endUser.search_enter_name(name); if (cpf != "") endUser.search_enter_cpf(cpf); if (phone != "") endUser.search_enter_phone(phone); if (gender != "") endUser.search_enter_gender(gender); if (birth != "") endUser.search_enter_birth(birth); endUser.search_submit(); }
@When("the doctor looks up field '$name'") public void whenTheDoctorLooksUpField(String name) { endUser.search_enter_name(name); endUser.search_submit(); }
@When("the doctor looks up a patient name '$name'") public void whenTheDoctorLooksUpPacientName(String name) { endUser.search_enter_name(name); endUser.search_submit(); }