'Make sure type filter actually filters the results.'

@skip_if_browser('chrome')
@flaky
def test_filter_results(self):

    self.asset_page.visit()
    all_results = len(self.asset_page.return_results_set())
    if self.asset_page.select_type_filter(1):
        filtered_results = len(self.asset_page.return_results_set())
        assert self.asset_page.type_filter_header_label_visible()
        assert (all_results > filtered_results)
    else:
        msg = 'Could    not    open    select    Type    filter'
        raise StudioApiLoginError(msg)
