@pytest.mark.nondestructive
    def test_questions_sorts_correctly_by_filter_equal_to_unanswered(self, base_url, selenium):
        """
           Goes to the /questions page,
           Verifies the sort filter=unanswered works
        """
        expected_sorted_text = "Unanswered"

        questions_page = QuestionsPage(base_url, selenium).open()
        questions_page.click_all_products()
        questions_page.click_all_questions_tab()

        questions_page.click_sort_by_unanswered_questions()
        # if there are no questions in the list then skip the test
        if not questions_page.are_questions_present:
            pytest.skip("No questions present for filter=%s" % expected_sorted_text)

        for question in questions_page.questions:
            assert 0 == question.number_of_replies
dataset/ETHPy150Open mozilla/kitsune/tests/functional/desktop/test_questions.py/TestQuestions.test_questions_sorts_correctly_by_filter_equal_to_unanswered/original