Greenification of the specs
This commit is contained in:
@@ -7,5 +7,6 @@ Feature: Getting product information during an order
|
||||
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 more info button for the product with name 'Heineken beer'
|
||||
Then the user page should have product information 'Brewed in Amsterdam'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -7,11 +7,11 @@ Feature:
|
||||
And there is a table
|
||||
And I am signed in as a user
|
||||
When the user is on the order products page
|
||||
Then the user page contains the product category lunch
|
||||
Then the user page contains the product category "Lunch"
|
||||
When the product category lunch is not visible today
|
||||
And I reload the page
|
||||
Then the user page contains the product category beer
|
||||
And the user page does not contain the product category lunch
|
||||
Then the user page contains the product category "Beer"
|
||||
And the user page does not contain the product category "Lunch"
|
||||
|
||||
@javascript
|
||||
Scenario: Product category visibility by minute when inside the range
|
||||
@@ -19,11 +19,11 @@ Feature:
|
||||
And there is a table
|
||||
And I am signed in as a user
|
||||
When the user is on the order products page
|
||||
Then the user page contains the product category lunch
|
||||
Then the user page contains the product category "Lunch"
|
||||
When the product category lunch is visible at this time
|
||||
And I reload the page
|
||||
Then the user page contains the product category beer
|
||||
And the user page contains the product category lunch
|
||||
Then the user page contains the product category "Beer"
|
||||
And the user page contains the product category "Lunch"
|
||||
|
||||
@javascript
|
||||
Scenario: Product category visibility by minute when category is visible after now
|
||||
@@ -31,11 +31,11 @@ Feature:
|
||||
And there is a table
|
||||
And I am signed in as a user
|
||||
When the user is on the order products page
|
||||
Then the user page contains the product category lunch
|
||||
Then the user page contains the product category "Lunch"
|
||||
When the product category lunch is visible later than now
|
||||
And I reload the page
|
||||
Then the user page contains the product category beer
|
||||
And the user page does not contain the product category lunch
|
||||
Then the user page contains the product category "Beer"
|
||||
And the user page does not contain the product category "Lunch"
|
||||
|
||||
@javascript
|
||||
Scenario: Product category visibility by minute when category is visible before now
|
||||
@@ -43,8 +43,8 @@ Feature:
|
||||
And there is a table
|
||||
And I am signed in as a user
|
||||
When the user is on the order products page
|
||||
Then the user page contains the product category lunch
|
||||
Then the user page contains the product category "Lunch"
|
||||
When the product category lunch is visible earlyer than now
|
||||
And I reload the page
|
||||
Then the user page contains the product category beer
|
||||
And the user page does not contain the product category lunch
|
||||
Then the user page contains the product category "Beer"
|
||||
And the user page does not contain the product category "Lunch"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Feature: Submitting contact form
|
||||
Scenario: Website visitor submits contact form
|
||||
Given there are standard website pages
|
||||
When I visit '/contact'
|
||||
When I visit '/en/contact'
|
||||
And I fill in the website contact form
|
||||
And I submit the website contact form
|
||||
Then I should be redirected to the homepage
|
||||
|
||||
Reference in New Issue
Block a user