Commit 6a27460b by Michael Frey Committed by GitHub

Merge pull request #852 from edx/mjfrey/fix-acceptance-test

Fill in required invoice fields for coupon acceptance tests.
parents d2889b9b c802cca1
......@@ -74,6 +74,10 @@ class CouponsCreatePage(EcommerceAppPage):
self.q(css="input[name='benefit_value']").fill('50')
self.q(css="input[name='invoice_number']").fill('1001')
self.q(css="input[name='invoice_payment_date']").fill(str(DEFAULT_END_DATE))
self.q(css="input[name='price']").fill('100')
self.q(css="div.form-actions > button.btn").click()
self.wait_for_ajax()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment