Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 0 | 100.0% | 0.017 seconds |
The collector withdraws cash for sold coffee drinks
As a collector I want to withdraws cash for sold coffee drinks So that I can bring the collected cash to the accountant
should withdraw cash from storage unit
Return
(0.011 seconds)
|
|||||||||||||||||||||||||||||||||
Given:
|
storage unit with a particular volume of resources
|
||||||||||||||||||||||||||||||||
And:
|
control unit with the storage and fake display
|
||||||||||||||||||||||||||||||||
And:
|
control unit is in the main menu state
|
||||||||||||||||||||||||||||||||
And:
|
we clear all messages from fake display
|
||||||||||||||||||||||||||||||||
When:
|
the collector sends a request to withdraw cash from the coffee machine
|
||||||||||||||||||||||||||||||||
Then:
|
the display shows conformation message
|
||||||||||||||||||||||||||||||||
And:
|
the cash container is empty while other at their original state
|
||||||||||||||||||||||||||||||||
Where:
|
resources in the storage block
|
||||||||||||||||||||||||||||||||
And:
|
command to withdraw cash from the coffee machine
|
||||||||||||||||||||||||||||||||
And:
|
confirmation message
|
||||||||||||||||||||||||||||||||
Examples:
|
|
3/3 passed
|