mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Provide a scenario describing generating slug for a child taxon with multiple locales
This commit is contained in:
parent
0f3e112055
commit
f711dcfd99
1 changed files with 11 additions and 0 deletions
|
|
@ -19,6 +19,17 @@ Feature: Editing taxon's slug in multiple locales
|
|||
Then this taxon should have slug "medieval-weapons" in "English (United States)"
|
||||
And this taxon should have slug "bronie-sredniowieczne" in "Polish (Poland)"
|
||||
|
||||
@ui @javascript
|
||||
Scenario: Creating a child taxon with an autogenerated slug
|
||||
Given the store has taxonomy named "Medieval weapons" in "English (United States)" locale and "Bronie średniowieczne" in "Polish (Poland)" locale
|
||||
And I want to create a new taxon for "Medieval weapons"
|
||||
When I specify its code as "SIEGE_ENGINES"
|
||||
And I name it "Siege engines" in "English (United States)"
|
||||
And I name it "Machiny oblężnicze" in "Polish (Poland)"
|
||||
And I add it
|
||||
Then this taxon should have slug "medieval-weapons/siege-engines" in "English (United States)"
|
||||
And this taxon should have slug "bronie-sredniowieczne/machiny-obleznicze" in "Polish (Poland)"
|
||||
|
||||
@ui
|
||||
Scenario: Creating a root taxon with a custom slug
|
||||
Given I want to create a new taxon
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue