Changeset 6782 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 16 Sep 2011, 15:18:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6779 r6782 283 283 self.browser.getControl("Save").click() 284 284 285 # Managers can add a any sudy level (course list) 286 self.browser.getControl(name="addlevel").value = ['100'] 287 self.browser.getControl("Add study level").click() 288 self.assertMatches('...<span>100</span>...', 289 self.browser.contents) 290 291 # Managers can browse all subobjects 285 292 self.browser.open(self.student_path) 286 293 self.browser.getLink("Payments").click() 287 294 self.assertEqual(self.browser.headers['Status'], '200 Ok') 288 295 self.assertEqual(self.browser.url, self.payments_student_path) 289 290 296 self.browser.open(self.student_path) 291 297 self.browser.getLink("Accommodation").click() 292 298 self.assertEqual(self.browser.headers['Status'], '200 Ok') 293 299 self.assertEqual(self.browser.url, self.accommodation_student_path) 294 295 300 self.browser.open(self.student_path) 296 301 self.browser.getLink("History").click()
Note: See TracChangeset for help on using the changeset viewer.