Changeset 16308 for main/kofacustom.dspg/trunk
- Timestamp:
- 10 Nov 2020, 12:48:26 (4 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/tests/test_browser.py
r15592 r16308 290 290 self.browser.getControl("Save").click() 291 291 IWorkflowState(self.applicant).setState('submitted') 292 self.browser.open(self. manage_path)292 self.browser.open(self.view_path) 293 293 self.browser.getLink("Download application slip").click() 294 294 self.assertEqual(self.browser.headers['Status'], '200 Ok') -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py
r16013 r16308 80 80 self.assertMatches('...ticket created...', 81 81 self.browser.contents) 82 ctrl = self.browser.getControl(name='val_id')83 self.value = ctrl.options[1]84 self.browser.getLink(self.value).click()85 82 self.assertTrue('<span>30000.0</span>' in self.browser.contents) 86 83 self.payment_url = self.browser.url … … 100 97 self.browser.getControl("Create ticket").click() 101 98 self.assertTrue('ticket created' in self.browser.contents) 102 ctrl = self.browser.getControl(name='val_id')103 self.value = ctrl.options[2]104 self.browser.getLink(self.value).click()105 99 self.assertTrue('Amount Authorized' in self.browser.contents) 106 100 self.assertTrue('<span>12345.0</span>' in self.browser.contents) … … 193 187 self.browser.getControl("Create ticket").click() 194 188 self.assertMatches('...ticket created...', self.browser.contents) 195 ctrl = self.browser.getControl(name='val_id')196 self.value = ctrl.options[0]197 self.browser.getLink(self.value).click()198 189 self.assertTrue('<span>30000.0</span>' in self.browser.contents) 199 190 self.payment_url = self.browser.url … … 217 208 self.browser.getControl("Create ticket").click() 218 209 self.assertMatches('...ticket created...', self.browser.contents) 219 ctrl = self.browser.getControl(name='val_id')220 self.value = ctrl.options[0]221 self.browser.getLink(self.value).click()222 210 self.assertTrue('<span>3150.0</span>' in self.browser.contents) 223 211 self.payment_url = self.browser.url
Note: See TracChangeset for help on using the changeset viewer.