Example #1
0
def step_wait_element_clickable(context, element):
    nominapage = NominaPage(context)
    nominapage.wait_for_element_clickable(*nominapage.locator_map[element])
Example #2
0
def step_close_modal_change_password(context):
    nominapage = NominaPage(context)
    nominapage.close_modal_change_password()
Example #3
0
def step_save_employee_changes(context):
    nominapage = NominaPage(context)
    nominapage.save_employee_changes()
Example #4
0
def step_wait_for_visibility(context, element):
    context.element = element
    nominapage = NominaPage(context)
    nominapage.wait_for_element_clickable(*nominapage.locator_map[element])
Example #5
0
def step_select_comenzar(context):
    nominapage = NominaPage(context)
    nominapage.select_comenzar()
Example #6
0
def step_modify_salary(context, salary):
    nominapage = NominaPage(context)
    nominapage.modify_salary(salary)
Example #7
0
def step_section_close(context):
    nominapage = NominaPage(context)
    nominapage.close_session()
Example #8
0
def step_select_date(context, date):
    nominapage = NominaPage(context)
    nominapage.select_date(date)
Example #9
0
def step_unselect_all(context):
    nominapage = NominaPage(context)
    nominapage.unselect_all()
Example #10
0
def step_section_calculate(context):
    nominapage = NominaPage(context)
    nominapage.select_admin_menu()
Example #11
0
def step_continue_step_2(context, step):
    nominapage = NominaPage(context)
    nominapage.continue_step_2()
Example #12
0
def step_confirm_delete_payroll_employee(context):
    nominapage = NominaPage(context)
    nominapage.confirm_delete_employee()
Example #13
0
def step_open_third_employee(context):
    nominapage = NominaPage(context)
    nominapage.open_detail_third_employee()
Example #14
0
def step_createnomina(context):
    nominapage = NominaPage(context)
    nominapage.new_nomina()
Example #15
0
def step_section_calculate(context):
    nominapage = NominaPage(context)
    nominapage.section_calculate()
Example #16
0
def step_search_nomina_group(context, group):
    nominapage = NominaPage(context)
    nominapage.search_nomina_group(group)
Example #17
0
def step_assert_payroll_create(context):
    nominapage = NominaPage(context)
    assert "NĂ³mina Semanal Automation" in \
           nominapage.get_text_element(*nominapage.locator_map["assertpayrollname"])
Example #18
0
def step_select_range_incidents(context, start, end):
    nominapage = NominaPage(context)
    nominapage.select_range_incidents(start, end)
Example #19
0
def step_assert_edit_salary(context):
    nominapage = NominaPage(context)
    assert "$5,000.00" in \
           nominapage.get_text_element(*nominapage.locator_map["assertsalaryfirstemployee"])
Example #20
0
def step_open_detail(context):
    nominapage = NominaPage(context)
    nominapage.open_detail_first_employee()
Example #21
0
def step_assert_employees(context):
    nominapage = NominaPage(context)
    assert 8 == nominapage.count_elements("assertcountemployees")
Example #22
0
def step_select_comenzar(context):
    nominapage = NominaPage(context)
    nominapage.remove_payroll()
Example #23
0
def step_select_comenzar(context):
    nominapage = NominaPage(context)
    nominapage.confirm_remove_payroll()
    time.sleep(5)