Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Sample Feature
- Scenario: Check Balance
- Given App is running
- Then I wait until text "--" disappear
- Then I press button with label "recordButton"
- Given I start observe value of object with label "balanceLabel"
- Then I wait for a few minutes...
- Then I compare value of object with label "balanceLabel"
- Then I wait for a few seconds...
- Then I press button with label "recordButton"
- Then I wait for a few seconds...
- Then test is complete
- Scenario: Discover Video Streaming and Blocked User And Video
- Given App is running
- Given I wait until object with label "discoveryButton" appear
- Then I press button with label "discoveryButton"
- Given I wait video collectionview not empty
- Then I watch the first video streaming
- Then I wait for a few minutes...
- Given I see field with label "chatInputTextField"
- Then I enter "Hello world New" to field with label "chatInputTextField"
- Given I wait until object with label "chatSendButton" appear
- Then I press button with label "chatSendButton"
- Given I wait until object with label "reportButton" appear
- Then I press button with label "reportButton"
- Given I wait until object with label "Lain-lain" appear
- Then I press button with label "Lain-lain"
- Then I touch the confirmation button with label "OK" if it appear
- Then I choose the first chat cell
- Given I wait until object with label "Lain-lain" appear
- Then I press button with label "Lain-lain"
- Then I touch the confirmation button with label "OK" if it appear
- Then I choose the first chat cell
- Given I wait until object with label "Block chat milik pengguna ini" appear
- Then I press button with label "Block chat milik pengguna ini"
- Given I wait until object with label "Ya" appear
- Then I press button with label "Ya"
- Then I touch the confirmation button with label "OK" if it appear
- Given I wait until object with label "reportButton" appear
- Then I press button with label "reportButton"
- Given I wait until object with label "Block streamer ini" appear
- Then I press button with label "Block streamer ini"
- Given I wait until object with label "Ya" appear
- Then I press button with label "Ya"
- Given I wait until object with label "liveButton" appear
- Then I press button with label "liveButton"
- Then test is complete
- Scenario: Set Cover Image Scenario
- Given App is running
- Given I wait until object with label "profileCoverButton" appear
- Then I press button with label "profileCoverButton"
- Given I wait until object with label "imageStateButton" appear
- Then I press button with label "imageStateButton"
- Then I touch the confirmation button with label "OK" if it appear
- Given I wait until object with label "imageCollectionView" appear
- Then I scroll the collection view to index 3
- Given I wait until object with label "shutterConfirmButton" appear
- Then I press button with label "shutterConfirmButton"
- Then I wait for a few seconds...
- Given I wait until object with label "profileCoverButton" appear
- Then I press button with label "profileCoverButton"
- Then I wait for a few seconds...
- Given I wait until object with label "shutterConfirmButton" appear
- Then I press button with label "shutterConfirmButton"
- Given I wait until object with label "reTakeButton" appear
- Then I press button with label "reTakeButton"
- Then I wait for a few seconds...
- Given I wait until object with label "shutterConfirmButton" appear
- Then I press button with label "shutterConfirmButton"
- Given I wait until object with label "pickImageButton" appear
- Then I press button with label "pickImageButton"
- Then I touch the confirmation button with label "OK" if it appear
- Given I wait until object with label "cameraStateButton" appear
- Then I press button with label "cameraStateButton"
- Given I wait until object with label "switchCameraButton" appear
- Then I press button with label "switchCameraButton"
- Then I wait for a few seconds...
- Given I wait until object with label "shutterConfirmButton" appear
- Then I press button with label "shutterConfirmButton"
- Then I wait for a few seconds...
- Given I wait until object with label "shutterConfirmButton" appear
- Then I press button with label "shutterConfirmButton"
- Then I wait for a few seconds...
- Then test is complete
- Scenario: Live and Block Scenario
- Given App is running
- Given I wait until object with label "recordButton" appear
- Then I press button with label "recordButton"
- Given I see field with label "chatInputTextField"
- Then I enter "Hello world New" to field with label "chatInputTextField"
- Given I wait until object with label "chatSendButton" appear
- Then I press button with label "chatSendButton"
- Then I wait for a few seconds...
- Then I choose the first chat cell
- Given I wait until object with label "Lain-lain" appear
- Then I press button with label "Lain-lain"
- Then I touch the confirmation button with label "OK" if it appear
- Then I choose the first chat cell
- Given I wait until object with label "Block chat milik pengguna ini" appear
- Then I press button with label "Block chat milik pengguna ini"
- Given I wait until object with label "Ya" appear
- Then I press button with label "Ya"
- Then I touch the confirmation button with label "OK" if it appear
- Given I wait until object with label "askButton" appear
- Then I press button with label "askButton"
- Given I see field with label "voteQuestionTextField"
- Then I enter "Bagaimana kabarmu hari ini?" to field with label "voteQuestionTextField"
- Given I see field with label "voteAnswerATextField"
- Then I enter "Sehat selalu" to field with label "voteAnswerATextField"
- Given I see field with label "voteAnswerBTextField"
- Then I enter "Umm, ga terlalu..." to field with label "voteAnswerBTextField"
- Given I wait until object with label "startVoteButton" appear
- Then I press button with label "startVoteButton"
- Then I wait for a few seconds...
- Given I wait until object with label "endNowButton" appear
- Then I press button with label "endNowButton"
- Then I wait for a few seconds...
- Given I wait until object with label "recordButton" appear
- Then I press button with label "recordButton"
- Given I wait until object with label "closeResultButton" appear
- Then I press button with label "closeResultButton"
- Then I wait for a few seconds...
- Then test is complete
- # still error
- Scenario: Login
- Given App is running
- Given I wait until object with label "showPrivacyButton" appear
- Then I press button with label "showPrivacyButton"
- Given I wait until object with label "acceptPrivacyButton" appear
- Then I press button with label "acceptPrivacyButton"
- Given I wait until object with label "facebookSignInButton" appear
- Then I press button with label "facebookSignInButton"
- Then I will authorize mivo
- Then I wait for a few seconds...
- Then test is complete
Add Comment
Please, Sign In to add comment