DeleteSubClassHours
deleteAllVisibleCookies
comment Delete test sub-class Hours
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle VIVO Site Administration
comment Must log in as site admin
type loginName testAdmin
type loginPassword Password
clickAndWait loginForm
assertTitle VIVO Site Administration
comment Navigate to Class hierarchy
clickAndWait link=Class hierarchy
assertTitle Class Hierarchy
comment Make sure sub-class Hours actually exists
verifyElementPresent link=exact:core:Hours
comment Select to edit sub-class Hours
clickAndWait link=exact:core:Hours
assertTitle Class Control Panel
clickAndWait //input[@value='Edit Class']
assertTitle Class Editing Form
comment Delete sub-class Hours
click _delete
assertConfirmation Are you SURE you want to delete this record? If in doubt, CANCEL.
waitForPageToLoad 5000
assertTitle Class Hierarchy
comment Verify sub-class Hours no longer exists
verifyElementNotPresent link=exact:core:Hours
comment Logout
clickAndWait link=Log out
assertTitle VIVO