Logo: Relish

  1. Sign in

Project: Monty

Customer enters a delivery address

  • @Checkout
  • @EnterAddress

As a customer,
I would like to enter my delivery address I would like my order delivered
So that I can control where I will receive it.

MON-800: Enter user details for home delivery
MON-801: Delivery Details - Find Address

Background
Given
the set up is done
Scenarios
  • @MON-800
  • @MON-801
  • @Smoke
1. A customer in UK enters an delivery details in delivery page
Given
I have added a product to the basket and checkout as guest
And
I enter the delivery Details "Miss", "Jane", "Daws", "07123 123 123"
And
I select the delivery country "United Kingdom"
And
I enter the find address postcode "W1W 8LG"
And
I enter the find address house number "216"
Then
I submit the Find Address
And
I should see a clear form link
And
I should see a find address link
  • @MON-801
  • @Smoke
2. A Customer sees an error message when fails to enter a post code in delivery details
Given
I have added a product to the basket and checkout as guest
And
The Delivery country select is "United Kingdom"
When
I do not enter anything in to the postcode field
And
I enter the find address house number "216"
Then
I received an error message for "postCode" as "This field is required"
And
I should see Find Address disabled
  • @CHAN-356
3. A customer sees post code validation error message when an invalid post code is keyed in
Given
I have added a product to the basket and checkout as guest
And
I select the delivery country "Sweden"
And
I enter the find address postcode "W1W 8LG"
And
I enter the find address house number "216"
Then
I received an error message for "postCode" as "Please enter a valid post code"
And
I should see Find Address disabled
  • @MON-801
  • @Smoke
4. A Customer sees an error message when no address returned for the searched postcode
Given
I have added a product to the basket and checkout as guest
And
The Delivery country select is "United Kingdom"
And
I enter the find address postcode "SE156PR"
And
I enter the find address house number " "
Then
I submit the Find Address
And
I received the no-address error message
  • @MON-801
  • @Smoke
  • @Draft
5. A Customer sees an error message when multiple address returned for the searched postcode
Given
I have added a product to the basket and checkout as guest
And
The Delivery country select is "United Kingdom"
And
I enter the find address postcode "E12 6NG"
And
I enter the find address house number "byron"
Then
I submit the Find Address

Last published about 4 years ago by keith ford.