Changeset 12524 for main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests
- Timestamp:
- 30 Jan 2015, 11:19:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12523 r12524 210 210 self.browser.getControl(name="form.reg_number").value = '123' 211 211 self.browser.getControl("Create customer record").click() 212 self.assertTrue('Registration number does exist.'212 self.assertTrue('Registration number in use.' 213 213 in self.browser.contents) 214 214 self.browser.getControl(name="form.reg_number").value = '1234' … … 220 220 self.browser.getControl(name="form.reg_number").value = '123' 221 221 self.browser.getControl("Save").click() 222 self.assertMatches('...Registration number does exist...',222 self.assertMatches('...Registration number in use...', 223 223 self.browser.contents) 224 224 … … 784 784 self.browser.getControl("Send login credentials").click() 785 785 # Email address exists. 786 self.assertTrue('Email address does exist.' in self.browser.contents)786 self.assertTrue('Email address in use.' in self.browser.contents) 787 787 self.browser.getControl(name="form.email").value = 'newcustomer@xx.zz' 788 788 self.browser.getControl("Send login credentials").click()
Note: See TracChangeset for help on using the changeset viewer.