Ignore:
Timestamp:
14 Sep 2011, 13:39:57 (13 years ago)
Author:
Henrik Bettermann
Message:

Implement RequestClearance? page. This is to avoid accidental clearance requests. Students have to reenter their CLR access code before the request is submitted.

File:
1 edited

Legend:

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

    r6767 r6769  
    401401        self.browser.getControl(name="ac_series").value = self.existing_clrseries
    402402        self.browser.getControl(name="ac_number").value = self.existing_clrnumber
    403         self.browser.getControl("Start").click()
     403        self.browser.getControl("Start clearance now").click()
    404404        self.assertMatches('...Clearance process is started...',
    405405                           self.browser.contents)
     
    411411        self.browser.getLink("Edit").click()
    412412        self.browser.getControl("Save and request clearance").click()
     413        self.browser.getControl(name="ac_series").value = self.existing_clrseries
     414        self.browser.getControl(name="ac_number").value = self.existing_clrnumber
     415        self.browser.getControl("Request clearance now").click()
    413416        self.assertMatches('...Clearance has been requested...',
    414417                           self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.