From 58b40ef74f1c55350d12bfe1f7153f357f7901ac Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Tue, 13 Jun 2017 13:56:46 +0200 Subject: [PATCH] Add a failing test scenario for #7950 --- features/taxonomy/managing_taxons/deleting_taxon.feature | 9 +++++++++ 1 file changed, 9 insertions(+) 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