Changeset 6929 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 23 Oct 2011, 19:41:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6927 r6929 661 661 self.app['configuration'].addSessionConfiguration(configuration) 662 662 663 # Managers can add and remove online payment tickets663 # Managers can add and remove online school fee payment tickets 664 664 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 665 665 self.browser.open(self.payments_student_path) 666 666 self.browser.getLink("Manage").click() 667 667 self.browser.getControl("Add online payment ticket").click() 668 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 668 669 self.browser.getControl("Create ticket").click() 669 670 self.assertMatches('...ticket created...', … … 683 684 self.browser.getControl("Remove selected", index=0).click() 684 685 self.assertTrue('Successfully removed' in self.browser.contents) 686 687 # Managers can add online clearance payment tickets 688 self.browser.open(self.payments_student_path + '/addop') 689 self.browser.getControl(name="form.p_category").value = ['clearance'] 690 self.browser.getControl("Create ticket").click() 691 self.assertMatches('...ticket created...', 692 self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.