Changeset 9856


Ignore:
Timestamp:
10 Jan 2013, 06:55:48 (12 years ago)
Author:
Henrik Bettermann
Message:

Check if the enquiries form is not pre-filled with officer_comment (regression test)

File:
1 edited

Legend:

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

    r9844 r9856  
    13531353        # The comment is indicated by 'yes'
    13541354        self.assertTrue('<td><span>yes</span></td>' in self.browser.contents)
     1355        # Check if the enquiries form is not pre-filled with officer_comment
     1356        # (regression test)
     1357        self.browser.getLink("Logout").click()
     1358        self.browser.open('http://localhost/app/enquiries')
     1359        self.assertFalse(
     1360            'You did not fill properly'
     1361            in self.browser.contents)
    13551362        # When a student is cleared the comment is automatically deleted
    13561363        IWorkflowInfo(self.student).fireTransition('request_clearance')
Note: See TracChangeset for help on using the changeset viewer.