Ignore:
Timestamp:
14 Jun 2016, 08:53:30 (9 years ago)
Author:
Henrik Bettermann
Message:

Divide editscorespage.pt into two parts, one for file upload and one for table form.

Add Help modal.

File:
1 edited

Legend:

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

    r13935 r13936  
    40554055        self.login_as_lecturer()
    40564056        self.browser.open(self.edit_scores_url)
    4057         self.browser.getLink("Download editable tickets").click()
     4057        self.browser.getLink("Download csv file").click()
    40584058        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    40594059        self.assertEqual(self.browser.headers['Content-Type'],
     
    40724072        upload_file = StringIO(UPLOAD_CSV_TEMPLATE % '65')
    40734073        upload_ctrl.add_file(upload_file, 'text/csv', 'myscores.csv')
    4074         self.browser.getControl("Update scores").click()
     4074        self.browser.getControl("Update editable scores from").click()
    40754075        # value changed
    40764076        self.assertEqual(
     
    41204120            upload_ctrl = self.browser.getControl(name='uploadfile:file')
    41214121            upload_ctrl.add_file(StringIO(content), mimetype, name)
    4122             self.browser.getControl("Update scores").click()
     4122            self.browser.getControl("Update editable scores").click()
    41234123            self.assertEqual(
    41244124                self.student['studycourse']['100']['COURSE1'].score, 55)
Note: See TracChangeset for help on using the changeset viewer.