AddSpaceCouponCodeTest
waitForElementPresent link=Shopping Test Page
clickAndWait link=Shopping Test Page
clickAndWait link=Coupons
clickAndWait //input[@value='Add Coupon']
typeKeys _34_code
type _34_code
typeKeys _34_name Friends and Famil Discount
type _34_name Friends and Family Discount
typeKeys _34_description This discount is for everyone who is considered a friend or part of the famil.
type _34_description This discount is for everyone who is considered a friend or part of the family.
typeKeys _34_discount 0.50
type _34_discount 0.50
clickAndWait //input[@value='Save']
assertTextPresent You have entered invalid data. Please try again.
assertTextPresent Please enter a valid code.
clickAndWait link=Return to Full Page