Changeset 6946 for main/waeup.sirp/trunk/src
- Timestamp:
- 25 Oct 2011, 14:37:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6942 r6946 807 807 self.browser.getControl("Remove selected", index=0).click() 808 808 self.assertTrue('Successfully removed' in self.browser.contents) 809 810 # The new SFE-0 pin can be used for starting course registration 811 IWorkflowInfo(self.student).fireTransition('request_clearance') 812 IWorkflowInfo(self.student).fireTransition('clear') 813 self.browser.open(self.studycourse_student_path) 814 self.browser.getLink('Start course registration').click() 815 pin = self.app['accesscodes']['SFE-0'].keys()[0] 816 parts = pin.split('-')[1:] 817 sfeseries, sfenumber = parts 818 self.browser.getControl(name="ac_series").value = sfeseries 819 self.browser.getControl(name="ac_number").value = sfenumber 820 self.browser.getControl("Start course registration now").click() 821 self.assertMatches('...Course registration has been started...', 822 self.browser.contents) 823 self.assertTrue(self.student.state,'school fee paid')
Note: See TracChangeset for help on using the changeset viewer.