Changeset 7430 for main/waeup.sirp


Ignore:
Timestamp:
21 Dec 2011, 15:17:35 (13 years ago)
Author:
Henrik Bettermann
Message:

Add test to be sure that the empty phone field does not produce a wrong error message.

File:
1 edited

Legend:

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

    r7426 r7430  
    324324        self.browser.getControl(name="transition").value = ['start']
    325325        self.browser.getControl("Save").click()
     326        # Be sure that the empty phone field does not show wrong error message
     327        self.assertFalse('Required input is missing' in self.browser.contents)
    326328        self.assertMatches('...Form has been saved...', self.browser.contents)
    327329        self.assertMatches('...Application started by Manager...',
Note: See TracChangeset for help on using the changeset viewer.