@pytest.mark.native
    def test_that_posting_question_works(self, base_url, selenium, variables):
        """Posts a question to /questions"""
        user = variables['users']['default']
        timestamp = datetime.datetime.today()
        q_to_ask = "automation test question %s" % (timestamp)
        q_details = "This is a test. %s" % (timestamp)

        # go to the /questions/new page and log in
        ask_new_questions_page = AskNewQuestionsPage(base_url, selenium).open()
        ask_new_questions_page.sign_in(user['username'], user['password'])

        # post a question
        ask_new_questions_page.click_firefox_product_link()
        ask_new_questions_page.click_category_problem_link()
        ask_new_questions_page.type_question(q_to_ask)
        ask_new_questions_page.close_stage_site_banner()
        ask_new_questions_page.click_none_of_these_solve_my_problem_button()
        view_question_pg = ask_new_questions_page.fill_up_questions_form(q_to_ask, q_details)

        assert q_to_ask == view_question_pg.question
        assert q_details == view_question_pg.question_detail
dataset/ETHPy150Open mozilla/kitsune/tests/functional/desktop/test_questions.py/TestQuestions.test_that_posting_question_works/original