Ignore:
Timestamp:
7 Aug 2013, 11:18:43 (11 years ago)
Author:
Henrik Bettermann
Message:

Let transcript officers find their students via the students container page.

File:
1 edited

Legend:

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

    r10464 r10465  
    19261926    def test_process_transcript_request(self):
    19271927        IWorkflowState(self.student).setState('transcript requested')
     1928        notify(grok.ObjectModifiedEvent(self.student))
    19281929        self.student.transcript_comment = (
    19291930            u'On 07/08/2013 08:59:54 UTC K1000000 wrote:\n\nComment line 1 \n'
     
    19471948            '...<div>Transcript Officer</div>...',
    19481949            self.browser.contents)
    1949         self.browser.open(self.student_path)
     1950        # Officer can search for students in state 'transcripr requested'
     1951        self.browser.open(self.container_path)
     1952        self.browser.getControl(name="searchtype").value = ['transcript']
     1953        self.browser.getControl("Search").click()
     1954        self.assertTrue('Anna Tester' in self.browser.contents)
     1955        self.browser.getLink("K1000000").click()
    19501956        self.browser.getLink("Manage transcript request").click()
    19511957        self.assertTrue(' UTC K1000000 wrote:<br><br>Comment line 1 <br>'
Note: See TracChangeset for help on using the changeset viewer.