diff --git a/features/taxonomy/managing_taxons/deleting_taxon.feature b/features/taxonomy/managing_taxons/deleting_taxon.feature index 748e4a0024..a61383d3b1 100644 --- a/features/taxonomy/managing_taxons/deleting_taxon.feature +++ b/features/taxonomy/managing_taxons/deleting_taxon.feature @@ -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