Ignore:
Timestamp:
12 Mar 2015, 08:59:30 (10 years ago)
Author:
Henrik Bettermann
Message:

Select Credit Card (Demo Payments).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py

    r12747 r12750  
    15071507        radio_ctrl.value = [radio_ctrl.options[0]]  # pick first payment opt
    15081508        self.browser.getControl("Select payment method").click()
     1509        # Select demo payment
     1510        self.browser.getControl(name="cc_number").value = '123456789012345'
     1511        self.browser.getControl(name="csc").value = '1234'
     1512        self.browser.getControl("Authorize Payment").click()
     1513        self.assertTrue(
     1514            'Your payment will now be verified'
     1515            in self.browser.contents)
    15091516        self.assertEqual(contract.state, 'awaiting')
    15101517        # Customer can't edit the contract once it has been submitted
Note: See TracChangeset for help on using the changeset viewer.