uploadQuestion
open /Wtfisthis/mobile/create_question.html
type headerInput Testrubrik
type imageUpload Wtfisthis/tests/testbild.jpg
type textInput Text att skriva in
type nameInput Sten-Åke
click createQuestionButton
pause 3000
assertLocation http://localhost/Wtfisthis/mobile/view_question.html?id=*
verifyTextPresent Testrubrik
verifyTextPresent Text att skriva in
verifyTextPresent Det finns inga svar ännu till den här frågan. Vill du ge ett svar?
verifyElementPresent //button[@type='submit']