Changeset 16365 for main/waeup.fceokene


Ignore:
Timestamp:
11 Jan 2021, 23:18:58 (4 years ago)
Author:
Henrik Bettermann
Message:

Fix tests.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
2 edited

Legend:

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

    r15427 r16365  
    6060        self.assertMatches('...ticket created...',
    6161                           self.browser.contents)
     62        self.browser.open(self.payments_path)
    6263        ctrl = self.browser.getControl(name='val_id')
    6364        self.value = ctrl.options[0]
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r16011 r16365  
    103103        self.assertMatches('...ticket created...',
    104104                           self.browser.contents)
     105        self.browser.open(self.payments_path)
    105106        ctrl = self.browser.getControl(name='val_id')
    106107        value = ctrl.options[0]
     
    137138        self.browser.open(self.payments_path + '/addop')
    138139        self.browser.getControl(name="form.p_category").value = ['third_semester']
     140        self.student['studycourse'].current_level = 300
    139141        self.browser.getControl("Create ticket").click()
    140142        self.assertMatches('...Make NCE 3 school fee payment first...', self.browser.contents)
     
    429431                           self.browser.contents)
    430432        self.app['configuration']['2004'].payment_disabled = ['sf_nce1']
     433        self.browser.open(self.payments_path)
    431434        self.browser.getLink("Add current session payment ticket").click()
    432435        self.browser.getControl(name="form.p_category").value = ['schoolfee']
Note: See TracChangeset for help on using the changeset viewer.