Cart flow
First scenario:
Given there is a not logged in user
And this user adds a blue T-Shirt to the cart
And there is a customer identified by email "[email protected]"
And the "[email protected]" customer has a previously created cart with a red Cap in it
When the not logged in user logs in using "[email protected]" email
Then the cart created by a not logged in user should be dropped
And the cart previously created by the user identified by "[email protected]" should be set as the current one
And the "[email protected]" customer's cart should have a red Cap in itSecond scenario:
Given there is a not logged in user
And this user adds a blue T-Shirt to the cart
And there is a customer identified by email "[email protected]" with an empty cart
When the not logged in user logs in using "[email protected]" email
Then the cart created by a not logged in user should not be dropped
And the "[email protected]" customer's cart should have a blue T-Shirt in itThird scenario:
Last updated
Was this helpful?
