Ejemplo n.º 1
0
def test_option_menu_guide(repeat_count):
    l = Launcher()
    if l.is_skipped_guide('option_menu'):
        l.reset()
    for i in range(repeat_count):
        l.device.start_profiling('gfx')
        time.sleep(5)
        l.device.pause_profiling()
    l.device.end_profiling().write_to_excel(whoami())
    l.skip_guide('option_menu')
Ejemplo n.º 2
0
def test_hotseat_guide(repeat_count):
    l = Launcher()
    if l.is_skipped_guide('hotseat'):
        l.reset()
    l.skip_guide('option_menu')
    l.enter_edit_mode()
    l.skip_guide('edit_mode')
    l.device.press_back()
    for i in range(repeat_count):
        l.device.start_profiling('gfx')
        time.sleep(5)
        l.device.pause_profiling()
    l.device.end_profiling().write_to_excel(whoami())
    l.skip_guide('hotseat')
Ejemplo n.º 3
0
def test_notification_guide(repeat_count):
    l = Launcher()
    if l.is_skipped_guide('notification'):
        l.reset()
    l.skip_guide('option_menu')
    l.device.press_power()
    l.device.press_power()
    l.device.swipe('50%', '85%', '50%', '15%', duration=300)
    for i in range(repeat_count):
        l.device.start_profiling('gfx')
        time.sleep(5)
        l.device.pause_profiling()
    l.device.end_profiling().write_to_excel(whoami())
    l.skip_guide('notification')