Changeset 9753 for main/waeup.fceokene


Ignore:
Timestamp:
1 Dec 2012, 07:35:31 (12 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

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

    r9629 r9753  
    9494        self.browser.open(self.payments_path)
    9595        self.browser.getLink("Add current session payment ticket").click()
     96        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    9697        self.browser.getControl("Create ticket").click()
    9798        self.assertMatches('...Amount could not be determined...',
     
    99100        IWorkflowState(self.student).setState('cleared')
    100101        self.browser.open(self.payments_path + '/addop')
     102        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    101103        self.browser.getControl("Create ticket").click()
    102104        self.assertMatches('...ticket created...',
     
    115117        ticket.p_state = 'paid'
    116118        self.browser.open(self.payments_path + '/addop')
     119        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    117120        self.browser.getControl("Create ticket").click()
    118121        self.assertMatches('...This type of payment has already been made...',
     
    123126            del self.student['payments'][payment]
    124127        self.browser.open(self.payments_path + '/addop')
     128        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    125129        self.browser.getControl("Create ticket").click()
    126130        self.assertMatches('...ticket created...',
     
    170174        configuration.academic_session = 2005
    171175        self.app['configuration'].addSessionConfiguration(configuration)
     176        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    172177        self.browser.getControl("Create ticket").click()
    173178        self.assertMatches('...ticket created...',
Note: See TracChangeset for help on using the changeset viewer.