Created
October 19, 2013 10:59
-
-
Save ldusan84/7054450 to your computer and use it in GitHub Desktop.
This file contains 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: Exchange rates update | |
In order to have correct exchange rates | |
As a store owner | |
I need to be able to update them from external web service | |
Background: | |
Given I am logged in as administrator | |
And there are following exchange rates: | |
| currency | rate | | |
| USD | 0.76496 | | |
| GBP | 1.16998 | | |
| AUD | 0.73986 | | |
Scenario: Seeing "update exchange rates" button | |
Given I am on the exchange rate index page | |
Then I should see "update exchange rates" button | |
Scenario: Seeing "configure exchange rates settings" button | |
Given I am on the exchange rate index page | |
Then I should see "configure exchange rates settings" button | |
Scenario: Updating exchange rates | |
Given I am on the exchange rate index page | |
When I click "update exchange rates" | |
Then exchange rates should be updated | |
And I should see "Exchange rate has been successfully created." | |
Scenario: Accessing exchange rates configuration | |
Given I am on the exchange rate index page | |
When I click "configure exchange rates settings" | |
Then I should be on the exchange rates configuration index page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment