Logo: Relish

  1. Sign in

Project: Core 1.0

  • Change version

    1. 1.0

Keep track of groceries

As a shopper you can keep track of your groceries using a shopping list.
You can add, remove and edit items. Items you have in your basket can
be marked as completed. Made a mistake? Simply unmark the item and it is
back on the list to get.

Background
Given
I am logged on as a shopper
And
I have a shopping list "list of groceries"
Scenarios
Add item to the shopping list
When
I add "Pickles" to the shopping list
Then
I see "Pickles" in the uncompleted items list
Remove item from the pending items
Given
I have added "Pickles" to the shopping list
Then
I see "Pickles" in the uncompleted items list
When
I remove "Pickles" from the pending items
Then
I no longer see "Pickles" in the pending items
Remove item from the completed items
Given
I have added "Pickles" to the shopping list
Then
I see "Pickles" in the uncompleted items list
When
I mark "Pickles" as completed
When
I remove "Pickles" from the completed items
Then
I no longer see "Pickles" in the completed items
Edit item on the shopping list
Given
I have added "Pickles" to the shopping list
When
I change "Pickles" into "Gherkins" in the pending items
Then
I see "Gherkins" in the pending items
Mark item on the shopping list as completed
Given
I have added "Pickles" to the shopping list
When
I mark "Pickles" as completed
Then
I no longer see "Pickles" in the pending items
Then
I see "Pickles" in the completed items
Mark item on the shopping list as uncompleted
Given
I have added "Pickles" to the shopping list
And
I have marked "Pickles" as completed
When
I mark "Pickles" as uncompleted
Then
I no longer see "Pickles" in the completed items
And
I see "Pickles" in the pending items

Last published about 6 years ago by wmeints.