Product image and description handling

This commit is contained in:
2014-11-28 15:08:01 +01:00
parent c36c88bc15
commit f63a7a83cc
17 changed files with 132 additions and 51 deletions
@@ -4,16 +4,20 @@ Feature: Adding product category
Scenario: Adding a product category
Given there is a confirmed and open supplier
And I am signed in as supplier
And there are 2 supplier products
And the supplier visits the new product category page
And the supplier fills in the new product category form selecting the first product and available on tuesdays
When the supplier submits the product category form
Then then new product category with proper properties linked to the first product should have been created
And the supplier should be on the product categoy overview path
When the supplier clicks on the edit product category button
And the supplier unchecks the first product and checks the last product
And the supplier clicks on the tuesday and wednesday buttons selecting wednesday as active day
#And there are 2 supplier products
And the supplier visits the menu page
When the supplier clicks on the new product category button
And the supplier fills in the new product category form selecting available on tuesdays
And the supplier submits the product category form
Then the the product category is active on wednesday and only linked to the last product
Then then new product category with proper properties should have been created
When the supplier clicks on the add product button for the product category
And the supplier fills in the new product form and submits it
Then the product created by the supplier should have been created
#And the supplier should be on the product categoy overview path
#When the supplier clicks on the edit product category button
#And the supplier unchecks the first product and checks the last product
#And the supplier clicks on the tuesday and wednesday buttons selecting wednesday as active day
#And the supplier submits the product category form
#Then the the product category is active on wednesday and only linked to the last product
@@ -1,6 +1,6 @@
Feature: Serving a product category from a different time zone
@javascript
@javascript @broken
Scenario: Serving a product category from Buenos Aires
Given there is a confirmed and open supplier
And the supplier is in "Buenos Aires"