Exemplo n.º 1
0
def driver_sync(setup_environment):
    # TODO start using auto config for autotests will be done under VHAT-1845
    logging.info('Getting appropriate sync driver [{}]'.format(
        params_handler.__SYNC))
    if params_handler.__SYNC == 'sync3':
        api = page_supervisor_sync3.PageSupervisor()
        yield api
    elif params_handler.__SYNC == 'sync4':
        api = page_supervisor_sync4.PageSupervisor()
        yield api
    else:
        raise EnvironmentError('Wrong sync version')
Exemplo n.º 2
0
def general_settings_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.settings_page.open_general_settings()
    return api.general_settings_page
Exemplo n.º 3
0
def change_vehicle_name_page_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.bluetooth_page.open_change_vehicle_name_page()
    return api.bluetooth_page
Exemplo n.º 4
0
def bluetooth_settings_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.connection_settings_page.open_bluetooth_page()
Exemplo n.º 5
0
def connection_settings_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.settings_page.open_connection_settings()
Exemplo n.º 6
0
def clock_settings_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.settings_page.open_setting_clock_page()
Exemplo n.º 7
0
def occupancy_mode_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.settings_audio_page.open_occupancy_mode_page()
Exemplo n.º 8
0
def speed_compensated_volume_page(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.settings_audio_page.open_speed_compensated_volume()
    return api.settings_audio_page
Exemplo n.º 9
0
def sound_settings_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.settings_audio_page.open_sound_settings_page()
    return api.settings_audio_page
Exemplo n.º 10
0
def apps_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.apps_page.open_apps_page()
Exemplo n.º 11
0
def direct_tune_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.audio_page.tap_on_direct_tune_button()
    return api.audio_page
Exemplo n.º 12
0
def phone_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.phone_page.open_phone_page()
    return api.phone_page
Exemplo n.º 13
0
def audio_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.audio_page.open_audio_page()
    return api.audio_page
Exemplo n.º 14
0
def driver_sync4(app_connector):
    api = page_supervisor_sync4.PageSupervisor()
    api.climate_page.open_climate_page()
    yield api
    api.climate_page.open_climate_page()