def test_radio_stream_not_counted():
    skip_count = PlayListPage.get_skips_left()
    search_string = "KQED"
    PlayListPage.click_on_search()
    SearchPage.search_track(search_string)
    SearchPage.choose_filter("radio")
    SearchPage.click_first_result()
    assert PlayListPage.get_skips_left(
    ) == skip_count, "Radio stream should NOT remove 'skip' from count"
def test_rdio_skip_limit(free_cone_tuned):
    PlayListPage.reset_skips_left_count()
    prev_track = free_cone_tuned.get_json_status_track()
    assert PlayListPage.get_skips_left() == 6, "Skip counter did not reset"
    PlayListPage.play_next_track_btn()
    assert not text_utils.smart_compare(
        free_cone_tuned.get_json_status_track(),
        prev_track), "Track did not skip"
    assert PlayListPage.get_skips_left(
    ) == 5, "Skip counter did not subtract 1 skip"
    PlayListPage.play_next_track_btn()
    assert PlayListPage.get_skips_left(
    ) == 4, "Skip counter did not subtract 1 skip"
    PlayListPage.play_next_track_btn()
    assert PlayListPage.get_skips_left(
    ) == 3, "Skip counter did not subtract 1 skip"
    PlayListPage.play_next_track_btn()
    assert PlayListPage.get_skips_left(
    ) == 2, "Skip counter did not subtract 1 skip"
    PlayListPage.play_next_track_btn()
    time.sleep(5)
    PlayListPage.play_next_track_btn()
    assert PlayListPage.get_skips_left(
    ) == 0, "Skip counter did not subtract 1 skip"
    PlayListPage.play_next_track()
    assert PlayListPage.is_alert_present(), "Wrong alert message"
    PlayListPage.alert_accept_alt()
    PlayListPage.play_next_set()
    assert PlayListPage.get_skips_left() == 6, "Skip counter did not reset"