Changeset 16120 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 15 Jun 2020, 07:58:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r16086 r16120 2125 2125 2126 2126 def test_process_transcript(self): 2127 IWorkflowState(self.student).setState(' transcript requested')2127 IWorkflowState(self.student).setState('graduated') 2128 2128 notify(grok.ObjectModifiedEvent(self.student)) 2129 2129 self.student['studycourse'].transcript_comment = ( … … 2145 2145 self.browser.getControl("Login").click() 2146 2146 self.assertMatches('...You logged in...', self.browser.contents) 2147 # Officer can request transcript for students 2148 self.browser.open(self.student_path) 2149 self.browser.getLink("Request transcript for student").click() 2150 self.browser.getControl("Request now").click() 2151 self.assertEqual(self.student.state, 'transcript requested') 2147 2152 # Officer can see his roles 2148 2153 self.browser.getLink("My Roles").click() … … 3621 3626 self.browser.getControl(name="comment").value = 'Comment line 1 \nComment line2' 3622 3627 self.browser.getControl(name="address").value = 'Address line 1 \nAddress line2' 3623 self.browser.getControl(" Submit").click()3628 self.browser.getControl("Request now").click() 3624 3629 self.assertMatches('...Transcript processing has been started...', 3625 3630 self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.