def step_wait_element_clickable(context, element): nominapage = NominaPage(context) nominapage.wait_for_element_clickable(*nominapage.locator_map[element])
def step_close_modal_change_password(context): nominapage = NominaPage(context) nominapage.close_modal_change_password()
def step_save_employee_changes(context): nominapage = NominaPage(context) nominapage.save_employee_changes()
def step_wait_for_visibility(context, element): context.element = element nominapage = NominaPage(context) nominapage.wait_for_element_clickable(*nominapage.locator_map[element])
def step_select_comenzar(context): nominapage = NominaPage(context) nominapage.select_comenzar()
def step_modify_salary(context, salary): nominapage = NominaPage(context) nominapage.modify_salary(salary)
def step_section_close(context): nominapage = NominaPage(context) nominapage.close_session()
def step_select_date(context, date): nominapage = NominaPage(context) nominapage.select_date(date)
def step_unselect_all(context): nominapage = NominaPage(context) nominapage.unselect_all()
def step_section_calculate(context): nominapage = NominaPage(context) nominapage.select_admin_menu()
def step_continue_step_2(context, step): nominapage = NominaPage(context) nominapage.continue_step_2()
def step_confirm_delete_payroll_employee(context): nominapage = NominaPage(context) nominapage.confirm_delete_employee()
def step_open_third_employee(context): nominapage = NominaPage(context) nominapage.open_detail_third_employee()
def step_createnomina(context): nominapage = NominaPage(context) nominapage.new_nomina()
def step_section_calculate(context): nominapage = NominaPage(context) nominapage.section_calculate()
def step_search_nomina_group(context, group): nominapage = NominaPage(context) nominapage.search_nomina_group(group)
def step_assert_payroll_create(context): nominapage = NominaPage(context) assert "NĂ³mina Semanal Automation" in \ nominapage.get_text_element(*nominapage.locator_map["assertpayrollname"])
def step_select_range_incidents(context, start, end): nominapage = NominaPage(context) nominapage.select_range_incidents(start, end)
def step_assert_edit_salary(context): nominapage = NominaPage(context) assert "$5,000.00" in \ nominapage.get_text_element(*nominapage.locator_map["assertsalaryfirstemployee"])
def step_open_detail(context): nominapage = NominaPage(context) nominapage.open_detail_first_employee()
def step_assert_employees(context): nominapage = NominaPage(context) assert 8 == nominapage.count_elements("assertcountemployees")
def step_select_comenzar(context): nominapage = NominaPage(context) nominapage.remove_payroll()
def step_select_comenzar(context): nominapage = NominaPage(context) nominapage.confirm_remove_payroll() time.sleep(5)