22 lines
914 B
Gherkin
22 lines
914 B
Gherkin
Feature: Ordering a product as a user
|
|
|
|
@javascript
|
|
Scenario: Happy flow
|
|
Given There is an open supplier with a menu
|
|
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 user clicks on the order 'Heineken beer' twice
|
|
And the user clicks on the order product button 'Apple Pie'
|
|
And the user clicks on the user order button
|
|
Then the user should be redirected to the user order overview page
|
|
And the user order should be created as a new order
|
|
When the user order gets marked as being in process
|
|
Then the user order should get feedback of being in process
|
|
When the user order gets marked as being delivered
|
|
Then the user order should get feedback of being delivered
|
|
When the user orders list gets closed
|
|
Then the user should be redirected to the archived list path
|
|
|
|
Scenario: Resetting an active order
|