Ignore:
Timestamp:
24 Sep 2013, 12:38:26 (11 years ago)
Author:
Henrik Bettermann
Message:

Rename buttons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r10644 r10645  
    254254        self.browser.getControl(name="searchtype").value = ['fullname']
    255255        self.browser.getControl(name="searchterm").value = 'John'
    256         self.browser.getControl("Search").click()
     256        self.browser.getControl("Find applicant").click()
    257257        self.assertTrue('John Anthony Tester' in self.browser.contents)
    258258        self.browser.getControl(name="searchtype").value = ['fullname']
    259259        self.browser.getControl(name="searchterm").value = 'Tester'
    260         self.browser.getControl("Search").click()
     260        self.browser.getControl("Find applicant").click()
    261261        self.assertTrue('John Anthony Tester' in self.browser.contents)
    262262        self.browser.open(self.search_path)
     
    264264        self.browser.getControl(name="searchtype").value = ['reg_number']
    265265        self.browser.getControl(name="searchterm").value = '2345'
    266         self.browser.getControl("Search").click()
     266        self.browser.getControl("Find applicant").click()
    267267        self.assertFalse('John Anthony Tester' in self.browser.contents)
    268268        self.browser.getControl(name="searchtype").value = ['reg_number']
    269269        self.browser.getControl(name="searchterm").value = '1234'
    270         self.browser.getControl("Search").click()
     270        self.browser.getControl("Find applicant").click()
    271271        self.assertTrue('John Anthony Tester' in self.browser.contents)
    272272        # ... and not via his application_number ...
     
    274274        self.browser.getControl(
    275275            name="searchterm").value = self.applicant.application_number
    276         self.browser.getControl("Search").click()
     276        self.browser.getControl("Find applicant").click()
    277277        self.assertFalse('John Anthony Tester' in self.browser.contents)
    278278        # ... but ia his applicant_id ...
     
    280280        self.browser.getControl(
    281281            name="searchterm").value = self.applicant.applicant_id
    282         self.browser.getControl("Search").click()
     282        self.browser.getControl("Find applicant").click()
    283283        self.assertTrue('John Anthony Tester' in self.browser.contents)
    284284        # ... and via his email
    285285        self.browser.getControl(name="searchtype").value = ['email']
    286286        self.browser.getControl(name="searchterm").value = 'xx@yy.zz'
    287         self.browser.getControl("Search").click()
     287        self.browser.getControl("Find applicant").click()
    288288        self.assertTrue('John Anthony Tester' in self.browser.contents)
    289289        return
Note: See TracChangeset for help on using the changeset viewer.