Changeset 7405 for main/waeup.sirp/trunk/src
- Timestamp:
- 20 Dec 2011, 10:18:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7376 r7405 698 698 'The requested form is locked' in self.browser.contents) 699 699 return 700 701 class ApplicantRegisterTests(ApplicantsFullSetup): 702 # Tests for applicant registration 703 704 layer = FunctionalLayer 705 706 def test_register_applicant(self): 707 self.browser.open(self.container_path) 708 self.browser.getLink("Register for application").click() 709 # Fill the edit form with suitable values 710 self.browser.getControl(name="form.firstname").value = 'John' 711 self.browser.getControl(name="form.lastname").value = 'Tester' 712 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 713 #self.browser.getControl(name="form.phone.country").value = '234' 714 #self.browser.getControl(name="form.phone.area").value = '555' 715 #self.browser.getControl(name="form.phone.extension").value = '6666666' 716 self.browser.getControl("Get login credentials").click() 717 self.assertEqual(self.browser.url, 718 self.container_path + '/registration_complete?email=xx%40yy.zz')
Note: See TracChangeset for help on using the changeset viewer.