Fix failure of test_that_posting_question_works by updating wait

The current wait doesn't actually wait for the page title to change, as it is using a variable set outside of the wait