[Feature] Add deleting a taxon that is a main taxon of a product scenario

This commit is contained in:
Rafikooo 2023-05-10 08:27:40 +02:00
parent e5d808bcb7
commit 9eb7a3134a
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B

View file

@ -32,6 +32,15 @@ Feature: Deleting a taxon
When I try to delete taxon named "Caps" When I try to delete taxon named "Caps"
Then I should be notified that I cannot delete a menu taxon of any channel Then I should be notified that I cannot delete a menu taxon of any channel
@todo
Scenario: Deleting a taxon that is a main taxon of a product
Given the store classifies its products as "T-Shirts"
And the store has a product "T-Shirts PHP"
And this product has a main taxon "T-Shirts"
When I delete taxon named "T-Shirts"
Then the taxon named "T-Shirts" should no longer exist in the registry
And the product "T-Shirts PHP" should no longer have a main taxon
@ui @javascript @api @ui @javascript @api
Scenario: Deleting root taxon above menu taxon Scenario: Deleting root taxon above menu taxon
Given the store has "Main Category" taxonomy Given the store has "Main Category" taxonomy