updating part2, far from finished

This commit is contained in:
2013-12-20 19:22:12 +01:00
parent 748944865d
commit b4c4a15e60
22 changed files with 2779 additions and 62 deletions
@@ -0,0 +1,18 @@
Feature: Adding product
Scenario: Adding a product
Given there is a confirmed and open supplier
And I am signed in as supplier
And there are 2 supplier product categories
And the supplier visits the new product page
And the supplier fills in the new product form selecting the first product category
When the supplier submits the product form
Then the new product with proper properties linked to the first product category should have been created
And the supplier should be on the product overview path
When the supplier clicks on the edit product button
And the supplier unchecks the first product category and checks the last product category
And the supplier submits the product form
Then the supplier product should only be linked to the last product category
And the supplier should be on the product overview path
@@ -0,0 +1,18 @@
Feature: Adding product
Scenario: Adding a product
Given there is a confirmed and open supplier
And I am signed in as supplier
And there are 2 supplier sections
And the supplier visits the new table page
And the supplier fills in the new table form selecting the first section
When the supplier submits the table form
Then the new supplier table with proper properties should have been created
And the supplier should be on the table section page
When the supplier visits the edit table page
And the supplier changes the table number to 9 and section to the last section
And the supplier submits the table form
Then the supplier table should have number 9 and be linked to the last section
And the supplier should be on the table section page