Changeset 6899 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 15 Oct 2011, 05:07:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6896 r6899 629 629 self.browser.getControl("Add online payment ticket").click() 630 630 self.browser.getControl("Create ticket").click() 631 self.assertTrue('amount could not be determined' in self.browser.contents)632 self.browser.open(self.manage_student_path)633 self.browser.getControl(name="transition").value = ['admit']634 self.browser.getControl("Save").click()635 self.browser.getControl(name="transition").value = ['start_clearance']636 self.browser.getControl("Save").click()637 self.browser.getControl(name="transition").value = ['request_clearance']638 self.browser.getControl("Save").click()639 self.browser.getControl(name="transition").value = ['clear']640 self.browser.getControl("Save").click()641 self.browser.open(self.payments_student_path + '/addop')642 self.browser.getControl("Create ticket").click()643 631 self.assertMatches('...ticket created...', 644 632 self.browser.contents) 645 633 ctrl = self.browser.getControl(name='val_id') 646 #import pdb; pdb.set_trace()647 634 value = ctrl.options[0] 648 635 ctrl.getControl(value=value).selected = True
Note: See TracChangeset for help on using the changeset viewer.