Changeset 6899 for main


Ignore:
Timestamp:
15 Oct 2011, 05:07:51 (13 years ago)
Author:
Henrik Bettermann
Message:

Change browser test according to last revision.

File:
1 edited

Legend:

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

    r6896 r6899  
    629629        self.browser.getControl("Add online payment ticket").click()
    630630        self.browser.getControl("Create ticket").click()
    631         self.assertTrue('amount could not be determined' in self.browser.contents)
    632         self.browser.open(self.manage_student_path)
    633         self.browser.getControl(name="transition").value = ['admit']
    634         self.browser.getControl("Save").click()
    635         self.browser.getControl(name="transition").value = ['start_clearance']
    636         self.browser.getControl("Save").click()
    637         self.browser.getControl(name="transition").value = ['request_clearance']
    638         self.browser.getControl("Save").click()
    639         self.browser.getControl(name="transition").value = ['clear']
    640         self.browser.getControl("Save").click()
    641         self.browser.open(self.payments_student_path + '/addop')
    642         self.browser.getControl("Create ticket").click()
    643631        self.assertMatches('...ticket created...',
    644632                           self.browser.contents)
    645633        ctrl = self.browser.getControl(name='val_id')
    646         #import pdb; pdb.set_trace()
    647634        value = ctrl.options[0]
    648635        ctrl.getControl(value=value).selected = True
Note: See TracChangeset for help on using the changeset viewer.