Created
November 7, 2014 15:41
-
-
Save joshbedo/8a3246f30a70c44886b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Displaying a Panel Image Banner on the Product List Page | |
So that PINCHME can deliver advertising messages and fill the page with content when there are few samples available | |
Members need to be able to see an advertising tile banner sections on the product list page that can be | |
turned on and off by an admin | |
Background: | |
Given I am signed in as a user | |
Scenario: Product List Page with no Panel Image Banners | |
Given there are 9 campaigns | |
And There is no Panel Image Banner | |
When I visit the Product List Page | |
Then I should not see a panel image banner | |
Scenario: Product List Page with a Panel Image Banner set not to display | |
Given there are 9 campaigns | |
And There is a Panel Image Banner but it is NOT configured to display | |
When I visit the Product List Page | |
Then I should not see a panel image banner | |
Scenario: Product List Page with a Panel Image Banner set to display and a large list of campaigns | |
Given there are 9 campaigns | |
And There is 1 Panel Image Banner configured to display | |
When I visit the Product List Page | |
Then I should see 1 Panel Image Banner | |
And there should be 1 panel after campaign number 3 | |
Scenario: Product List Page with a Panel Image Banner set to display and a small list of campaigns | |
Given there are 2 campaigns | |
And There is 1 Panel Image Banner configured to display | |
When I visit the Product List Page | |
Then I should see 1 Panel Image Banner | |
And there should be 1 panel after campaign number 2 | |
@javascript @thread-2 @mock_api_requests @essential | |
Feature: Checkout | |
Background: | |
Given I am signed in as a user | |
And the minimum visible campaigns limit is set to 1 | |
When I add a product "Voodoo doll" to my box | |
Scenario: first checkout | |
When I choose to checkout | |
And I confirm the checkout | |
And I validate my address | |
And I verify my mobile number | |
And I answer the try question | |
And I finish the checkout | |
Then I should see I have successfully checked out | |
And I should see my box is now unavailable | |
And I should have a checked out box with the following product selections: | |
| product | | |
| Voodoo doll | | |
And I should have my answers to the try questions successfully saved | |
And I should receive points for ordering my first box | |
And I should not be encouraged to interact with the box | |
Scenario: checkout with valid address | |
When I check out up to the point where I need to verify my mobile number | |
But I cancel the checkout | |
And I then checkout, skipping address validation | |
Then I should see I have successfully checked out | |
And I should have a checked out box with the following product selections: | |
| product | | |
| Voodoo doll | | |
Scenario: checkout with valid mobile number | |
When I check out up to the point where I already verified my mobile number | |
But I cancel the checkout | |
And I then checkout, skipping address validation and mobile verification | |
Then I should see I have successfully checked out | |
And I should have a checked out box with the following product selections: | |
| product | | |
| Voodoo doll | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment