Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: movies should appear in alphabetical order, not added order
- Scenario: view movie list after adding 2 movies (imperative and non-DRY)
- Given I am on the RottenPotatoes home page
- When I follow "Add new movie"
- Then I should be on the Create New Movie page
- When I fill in "Title" with "Zorro"
- And I select "PG" from "Rating"
- And I press "Save Changes"
- Then I should be on the RottenPotatoes home page
- When I follow "Add new movie"
- Then I should be on the Create New Movie page
- When I fill in "Title" with "Apocalypse Now"
- And I select "R" from "Rating"
- And I press "Save Changes"
- Then I should be on the RottenPotatoes home page
- And I should see "Apocalypse Now" before "Zorro"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement