Sylius/features/taxonomy/managing_taxons/adding_taxon_for_parent.feature
2022-03-11 09:20:29 +01:00

21 lines
842 B
Gherkin

@managing_taxons
Feature: Adding a new taxon for parent
In order to categorize my merchandise
As an Administrator
I want to add a new taxon for specific parent
Background:
Given the store is available in "English (United States)"
And the store has "Category" taxonomy
And I am logged in as an administrator
@ui
Scenario: Adding a new taxon for specific parent taxon
When I want to create a new taxon for "Category"
And I specify its code as "guns"
And I name it "Guns" in "English (United States)"
And I set its slug to "guns" in "English (United States)"
And I add it
Then I should be notified that it has been successfully created
And the "Guns" taxon should appear in the registry
And this taxon should belongs to "Category"