Changeset 16386 for main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Timestamp:
- 25 Jan 2021, 15:35:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r16385 r16386 1170 1170 1171 1171 def test_student_medical_questionnaire(self): 1172 self.app['configuration']['2004'].medical_quest_fee = 1000.0 1172 1173 IWorkflowInfo(self.student).fireTransition('admit') 1173 1174 self.browser.open(self.login_path) … … 1179 1180 self.browser.getLink("Base Data").click() 1180 1181 self.browser.getLink("Medical Questionnaire").click() 1182 self.assertTrue('Please pay medical questionnaire payment first' in 1183 self.browser.contents) 1184 self.assertEqual(self.browser.url, self.student_path) 1185 self.browser.open(self.payments_path) 1186 self.browser.getLink("Add current session payment ticket").click() 1187 self.browser.getControl(name="form.p_category").value = ['medical_quest'] 1188 self.browser.getControl("Create ticket").click() 1189 p_ticket = self.student['payments'].values()[0] 1190 p_ticket.approveStudentPayment() 1191 self.browser.getLink("Base Data").click() 1192 self.browser.getLink("Medical Questionnaire").click() 1181 1193 self.browser.getLink("Download medical questionnaire slip").click() 1182 1194 self.assertEqual(self.browser.headers['Status'], '200 Ok')
Note: See TracChangeset for help on using the changeset viewer.