Ignore:
Timestamp:
9 Sep 2011, 16:29:19 (13 years ago)
Author:
Henrik Bettermann
Message:

Implement password control field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r6699 r6701  
    207207        self.browser.getControl(name="form.reg_number").value = '123'
    208208        self.browser.getControl(name="password").value = 'secret'
     209        self.browser.getControl(name="control_password").value = 'secret'
    209210        self.browser.getControl("Save").click()
    210211        self.assertMatches('...Form has been saved...',
    211212                           self.browser.contents)
    212         #self.assertTrue('Form has been saved' in self.browser.contents)
    213 
    214213        self.browser.open(self.student_path)
    215214        self.browser.getLink("Clearance Data").click()
     
    266265        self.browser.getLink("Change password").click()
    267266        self.browser.getControl(name="password").value = 'new_password'
     267        self.browser.getControl(name="control_password").value = 'new_password'
    268268        self.browser.getControl("Save").click()
    269269        self.assertTrue('Form has been saved' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.