Changeset 12016 for main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests
- Timestamp:
- 21 Nov 2014, 05:08:19 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12015 r12016 790 790 document = self.customer['documents']['d102'] 791 791 792 # Document can be edited 793 self.browser.getLink("d102").click() 794 self.browser.getLink("Manage").click() 795 self.browser.getControl(name="form.title").value = 'My second doc' 796 self.browser.getControl("Save").click() 797 self.assertTrue('Form has been saved.' in self.browser.contents) 798 self.browser.getLink("View").click() 799 self.assertEqual(self.browser.url, self.documents_path + '/d102/index') 800 792 801 # Documents can be removed 802 self.browser.getLink("Documents").click() 793 803 ctrl = self.browser.getControl(name='val_id') 794 804 ctrl.getControl(value=document.document_id).selected = True … … 802 812 803 813 self.assertTrue( 814 'INFO - zope.mgr - customers.browser.DocumentManageFormPage ' 815 '- K1000000 - saved: title' 816 in logcontent) 817 818 self.assertTrue( 804 819 'INFO - zope.mgr - customers.browser.DocumentAddFormPage ' 805 820 '- K1000000 - added: Generic Document %s'
Note: See TracChangeset for help on using the changeset viewer.