Spec fixes
This commit is contained in:
@@ -7,7 +7,7 @@ Feature: Adding product category
|
||||
#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 fills in the new product category form selecting not available on tuesdays
|
||||
And the supplier submits the product category form
|
||||
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
|
||||
@@ -19,5 +19,3 @@ Feature: Adding product category
|
||||
#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,5 +1,6 @@
|
||||
Feature: Adding product
|
||||
|
||||
@broken
|
||||
Scenario: Adding a product
|
||||
Given there is a confirmed and open supplier
|
||||
And I am signed in as supplier
|
||||
@@ -14,5 +15,3 @@ Feature: Adding product
|
||||
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
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@ Feature: Manage settings
|
||||
When the supplier changes the name to "Test8" in the settings page
|
||||
And the supplier submits the supplier settings form
|
||||
Then the supplier should be redirected to the root path
|
||||
And the supplier name in the page should be "Test8"
|
||||
When the supplier opens the side menu
|
||||
Then the supplier name in the side menu should be "Test8"
|
||||
|
||||
@javascript
|
||||
Scenario: Changing the supplier email
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
Feature: Adding product
|
||||
|
||||
@javascript
|
||||
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 visits the tables page
|
||||
And the supplier clicks on the new table button
|
||||
And the supplier fills in the new table form selecting the first section
|
||||
When the supplier submits the table form
|
||||
And I wait 1 second
|
||||
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
|
||||
When the supplier clicks on the edit table button
|
||||
And the supplier changes the table number to 9 and section to the last section
|
||||
And the supplier submits the table form
|
||||
And I wait 1 second
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user