- Timestamp:
- 24 Sep 2020, 06:42:10 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py
r15755 r16246 197 197 def test_applicant_views(self): 198 198 # Manager can access Etranzact form 199 self.browser.getLink("Pay via Etranzact ").click()199 self.browser.getLink("Pay via Etranzact WebConnect").click() 200 200 self.assertTrue("Pay now" in self.browser.contents) 201 201 # Means of testing end here. … … 203 203 self.payment.p_id = TID 204 204 self.browser.open(self.payment_url) 205 self.browser.getLink("Requery Etranzact History").click()205 self.browser.getLink("Requery Etranzact WebConnect History").click() 206 206 self.assertTrue('Wrong checksum.' in self.browser.contents) 207 207 # ... probably because responseurl of the transaction stored in the … … 242 242 def test_student_views(self): 243 243 # Manager can access Etranzact form 244 self.browser.getLink("Pay via Etranzact ").click()244 self.browser.getLink("Pay via Etranzact WebConnect").click() 245 245 self.assertTrue("Pay now" in self.browser.contents) 246 246 # Means of testing end here. … … 248 248 self.payment.p_id = TID 249 249 self.browser.open(self.payment_url) 250 self.browser.getLink("Requery Etranzact History").click()250 self.browser.getLink("Requery Etranzact WebConnect History").click() 251 251 self.assertTrue('Wrong checksum.' in self.browser.contents) 252 252 # ... probably because responseurl and amount stored in the … … 258 258 @external_test 259 259 def test_student_payoutlet_views(self): 260 self.browser.getLink(" Enter Etranzact PIN").click()260 self.browser.getLink("Pay via Etranzact PayOutlet").click() 261 261 self.browser.getControl(name="confirmation_number").value = '600854291572447457669' 262 262 self.browser.getControl("Submit to Etranzact").click() 263 263 # This response is strange 264 264 self.assertTrue('-3:Wrong Setup' in self.browser.contents) 265 self.browser.getLink(" Enter Etranzact PIN").click()265 self.browser.getLink("Pay via Etranzact PayOutlet").click() 266 266 # This confirmation number exists 267 267 self.browser.getControl(name="confirmation_number").value = '500854291572447457669'
Note: See TracChangeset for help on using the changeset viewer.