mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
23 lines
902 B
Gherkin
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
|