| AddCouponCodeNumberTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Shopping Test Page | |
| clickAtAndWait | link=Shopping Test Page | |
| clickAtAndWait | link=Coupons | |
| clickAtAndWait | //input[@value='Add Coupon'] | |
| type | _34_code | 123456789 |
| type | _34_name | Coupon Test |
| type | _34_description | This is a coupon test. |
| type | _34_discount | 0.50 |
| clickAtAndWait | //input[@value='Save'] | |
| assertTextPresent | You have entered invalid data. Please try again. | |
| assertTextPresent | Please enter a valid code. | |