Sylius/features/taxonomy/managing_taxons/taxon_image_validation.feature
2016-11-04 14:14:07 +01:00

17 lines
717 B
Gherkin

@managing_taxons
Feature: Taxon image validation
In order to avoid making mistakes when managing a taxon images
As an Administrator
I want to be prevented from adding it without specifying required fields
Background:
Given the store classifies its products as "T-Shirts"
And I am logged in as an administrator
@ui @javascript
Scenario: Trying to add a new image without specifying its code to an existing taxon
When I want to modify the "T-Shirts" taxon
And I attach the "t-shirts.jpg" image without a code
And I try to save my changes
Then I should be notified that an image code is required
And this taxon should not have any images