Ignore:
Timestamp:
5 Jul 2012, 14:48:51 (12 years ago)
Author:
Henrik Bettermann
Message:

Rename course referrers to certificate courses (according to the discussion long time ago).

Edit some button labels and titles.

Move code from view to content components.

File:
1 edited

Legend:

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

    r8903 r8920  
    171171        self.app['faculties']['fac1']['dep1'].courses.addCourse(
    172172            self.course)
    173         self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addCourseRef(
     173        self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addCertCourse(
    174174            self.course, level=100)
    175175
     
    12401240        self.browser.getControl("Create course list now").click()
    12411241        self.browser.getLink("100").click()
    1242         self.browser.getLink("Add and remove courses").click()
     1242        self.browser.getLink("Edit course list").click()
    12431243        self.browser.getControl("Add course ticket").click()
    12441244        self.browser.getControl(name="form.course").value = ['COURSE1']
     
    12531253        self.browser.getControl("Create course list now").click()
    12541254        self.browser.getLink("200").click()
    1255         self.browser.getLink("Add and remove courses").click()
     1255        self.browser.getLink("Edit course list").click()
    12561256        self.browser.getControl("Add course ticket").click()
    12571257        self.browser.getControl(name="form.course").value = ['COURSE1']
     
    15211521        # The new SFE-0 pin can be used for starting new session
    15221522        self.browser.open(self.studycourse_path)
    1523         self.browser.getLink('Start session').click()
     1523        self.browser.getLink('Start new session').click()
    15241524        pin = self.app['accesscodes']['SFE-0'].keys()[0]
    15251525        parts = pin.split('-')[1:]
     
    15701570        # The new SFE-0 pin can be used for starting session
    15711571        self.browser.open(self.studycourse_path)
    1572         self.browser.getLink('Start session').click()
     1572        self.browser.getLink('Start new session').click()
    15731573        pin = self.app['accesscodes']['SFE-0'].keys()[0]
    15741574        parts = pin.split('-')[1:]
     
    16101610        # The new SFE-1 pin can be used for starting new session
    16111611        self.browser.open(self.studycourse_path)
    1612         self.browser.getLink('Start session').click()
     1612        self.browser.getLink('Start new session').click()
    16131613        self.browser.getControl(name="ac_series").value = sfeseries
    16141614        self.browser.getControl(name="ac_number").value = sfenumber
Note: See TracChangeset for help on using the changeset viewer.