Changeset 16082 for main


Ignore:
Timestamp:
4 May 2020, 11:02:24 (5 years ago)
Author:
Henrik Bettermann
Message:

Adjust test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py

    r15883 r16082  
    207207    layer = FunctionalLayer
    208208
     209    def fill_correct_values(self):
     210        # Fill the edit form with suitable values
     211        self.browser.getControl(name="form.firstname").value = 'John'
     212        self.browser.getControl(name="form.middlename").value = 'Anthony'
     213        self.browser.getControl(name="form.lastname").value = 'Tester'
     214        self.browser.getControl(name="custom.course1").value = ['CERT1']
     215        self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
     216        self.browser.getControl(name="form.sex").value = ['m']
     217        self.browser.getControl(name="form.email").value = 'xx@yy.zz'
     218
    209219    def setUp(self):
    210220        super(InterswitchTestsApplicants, self).setUp()
     
    216226        self.browser.open(self.manage_path)
    217227        #IWorkflowState(self.student).setState('started')
    218         super(InterswitchTestsApplicants, self).fill_correct_values()
     228        self.fill_correct_values()
    219229        self.applicantscontainer.application_fee = 1000.0
    220230        self.browser.getControl(name="form.nationality").value = ['NG']
Note: See TracChangeset for help on using the changeset viewer.