- Timestamp:
- 6 Sep 2013, 06:07:02 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/tests/test_browser.py
r10133 r10594 106 106 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 107 107 self.browser.getControl(name="form.lga").value = ['foreigner'] 108 self.browser.getControl(name="form.nationality").value = ['NG']109 self.browser.getControl(name="form.sex").value = ['m']108 #self.browser.getControl(name="form.nationality").value = ['NG'] 109 #self.browser.getControl(name="form.sex").value = ['m'] 110 110 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 111 111 … … 135 135 self.assertTrue("Higher" in self.browser.contents) 136 136 self.assertTrue("'O' Level" in self.browser.contents) 137 138 self.browser.open(self.ndftapplicant_path + '/manage') 139 # Manager can fill and save the form 140 self.fill_correct_values() 141 self.browser.getControl("Save").click() 142 self.assertMatches('...Form has been saved...', self.browser.contents) 137 143 return
Note: See TracChangeset for help on using the changeset viewer.