Changeset 5895 for main


Ignore:
Timestamp:
30 Mar 2011, 10:48:40 (14 years ago)
Author:
uli
Message:

Check that entered values are really displayed after submit.

File:
1 edited

Legend:

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

    r5893 r5895  
    109109        self.assertEqual(self.browser.url, self.login_path)
    110110        return
     111
     112    def test_display_entered_values(self):
     113        # After submit the entered values are displayed in the form
     114        self.browser.open(self.login_path)
     115        # Enter some value we can look for after submit
     116        ac_series = self.browser.getControl(name="form.ac_series")
     117        ac_series.value = '666'
     118        self.browser.getControl(name="SUBMIT").click()
     119        self.assertTrue('666' in self.browser.contents)
     120        return
    111121       
    112122def suite():
Note: See TracChangeset for help on using the changeset viewer.