DeleteObjPropVisitingHours
comment Delete test Object Property visiting hours
deleteAllVisibleCookies
setTimeout 100000
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle Log in to VIVO
comment Must log in as site admin
type loginName testAdmin@cornell.edu
type loginPassword Password
clickAndWait loginForm
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
comment Navigate to Object Properties
clickAndWait link=Object property hierarchy
assertTitle VIVO
comment Verify that visiting hours does indeed exist
verifyElementPresent link=visiting hours
comment Select to edit visiting hours
clickAndWait link=visiting hours
assertTitle Object Property Control Panel
clickAndWait //input[@value='Edit Property Record']
assertTitle Property Editing Form
comment Delete visiting hours
click _delete
assertConfirmation Are you SURE you want to delete this record? If in doubt, CANCEL.
waitForPageToLoad 5000
assertTitle VIVO
comment Verify visiting hours is gone
verifyTextNotPresent visiting hours
comment Logout
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO