def test_settings_general_page_text(settings_general_sync3, testdata):
    if testdata == Text.SETTINGS_GENERAL_ABOUT_SYNC_TEXT:
        helpers.touch_and_drag_page(*touch_drag_coordinates_down)
    assert helpers.get_exist_result(testdata)
def test_settings_navigation_route_preferences_page_text(
        settings_navigation_route_sync3, testdata):
    if testdata == Text.DYNAMIC_ROUTE_GUIDANCE_TEXT:
        helpers.touch_and_drag_page(*touch_drag_coordinates_down)
    assert helpers.get_exist_result(testdata)
def test_settings_sound_page_text(settings_sound_sync3, testdata):
    if testdata == Text.SETTINGS_SOUND_ADAPTIVE_VOLUME_TEXT:
        helpers.touch_and_drag_page(*touch_drag_coordinates_down)
    assert helpers.get_exist_result(testdata)
Esempio n. 4
0
def settings_second_screen_sync3(driver_sync3):
    touch_drag_right = ['settings_page', 400, 300, -300, 0]
    api = page_supervisor_sync3.PageSupervisor()
    api.settings_page.open_settings_page()
    if not helpers.get_exist_result(Icons.SETTINGS_GENERAL_BUTTON):
        helpers.touch_and_drag_page(*touch_drag_right)
Esempio n. 5
0
def settings_first_screen_sync3(driver_sync3):
    touch_drag_left = ['settings_page', 50, 200, 400, 0]
    api = page_supervisor_sync3.PageSupervisor()
    api.settings_page.open_settings_page()
    if not helpers.get_exist_result(Icons.SETTINGS_SOUND_BUTTON):
        helpers.touch_and_drag_page(*touch_drag_left)
def test_settings_page_images(settings_sync4, testdata):
    if testdata == Icons.SETIINGS_911_ASSIST_BUTTON:
        helpers.touch_and_drag_page('', x=1000, y=600, dx=-700, dy=0)
    assert get_exist_result(testdata)
    if testdata == Icons.SETTINGS_TOWING_BUTTON:
        helpers.touch_and_drag_page('', x=100, y=600, dx=700, dy=0)