Logo: Relish

  1. Sign in

Project: Test

Billing address is required

All fields of a billing address are required except:

  • Address line 2
  • State (but only if other country than USA is selected)

Scenario
Given that I am merchant
And I have lots of money
Then I should be happy

Scenarios
Scenario Outline
Given
form field "Full name" value is "Full name"
And
form field "Address Line 1" value is "Address Line 1"
And
form field "Address Line 2" value is "Address Line 2"
And
form field "City" value is "City"
And
form field "Zip" value is "Zip"
And
form field "Country" value is "Country"
And
form field "State" value is "State"
Then
result of a form validation should be "Valid?"
Examples:
Full name Address Line 1 Address Line 2 City Zip Country State Valid?
No
Martin Pavlas U koní 12 Ledce 12345 Czech Republic Yes
Martin Pavlas U koní 12 Ledce 12345 U.S.A. No
Martin Pavlas Ledce 12345 Czech Republic No
U koní 12 Ledce 12345 Czech Republic No
Martin Pavlas U koní 12 12345 Czech Republic No
Martin Pavlas U koní 12 Ledce Czech Republic No
Martin Pavlas U koní 12 Ledce 12345 No
Martin Pavlas U koní 12 Ledce 12345 U.S.A. California Yes
Martin Pavlas U koní 12 Slaný Ledce 12345 Czech Republic Yes
Martin Pavlas U koní 12 Ledce 12345 Czech Republic No
Martin Pavlas U koní 12 12345 Czech Republic Yes
Martin Pavlas 12345 Czech Republic No

Last published over 4 years ago by Hellish.