- Timestamp:
- 7 Mar 2024, 12:57:10 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.udss/trunk/src/kofacustom/udss/applicants/tests/test_browser.py
r17689 r17711 60 60 applicant.email = 'anna@sample.com' 61 61 applicant.phone = u'+234-123-12345' 62 applicant.course1 = self.certificate63 applicant.course2 = self.certificate64 applicant.course_admitted = self.certificate62 #applicant.course1 = self.certificate 63 #applicant.course2 = self.certificate 64 #applicant.course_admitted = self.certificate 65 65 applicant.notice = u'Some notice\nin lines.' 66 applicant.screening_score = 9867 applicant.screening_venue = u'Exam Room'68 applicant.screening_date = u'Saturday, 16th June 2012 2:00:00 PM'66 #applicant.screening_score = 98 67 #applicant.screening_venue = u'Exam Room' 68 #applicant.screening_date = u'Saturday, 16th June 2012 2:00:00 PM' 69 69 applicant.password = 'any password' 70 70 return applicant … … 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')
Note: See TracChangeset for help on using the changeset viewer.