

@pytest.mark.nondestructive
def test_user_flow_to_forum_post(self, base_url, selenium):
    if (base_url == 'https://support-dev.allizom.org'):
        pytest.skip('Search results are not guaranteed to exist on support-dev.allizom.org')
    SupportHomePage(base_url, selenium).open()
    search_pg = SearchPage(base_url, selenium).open()
    search_pg.do_search_on_search_query((self.forum_search_term + 'ed'))
    assert search_pg.is_result_present, 'result page is not present.'
    result_thread_title = selenium.result_question_text()
    assert (self.forum_search_term in result_thread_title)
    is_reached_right_page = search_pg.click_question_link(self.forum_search_term)
    assert is_reached_right_page, 'a form thread page is not displayed.'

dataset/ETHPy150Open mozilla/kitsune/tests/functional/desktop/test_search.py TestSearch.test_user_flow_to_forum_post/VarMisuse@84/174 `search_pg`->`selenium`