Logo: Relish

  1. Sign in

Project: Monty

complex logged in after login flow

  • @monty-prod-checkout
  • @notEBT

As a user
and I complete a purchase flow
I should still be logged in afterwards

Background
Given
the set up is done
Scenarios
Guest user attempts checkout
Given
I have added a product to the basket and checkout as guest
And
I have checked out with the default uk delivery and billing info
When
I enter and verify my email
And
Confirm the order
Then
I should receive the payment can not be processed message
And
my details should have the same delivery and billing address entered for the purchase
A customer registers during checkout before placing an order and then placing order again as full profile user
Given
I have added a product to the basket and checkout as guest
And
I have checked out with the default uk delivery address
And
I pay with the card type VISA the card number 4444333322221111 and the cvv 123
And
I enter and verify my email
And
Confirm the order
And
I should receive the payment can not be processed message
When
The shopping bag contains a product
And
I checkout as the logged in user
And
I enter a value as "123" for my "cvv"
And
Confirm the order
Then
I should receive the payment can not be processed message
And
my details should have the same delivery and billing address entered for the purchase
A customer logs in (no checkout profile) during checkout before placing an order
And
I have registered as a new user
And
I log out
And
I have added a product to the basket and checkout as guest
And
I have checked out with the default uk delivery address
And
I pay with the card type VISA the card number 4444333322221111 and the cvv 123
When
Confirm the order as an existing user
Then
I should receive the payment can not be processed message
And
my details should have the same delivery and billing address entered for the purchase
  • @Broken
A customer logs in (with checkout profile) during checkout before placing an order
And
I have registered as a new full profile user with card type VISA, card number 4444333322221111 and the cvv 123
And
I am on a product details page
And
I open and empty the shopping bag
And
I log out
And
I have added a product to the basket and checkout as guest
And
I have checked out with the default uk delivery address
And
I pay with the card type VISA the card number 4462030000000000 and the cvv 123
When
Confirm the order as an existing user
Then
I should receive the payment can not be processed message
And
my details should have the same delivery and billing address entered for the purchase

Last published about 4 years ago by keith ford.