mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
17 lines
609 B
Gherkin
17 lines
609 B
Gherkin
@managing_currencies
|
|
Feature: Currency unique code validation
|
|
In order to uniquely identify currency
|
|
As an Administrator
|
|
I want to be prevented from adding two currency with the same code
|
|
|
|
Background:
|
|
Given the store has currency "Euro"
|
|
And I am logged in as an administrator
|
|
|
|
@ui @api
|
|
Scenario: Trying to add currency with taken code
|
|
When I want to add a new currency
|
|
And I choose "Euro"
|
|
And I try to add it
|
|
Then I should be notified that currency code must be unique
|
|
And there should still be only one currency with code "EUR"
|