Logo: Relish

  1. Sign in

Project: Icepak annual_plans

Rentals

  • @javascript
  • @vcr
Scenarios
Refunding Tvod for recurly
Given
I am logged in
When
I search for a subscriber with the email "[email protected]"
And
I click "Rentals"
Then
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Karate Kid (2010) SD 2012-04-24T19:58:32Z 2012-04-24T19:58:32Z 0 20b2319fe7c5e77d8787b943929783c5 Action Reset Refund
And
the time is "2013-06-25 15:55:47 UTC"
And
I press "Action" within "#the-karate-kid-2010"
And
I click "Refund" within "#the-karate-kid-2010"
Then
I should see "The Karate Kid (2010)"
And
I should see "Format SD"
And
I should see "Price 2.99"
And
I should see "Tax 0.12"
And
I should see "Total Price 3.11"
And
I fill in "remark" with "Refund for being a great customer"
And
I press "Confirm Refund"
And
I should see "Refund successful"
Then
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Karate Kid (2010) SD 2012-04-24T19:58:32Z 2012-04-24T19:58:32Z 0 20b2319fe7c5e77d8787b943929783c5 voided
And
I should see the following table rows:
Time CSR Action Field From To Remark
anytime [email protected] entitlement refunded Refund for being a great customer Invoice #1764
And
I click "[email protected]"
Then
I should see the following table rows:
Amount Refunded Date
3.11 2013-06-25 04:00:00 UTC
Refunding Tvod for Samsung
Given
I am logged in
When
I search for a subscriber with the email "[email protected]"
And
I click "Rentals"
Then
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Natural SD 2013-06-06T16:01:22Z 0 208903d27640319533c68d4530818cd1 Action Refund
And
the time is "2013-06-25 15:55:47 UTC"
And
I press "Action" within "#the-natural"
And
I click "Refund" within "#the-natural"
Then
I should see "Title The Natural"
And
I should see "Format SD"
And
I should see "Price 3.99"
And
I fill in "remark" with "Refund for being a great customer"
And
I press "Confirm Refund"
Then
I should see "Refund successful"
And
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Natural SD 2013-06-06T16:01:22Z 0 208903d27640319533c68d4530818cd1 voided
And
I should see the following table rows:
Time CSR Action Field From To Remark
anytime [email protected] entitlement refunded Refund for being a great customer Invoice #1608
Resetting Tvod for a user
Given
I am logged in
When
I search for a subscriber with the email "[email protected]"
And
I click "Rentals"
Then
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Natural SD 2013-06-06T16:01:22Z 2013-06-06T16:01:22Z 0 20b272c44519d95fe29b424196902aa5 Action Reset Refund
And
the time is "2013-04-25 15:55:47 UTC"
And
I press "Action" within "#the-natural"
And
I click "Reset" within "#the-natural"
Then
I should see "Reset successful"
And
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Natural SD 2013-06-06T16:01:22Z 1 20b272c44519d95fe29b424196902aa5 Action Refund
And
I click "Account Details"
Then
I should see the following table rows:
Time CSR Action Field From To Remark
anytime [email protected] entitlement reset Reset for The Natural
Subscriber has not started watching tvod, so it cannot be reset
Given
I am logged in
When
I search for a subscriber with the email "[email protected]"
And
I click "Rentals"
Then
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Natural SD 2013-06-06T16:01:22Z 0 20b272c44519d95fe29b424196902aa5 Action Refund
Read only accounts cannot perform any actions
Given
I am logged in as read-only
When
I go to the Subscribers page
And
I fill in "criteria" with "[email protected]"
And
I press "search"
And
I click "[email protected]"
And
I click "Rentals"
Then
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Natural SD 2013-06-06T16:01:22Z 0 20b272c44519d95fe29b424196902aa5
Cannot refund free movies
Given
I am logged in
When
I search for a subscriber with the email "[email protected]"
And
I click "Rentals"
Then
I should see the following table rows:
Title Format Purchase Date First Played Expires # Resets Order Guid
The Natural SD 2013-06-06T16:01:22Z 2013-06-14T17:24:49Z 0 Action Reset

Last published about 5 years ago by Edan Rosenberg.