Ignore:
Timestamp:
21 May 2019, 10:08:08 (6 years ago)
Author:
Henrik Bettermann
Message:

Add student history message if a graduated student was created.

File:
1 edited

Legend:

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

    r15334 r15418  
    442442        self.browser.getControl(name="form.reg_number").value = '1234'
    443443        self.browser.getControl("Create graduated student").click()
    444         self.assertTrue('Student record created' in self.browser.contents)
     444        self.assertTrue('Graduated student record created' in self.browser.contents)
    445445        self.assertEqual(self.app['students']['K1000001'].state, 'graduated')
     446        self.browser.open("http://localhost/app/students/K1000001/history")
     447        self.assertTrue("Set to 'graduated' by Manager" in self.browser.contents)
    446448        return
    447449
Note: See TracChangeset for help on using the changeset viewer.