mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
17 lines
717 B
Gherkin
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
|