mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
19 lines
822 B
Gherkin
19 lines
822 B
Gherkin
@managing_exchange_rates
|
|
Feature: Adding a new exchange rate
|
|
In order to specify exchange rates between different currencies in my store
|
|
As an Administrator
|
|
I want to add a new exchange rate to the store
|
|
|
|
Background:
|
|
Given the store has currency "US Dollar" and "British Pound"
|
|
And I am logged in as an administrator
|
|
|
|
@todo @ui @api
|
|
Scenario: Adding a new exchange rate
|
|
When I want to add a new exchange rate
|
|
And I specify its ratio as 1.20
|
|
And I choose "US Dollar" as the source currency
|
|
And I choose "British Pound" as the target currency
|
|
And I add it
|
|
Then I should be notified that it has been successfully created
|
|
And the exchange rate with ratio 1.20000 between "US Dollar" and "British Pound" should appear in the store
|