Provide a scenario describing generating slug for a child taxon with multiple locales

This commit is contained in:
Kamil Kokot 2017-07-17 11:44:53 +02:00
parent 0f3e112055
commit f711dcfd99
No known key found for this signature in database
GPG key ID: 7BD76F7054D93C89

View file

@ -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