Sylius/features/taxonomy/managing_taxons/choosing_taxon_from_tree.feature
dawkaa 65f39f2057 Add a taxon delete section
I added a taxon delete section.
2023-04-25 16:45:30 +08:00

23 lines
902 B
Gherkin

@managing_taxons_ajax
Feature: Browsing taxons tree
In order to see all taxons in the store
As an Administrator
I want to browse taxons
Background:
Given the store operates on a single channel in "United States"
And the store classifies its products as "T-Shirts", "Watches", "Belts" and "Wallets"
And the "Watches" taxon has children taxon "Digital" and "Analog"
And I am logged in as an administrator
@api
Scenario: Getting taxon root
When I want to get taxon root
Then I should see 4 taxons on the list
And I should see the taxon named "Belts", "Wallets", "Watches" and "T-Shirts" in the list
@api
Scenario: Getting taxon leafs
When I want to get children from taxon "Watches"
Then I should see 2 taxons on the list
And I should see the taxon named "Digital" and "Analog" in the list