Ignore:
Timestamp:
21 Nov 2020, 08:35:09 (4 years ago)
Author:
Henrik Bettermann
Message:

Adjust tests.

Location:
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants/tests/test_browser.py

    r15131 r16326  
    143143        self.browser.getControl("Save").click()
    144144        IWorkflowState(self.applicant).setState('submitted')
    145         self.browser.open(self.manage_path)
     145        self.browser.open(self.view_path)
    146146        self.browser.getLink("Download application slip").click()
    147147        self.assertEqual(self.browser.headers['Status'], '200 Ok')
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/tests.py

    r15718 r16326  
    8989        self.assertMatches('...ticket created...',
    9090                           self.browser.contents)
    91         ctrl = self.browser.getControl(name='val_id')
    92         self.value = ctrl.options[3]
    93         self.browser.getLink(self.value).click()
    9491        self.assertMatches('...Amount Authorized...',
    9592                           self.browser.contents)
     
    113110        self.assertMatches('...ticket created...',
    114111                           self.browser.contents)
    115         ctrl = self.browser.getControl(name='val_id')
    116         self.value = ctrl.options[4]
    117         self.browser.getLink(self.value).click()
    118112        self.assertTrue(
    119113            '<span>3456.0</span>' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.