Ignore:
Timestamp:
15 Jun 2020, 07:58:00 (5 years ago)
Author:
Henrik Bettermann
Message:

Finetune transcript processing. Allow transcript officers to request a transcript.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r16086 r16120  
    21252125
    21262126    def test_process_transcript(self):
    2127         IWorkflowState(self.student).setState('transcript requested')
     2127        IWorkflowState(self.student).setState('graduated')
    21282128        notify(grok.ObjectModifiedEvent(self.student))
    21292129        self.student['studycourse'].transcript_comment = (
     
    21452145        self.browser.getControl("Login").click()
    21462146        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')
    21472152        # Officer can see his roles
    21482153        self.browser.getLink("My Roles").click()
     
    36213626        self.browser.getControl(name="comment").value = 'Comment line 1 \nComment line2'
    36223627        self.browser.getControl(name="address").value = 'Address line 1 \nAddress line2'
    3623         self.browser.getControl("Submit").click()
     3628        self.browser.getControl("Request now").click()
    36243629        self.assertMatches('...Transcript processing has been started...',
    36253630                          self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.