Logo: Relish

  1. Sign in

Project: Anewstart annual_plan

Manage Watchlist

  • @javascript
  • @vcr

In order to rent movies
As a user
I want to manage watchlist

Scenarios
Rent a movie with SD and HD options
Given
I am logged in as "[email protected]"
And
I saved a watchlist item with asset_id "eb1b588a916c4c2ab2425b6dff821a2e"
And
I try to rent "The Dark Knight Rises / 2012" but still need to add a credit card.
And
I should see "Watch instantly on your TV, computer, tablet or phone. Get the App"
Rent a movie with only SD Rental
Given
I am logged in as "[email protected]"
And
I saved a watchlist item with asset_id "ce3a950966d8474abfd176c0d745bc1c"
And
I try to rent "Austin Powers: The Spy Who Shagged Me / 1999", which only has an SD rental option.
And
I should see "Watch instantly on your TV, computer, tablet or phone. Get the App"
Watch a previously rented movie
Given
I am logged in as "[email protected]"
When
I go to the "Dark Knight Rises Franchise Page / 2012"
And
wait 1 seconds for ajax to process
Then
I should see "Dark Knight Rises / 2012"
And
I try to rent a previously rented movie
Rent an expired previously rented movie
Given
I am logged in as "[email protected]"
When
I go to the "Dark Knight Rises Franchise Page / 2012"
And
wait 1 seconds for ajax to process
Then
I should see "Dark Knight Rises / 2012"
And
I should see "Rent from"
Then
I should not see "This title has been added to your library."
Rent a movie with SD and HD options from the Mobile view.
Given
I am logged in on the mobile site as "[email protected]"
And
I saved a watchlist item with asset_id "eb1b588a916c4c2ab2425b6dff821a2e"
And
I try to rent "The Dark Knight Rises / 2012" but still need to add a credit card.
Rent a movie with only SD Rental from the Mobile view
Given
I am logged in on the mobile site as "[email protected]"
And
I saved a watchlist item with asset_id "dc4c46452db64d278a2e49fda54d81d5"
And
I try to rent "Dr. Strange / 2007", which only has an SD rental option.
Watch a previously rented movie from the Mobile view
Given
I am logged in on the mobile site as "[email protected]"
When
I go to the "Dark Knight Rises Franchise Page"
And
wait 1 seconds for ajax to process
Then
I should see "Dark Knight Rises / 2012"
And
I should not see "Rent from"
And
I should not see "Available to Rent"
And
I should see "Rented / SD Stereo Surround"
And
I should see "This movie has been added to your Movie Library. You have until April 3 to watch this 24 hour rental."

Last published over 4 years ago by Edan Rosenberg.