BO - Design - Image Settings - Delete actions

Details

Steps

Step Description Expected result
* Do the Precondition “BO - Image Settings - Create an Image type random” twice
* Scroll down and click on “Regenerate thumbnails”
* Clic on “Regenerate” on the modal
* You’ll have two new image type
* You’ll have a new modal 
* You’ll have products on the new format in [nameofyourshop]/img/p if you setup your image type for product
* Clic on the down arrow next to the first Image type create * An other button should be dropped down
* Clic on the “Delete” button * A new modal named “Are your sure you want to delete this image seeting?” should be dislpayed
* Clic on the red Delete button * A progress bar wil be displayed during the deletion 
* The first image should be deleted
* Image relative to this image type should not be removed
* Clic on the down arrow next to the last Image type create * An other button should be dropped down
* Clic on the “Delete” button * A new modal named “Are your sure you want to delete this image seeting?” should be dislpayed
* Check the box named “Delete the images linked to this image setting”
* Clic on the red Delete button
* A progress bar wil be displayed during the deletion 
* The second image should be deleted
* Images relative to this image type are removed