def test_setup_enable_hd():
    """Enable HD"""
    itu.clear_test()
    try:
        open_developer_mode()
        itu.enter_menu(DeveloperModeMenu,
                       sky_plus_strings.SSD_ENABLE_HD,
                       timeout_secs=20)
        sleep(2)
    finally:
        itu.clear_test()
def open_developer_mode():
    """Open Developer mode"""
    itu.go_to_channel(interactive_constants.CHANNEL_SKY_ONE_HD)
    mysky_frame_objects.open_and_basic_check_mysky()
    sleep(0.5)
    itu.open_secret_scene()

    itu.enter_menu(SecretSceneMainMenu, sky_plus_strings.SS_DEVELOPER_MODE)

    dev_mode_menu = stbt.wait_until(DeveloperModeMenu)
    assert dev_mode_menu.title == sky_plus_strings.SS_VCN, \
        '[Developer Mode] Selected item is not [{0}]'.format(sky_plus_strings.SS_VCN)
Ejemplo n.º 3
0
def test_smoke_open_my_account():
    """Open MySky app"""
    itu.clear_test()
    try:
        itu.go_to_channel(interactive_constants.CHANNEL_SKY_ONE_HD)
        itu.open_and_basic_check_interactive_menu()
        itu.enter_menu(InteractiveMainMenu,
                       sky_plus_strings.MY_ACCOUNT,
                       timeout_secs=20)

        menu = stbt.wait_until(MyAccountMenu, timeout_secs=20)
        assert menu.is_visible, '[My Account] Menu is not visible'
    finally:
        itu.clear_test()