Sarik_Kumpan

add success and fail

Dec 11th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. Scenario: should show success add movie after add movie
  2. When I fill in "Search Terms" with "Inception"
  3. And I press "Search TMDb"
  4. Then I should be on the Search Results page
  5. And I should not see "not found"
  6. And I should see "Inception"
  7. When I follow "Add Inception Movie"
  8. And I should see "Add movie success"
  9.  
  10. Scenario: should show Error when add movie fail
  11. When I fill in "Search Terms" with "Inception"
  12. And I press "Search TMDb"
  13. Then I should be on the Search Results page
  14. And I should not see "not found"
  15. And I should see "Inception"
  16. When I follow "Add Inception Movie"
  17. And I should see "Add movie fail"
Advertisement
Add Comment
Please, Sign In to add comment