Changeset 16655 for main/kofacustom.edocons/trunk/src/kofacustom/edocons
- Timestamp:
- 30 Sep 2021, 05:31:28 (3 years ago)
- Location:
- main/kofacustom.edocons/trunk/src/kofacustom/edocons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py
r16643 r16655 75 75 'special_application', 76 76 'jamb_subjects_list', 77 'programme_type') 77 'programme_type', 78 'course1', 'course2') # these 2 have been added 78 79 UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + ( 79 80 'student_id', -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/tests/test_browser.py
r16639 r16655 80 80 self.browser.open(self.manage_path) 81 81 self.assertEqual(self.browser.headers['Status'], '200 Ok') 82 self.fill_correct_values() 82 self.browser.getControl(name="form.firstname").value = 'John' 83 self.browser.getControl(name="form.middlename").value = 'Anthony' 84 self.browser.getControl(name="form.lastname").value = 'Tester' 85 #self.browser.getControl(name="form.course1").value = ['CERT1'] 86 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 87 self.browser.getControl(name="form.sex").value = ['m'] 88 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 83 89 self.browser.getControl("Save").click() 84 90 IWorkflowState(self.applicant).setState('submitted') -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/interswitch/tests.py
r16642 r16655 210 210 self.browser.open(self.manage_path) 211 211 #IWorkflowState(self.student).setState('started') 212 super(InterswitchTestsApplicants, self).fill_correct_values() 212 self.browser.getControl(name="form.firstname").value = 'John' 213 self.browser.getControl(name="form.middlename").value = 'Anthony' 214 self.browser.getControl(name="form.lastname").value = 'Tester' 215 #self.browser.getControl(name="form.course1").value = ['CERT1'] 216 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 217 self.browser.getControl(name="form.sex").value = ['m'] 218 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 213 219 self.applicantscontainer.application_fee = 1000.0 214 220 self.browser.getControl(name="form.nationality").value = ['NG']
Note: See TracChangeset for help on using the changeset viewer.