gust94

MovoLive Calabash Scenario

Apr 7th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. Scenario: Set Cover Image Scenario
  2. Given App is running
  3. Given I wait until object with label "profileCoverButton" appear
  4. Then I press button with label "profileCoverButton"
  5. Given I wait until object with label "imageStateButton" appear
  6. Then I press button with label "imageStateButton"
  7. Given I wait until object with label "imageCollectionView" appear
  8. Then I scroll the collection view to index 3
  9. Given I wait until object with label "shutterConfirmButton" appear
  10. Then I press button with label "shutterConfirmButton"
  11. Then I wait for a few seconds...
  12.  
  13. Then test is complete
  14.  
  15.  
  16. Scenario: Live Scenario
  17. Given App is running
  18. Given I wait until object with label "withdrawButton" appear
  19. Then I press button with label "withdrawButton"
  20. Given I wait until object with label "recordButton" appear
  21. Then I press button with label "recordButton"
  22. Given I see field with label "chatInputTextField"
  23. Then I enter "Hello world New" to field with label "chatInputTextField"
  24. Given I wait until object with label "chatSendButton" appear
  25. Then I press button with label "chatSendButton"
  26. Given I wait until object with label "askButton" appear
  27. Then I press button with label "askButton"
  28. Given I see field with label "voteQuestionTextField"
  29. Then I enter "Bagaimana kabarmu hari ini?" to field with label "voteQuestionTextField"
  30. Given I see field with label "voteAnswerATextField"
  31. Then I enter "Sehat selalu" to field with label "voteAnswerATextField"
  32. Given I see field with label "voteAnswerBTextField"
  33. Then I enter "Umm, ga terlalu..." to field with label "voteAnswerBTextField"
  34. Given I wait until object with label "startVoteButton" appear
  35. Then I press button with label "startVoteButton"
  36. Then I wait for a few seconds...
  37. Given I wait until object with label "endNowButton" appear
  38. Then I press button with label "endNowButton"
  39. Then I wait for a few seconds...
  40. Given I wait until object with label "recordButton" appear
  41. Then I press button with label "recordButton"
  42. Given I wait until object with label "closeResultButton" appear
  43. Then I press button with label "closeResultButton"
  44. Then I wait for a few seconds...
  45. Then test is complete
Add Comment
Please, Sign In to add comment