Greenification of the specs
This commit is contained in:
@@ -6,9 +6,11 @@ Feature: Ordering a product as a user
|
||||
And I am signed in as a user
|
||||
And I am on the user homepage
|
||||
When the user scans a table QR code
|
||||
And the users clicks on the product category "Beer" title
|
||||
And the user clicks on the order 'Heineken beer' twice
|
||||
Then the user order 'Heineken beer' should be in the order list with price
|
||||
And the user order total should not be visible for only one order
|
||||
And the users clicks on the product category "Lunch" title
|
||||
When the user clicks on the order product button 'Apple pie'
|
||||
Then the user order total should be visible with the correct total price
|
||||
When the user clicks on the user order button
|
||||
@@ -31,6 +33,7 @@ Feature: Ordering a product as a user
|
||||
And I am signed in as a user
|
||||
And I am on the user homepage
|
||||
When the user scans a table QR code
|
||||
And the users clicks on the product category "Beer" title
|
||||
And the user clicks on the order product button 'Australian beer'
|
||||
And the user selects the product variant 'Without foam'
|
||||
Then the user order 'Australian beer' with variant 'Without foam' should be in the order list
|
||||
@@ -42,7 +45,9 @@ Feature: Ordering a product as a user
|
||||
And I am signed in as a user
|
||||
And I am on the user homepage
|
||||
When the user scans a table QR code
|
||||
And the users clicks on the product category "Beer" title
|
||||
And the user clicks on the order 'Heineken beer' twice
|
||||
And the users clicks on the product category "Lunch" title
|
||||
And the user clicks on the order product button 'Apple pie'
|
||||
And the user clicks on the clear order for the last order button
|
||||
And the user clicks on the clear order for the last order button
|
||||
@@ -64,5 +69,5 @@ Feature: Ordering a product as a user
|
||||
And the user clicks on the lists link in the side menu
|
||||
And the user opens the side menu again
|
||||
And the user clicks on the order products link in the side menu
|
||||
Then the user page contains the product category beer
|
||||
Then the user page contains the product category "Beer"
|
||||
And the user should see the products listed for the active list
|
||||
|
||||
Reference in New Issue
Block a user