def add_a_team_blue_ocean(driver, context):
    teams_pages = TeamsPages(driver)
    shared = Shared(driver)
    teams_pages.click_add_a_team_button()
    context.team_name = "BlueOcean" + str(
        utils.get_formatted_date_time_y_m_d_h_s())
    teams_pages.enter_team_name(context.team_name)
    shared.click_submit()
def edit_existing_team(driver, context):
    teams_pages = TeamsPages(driver)
    shared = Shared(driver)
    elements = shared.get_links_in_lite_table()
    no = utils.get_element_index_by_text(elements, context.team_name)
    elements[no + 1].click()
    context.team_name = context.team_name + "edited"
    teams_pages.enter_team_name(context.team_name)
    shared.click_submit()