Add a failing test scenario for #7950

This commit is contained in:
Kamil Kokot 2017-06-13 13:56:46 +02:00
parent 50a374404d
commit 58b40ef74f
No known key found for this signature in database
GPG key ID: 7BD76F7054D93C89

View file

@ -12,3 +12,12 @@ Feature: Deleting a taxon
Given the store classifies its products as "T-Shirts"
When I delete taxon named "T-Shirts"
Then the taxon named "T-Shirts" should no longer exist in the registry
@ui
Scenario: Deleting a taxon with a child does not delete any other taxons
Given the store classifies its products as "Main catalog"
Given the "Main catalog" taxon has children taxon "Shoes" and "Shovels"
And the "Shoes" taxon has children taxon "Men" and "Women"
When I delete taxon named "Shoes"
Then the taxon named "Shoes" should no longer exist in the registry
And the "Shovels" taxon should appear in the registry