Changeset 9753 for main/waeup.fceokene
- Timestamp:
- 1 Dec 2012, 07:35:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r9629 r9753 94 94 self.browser.open(self.payments_path) 95 95 self.browser.getLink("Add current session payment ticket").click() 96 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 96 97 self.browser.getControl("Create ticket").click() 97 98 self.assertMatches('...Amount could not be determined...', … … 99 100 IWorkflowState(self.student).setState('cleared') 100 101 self.browser.open(self.payments_path + '/addop') 102 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 101 103 self.browser.getControl("Create ticket").click() 102 104 self.assertMatches('...ticket created...', … … 115 117 ticket.p_state = 'paid' 116 118 self.browser.open(self.payments_path + '/addop') 119 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 117 120 self.browser.getControl("Create ticket").click() 118 121 self.assertMatches('...This type of payment has already been made...', … … 123 126 del self.student['payments'][payment] 124 127 self.browser.open(self.payments_path + '/addop') 128 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 125 129 self.browser.getControl("Create ticket").click() 126 130 self.assertMatches('...ticket created...', … … 170 174 configuration.academic_session = 2005 171 175 self.app['configuration'].addSessionConfiguration(configuration) 176 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 172 177 self.browser.getControl("Create ticket").click() 173 178 self.assertMatches('...ticket created...',
Note: See TracChangeset for help on using the changeset viewer.