mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Use 2 different scenario for api and ui as they check menu taxons differently
This commit is contained in:
parent
fe45cd177c
commit
a6b1dc6141
1 changed files with 9 additions and 1 deletions
|
|
@ -12,7 +12,15 @@ Feature: Viewing only enabled taxons in taxon menu
|
|||
And the "Accessories" taxon has children taxons "Caps" and "Belts"
|
||||
And channel "United States" has menu taxon "Category"
|
||||
|
||||
@ui @api
|
||||
@ui
|
||||
Scenario: Viewing only enabled taxons in taxon menu
|
||||
Given the "Clothes" taxon is disabled
|
||||
And the "Belts" taxon is disabled
|
||||
When I check available taxons
|
||||
Then I should see "Accessories Caps" and "Caps" in the menu
|
||||
And I should not see "Clothes", "T-Shirts", "Coats" and "Belts" in the menu
|
||||
|
||||
@api
|
||||
Scenario: Viewing only enabled taxons in taxon menu
|
||||
Given the "Clothes" taxon is disabled
|
||||
And the "Belts" taxon is disabled
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue