Changeset 16215 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 27 Aug 2020, 06:24:17 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r16214 r16215 1740 1740 % mandate.mandate_id) 1741 1741 self.assertTrue('Joan None' in self.browser.contents) 1742 self.assertTrue('John Referee' in self.browser.contents) 1742 1743 # Report can't be saved without required fields 1743 self.browser.getControl(name="form. email").value = ''1744 self.browser.getControl(name="form.name").value = '' 1744 1745 self.browser.getControl("Submit").click() 1745 1746 self.assertTrue('Required input is missing' in self.browser.contents) 1746 self.browser.getControl(name="form. email").value = 'bb@bb.bb'1747 self.browser.getControl(name="form.name").value = 'Johnny Referee' 1747 1748 self.browser.getControl("Submit").click() 1748 1749 # Referee will be redirected to the frontpage … … 1789 1790 self.assertEqual( 1790 1791 self.browser.url, self.view_path + '/%s' % report.r_id) 1791 self.assertTrue('John Referee' in self.browser.contents)1792 self.assertTrue('Johnny Referee' in self.browser.contents) 1792 1793 # Managers can download a pdf slip 1793 1794 self.browser.getLink("Download referee report").click() … … 2031 2032 report = createObject(u'waeup.ApplicantRefereeReport') 2032 2033 report.r_id = 'any_id' 2033 report.name = u'Linda Tree' 2034 report.name = u'Liiiinda Tree' 2035 report.email = 'linda@forest.de' 2034 2036 self.applicant[report.r_id] = report 2035 2037 self.browser.open(self.manage_path)
Note: See TracChangeset for help on using the changeset viewer.