Ignore:
Timestamp:
1 Aug 2009, 09:42:31 (15 years ago)
Author:
uli
Message:

Add tests for deleting courses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/browser.txt

    r4513 r4514  
    377377  ...
    378378
     379
     380Deleting courses
     381----------------
     382
     383We can delete courses by browsing the containing department and
     384clicking on the appropriate 'Delete' button. As we have only one
     385course, there is only one 'Delete' button yet:
     386
     387  >>> browser.open('http://localhost/myuniversity/faculties/TF/TD')
     388  >>> 'My renamed course' in browser.contents
     389  True
     390
     391  >>> browser.getControl('Delete').click()
     392
     393  >>> browser.open('http://localhost/myuniversity/faculties/TF/TD')
     394  >>> 'My renamed course' in browser.contents
     395  False
    379396
    380397
Note: See TracChangeset for help on using the changeset viewer.