- Timestamp:
- 17 Feb 2019, 19:43:26 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r15287 r15334 2177 2177 self.browser.getControl("Save").click() 2178 2178 self.assertTrue('Form has been saved' in self.browser.contents) 2179 # Officer can validate the transcript2179 # Officer can edit transcript remarks and validate the transcript 2180 2180 self.browser.open(self.studycourse_path + '/transcript') 2181 2181 self.browser.getLink("Validate transcript").click() 2182 self.browser.getLink("Edit").click() 2183 self.assertEqual( 2184 self.browser.url, self.studycourse_path + '/100/remark') 2185 self.browser.getControl( 2186 name="form.transcript_remark").value = 'Oh, the student failed' 2187 self.browser.getControl( 2188 "Save remark and go and back to transcript validation page").click() 2189 self.assertEqual( 2190 self.browser.url, 2191 self.studycourse_path + '/validate_transcript#tab4') 2192 self.assertEqual(self.student['studycourse']['100'].transcript_remark, 2193 'Oh, the student failed') 2182 2194 self.browser.getControl("Save comment and validate transcript").click() 2183 2195 # After validation all manage forms are locked. … … 2189 2201 self.assertTrue('The requested form is locked' in self.browser.contents) 2190 2202 self.browser.open(self.studycourse_path + '/100/COURSE1/manage') 2203 self.assertTrue('The requested form is locked' in self.browser.contents) 2204 self.browser.open(self.studycourse_path + '/100/remark') 2191 2205 self.assertTrue('The requested form is locked' in self.browser.contents) 2192 2206
Note: See TracChangeset for help on using the changeset viewer.