Ignore:
Timestamp:
1 Feb 2015, 06:34:11 (10 years ago)
Author:
Henrik Bettermann
Message:

Redirect to file upload page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py

    r12532 r12533  
    621621        self.browser.getLink("Edit").click()
    622622        self.browser.getControl(name="form.email").value = 'new_email@aa.ng'
    623         self.browser.getControl("Save", index=1).click()
     623        self.browser.getControl("Save", index=0).click()
    624624        self.assertMatches('...Form has been saved...',
    625625                           self.browser.contents)
     
    628628                           self.browser.contents)
    629629        self.assertEqual(self.customer.state, 'started')
    630         # Customer must upload a passport picture
    631         self.browser.open(self.customer_path)
    632         self.browser.getLink("Upload files").click()
     630        # Customer must upload a passport picture. We are already on
     631        # the upload page.
    633632        ctrl = self.browser.getControl(name='passporteditupload')
    634633        file_obj = open(SAMPLE_IMAGE, 'rb')
Note: See TracChangeset for help on using the changeset viewer.