Ignore:
Timestamp:
11 Feb 2015, 14:26:10 (10 years ago)
Author:
Henrik Bettermann
Message:

Add 'T&C acceptance' confirmation box.

File:
1 edited

Legend:

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

    r12585 r12593  
    14141414            '<a href="http://localhost/app/customers/K1000000/documents/DOC1">DOC1 -'
    14151415            in self.browser.contents)
    1416         # Customer can submit the form. The form is also saved.
     1416        # Customer can submit the form if confirmation box is ticket.
     1417        # The form is also saved.
    14171418        self.browser.getLink("Edit").click()
     1419        self.browser.getControl("Apply").click()
     1420        self.assertTrue('confirm your acceptance of these by ticking' in self.browser.contents)
     1421        self.assertEqual(contract.state, 'created')
     1422        self.browser.getControl(name="confirm_tc").value = True
    14181423        self.browser.getControl("Apply").click()
    14191424        self.assertEqual(contract.state, 'submitted')
Note: See TracChangeset for help on using the changeset viewer.