- Timestamp:
- 4 May 2020, 11:02:24 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py
r15883 r16082 207 207 layer = FunctionalLayer 208 208 209 def fill_correct_values(self): 210 # Fill the edit form with suitable values 211 self.browser.getControl(name="form.firstname").value = 'John' 212 self.browser.getControl(name="form.middlename").value = 'Anthony' 213 self.browser.getControl(name="form.lastname").value = 'Tester' 214 self.browser.getControl(name="custom.course1").value = ['CERT1'] 215 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 216 self.browser.getControl(name="form.sex").value = ['m'] 217 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 218 209 219 def setUp(self): 210 220 super(InterswitchTestsApplicants, self).setUp() … … 216 226 self.browser.open(self.manage_path) 217 227 #IWorkflowState(self.student).setState('started') 218 s uper(InterswitchTestsApplicants, self).fill_correct_values()228 self.fill_correct_values() 219 229 self.applicantscontainer.application_fee = 1000.0 220 230 self.browser.getControl(name="form.nationality").value = ['NG']
Note: See TracChangeset for help on using the changeset viewer.