Add tags fo api in ExchangeRates

This commit is contained in:
Tomanhez 2020-03-02 15:11:56 +01:00 committed by Mateusz Zalewski
parent 9e9654213e
commit cad4b32880
No known key found for this signature in database
GPG key ID: 9BECA0BB71612E52
8 changed files with 12 additions and 12 deletions

View file

@ -8,7 +8,7 @@ Feature: Adding a new exchange rate
Given the store has currency "US Dollar" and "British Pound"
And I am logged in as an administrator
@ui
@ui @api
Scenario: Adding a new exchange rate
Given I want to add a new exchange rate
When I specify its ratio as 1.20

View file

@ -10,7 +10,7 @@ Feature: Browsing exchange rates
And the exchange rate of "British Pound" to "Bhutanese Ngultrum" is 2.37
And I am logged in as an administrator
@ui
@ui @api
Scenario: Browsing store's exchange rates
When I am browsing exchange rates of the store
Then I should see 2 exchange rates on the list

View file

@ -8,7 +8,7 @@ Feature: Deleting exchange rates
Given the store has currency "US Dollar", "British Pound" and "Bhutanese Ngultrum"
And I am logged in as an administrator
@ui
@ui @api
Scenario: Deleted exchange rate should disappear from the list
Given the exchange rate of "US Dollar" to "British Pound" is 1.2
When I delete the exchange rate between "US Dollar" and "British Pound"

View file

@ -11,7 +11,7 @@ Feature: Deleting multiple exchange rates
And the exchange rate of "Polish Zloty" to "Euro" is 0.22
And I am logged in as an administrator
@ui
@ui @api
Scenario: Deleting multiple exchange rates at once
When I browse exchange rates
And I check the exchange rate between "Euro" and "British Pound"

View file

@ -8,7 +8,7 @@ Feature: Editing exchange rate
Given the store has currency "US Dollar" and "British Pound"
And I am logged in as an administrator
@ui
@ui @api
Scenario: Change exchange rate's ratio
Given the exchange rate of "US Dollar" to "British Pound" is 1.30
And I am editing this exchange rate
@ -17,7 +17,7 @@ Feature: Editing exchange rate
Then I should be notified that it has been successfully edited
And it should have a ratio of 3.21
@ui
@ui @api
Scenario: Being unable to change currencies
Given the exchange rate of "US Dollar" to "British Pound" is 1.30
When I want to edit this exchange rate

View file

@ -8,7 +8,7 @@ Feature: Exchange rate validation
Given the store has currency "US Dollar" and "British Pound"
And I am logged in as an administrator
@ui
@ui @api
Scenario: Trying to add a new exchange rate without ratio
Given I want to add a new exchange rate
When I choose "US Dollar" as the source currency
@ -18,7 +18,7 @@ Feature: Exchange rate validation
Then I should be notified that ratio is required
And the exchange rate between "US Dollar" and "British Pound" should not be added
@ui
@ui @api
Scenario: Trying to add a new exchange rate with negative ratio
Given I want to add a new exchange rate
When I choose "US Dollar" as the source currency
@ -28,7 +28,7 @@ Feature: Exchange rate validation
Then I should be notified that the ratio must be greater than zero
And the exchange rate between "US Dollar" and "British Pound" should not be added
@ui
@ui @api
Scenario: Trying to add a new exchange rate with same target currency as source
Given I want to add a new exchange rate
When I specify its ratio as 1.23

View file

@ -11,7 +11,7 @@ Feature: Filtering exchange rates by a currency
And the exchange rate of "Polish Zloty" to "Euro" is 0.22
And I am logged in as an administrator
@ui
@ui @api
Scenario: Filtering exchange rates by a chosen currency
When I browse exchange rates of the store
And I choose "Euro" as a currency filter

View file

@ -9,7 +9,7 @@ Feature: Inability of adding exchange rates with the same currency pair
And the exchange rate of "Euro" to "British Pound" is 1.2
And I am logged in as an administrator
@ui
@ui @api
Scenario: Being prevented from adding an exchange rate for the same currency pair
Given I want to add a new exchange rate
When I specify its ratio as 3.20
@ -20,7 +20,7 @@ Feature: Inability of adding exchange rates with the same currency pair
And I should still see one exchange rate on the list
And this exchange rate should have a ratio of 1.2
@ui
@ui @api
Scenario: Being prevented from adding an exchange rate for a reversed currency pair
Given I want to add a new exchange rate
When I specify its ratio as 3.20