AddSubClassHours
deleteAllVisibleCookies
setTimeout 100000
open /vivo/
assertTitle VIVO
clickAndWait link=Log in
assertTitle Log in to VIVO
type loginName testAdmin@cornell.edu
type loginPassword Password
clickAndWait loginForm
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
clickAndWait link=Class hierarchy
assertTitle VIVO
verifyElementNotPresent link=exact:core:Hours
clickAndWait id=addClass
assertTitle Class Editing Form
type Name Hours
selectWindow null
select name=HiddenFromDisplayBelowRoleLevelUsingRoleUri label=site admin and root user
select name=ProhibitedFromUpdateBelowRoleLevelUsingRoleUri label=site admin and root user
select name=HiddenFromPublishBelowRoleLevelUsingRoleUri label=all users, including public
select GroupURI label=Times
type LocalName hours
clickAndWait primaryAction
assertTitle Class Control Panel
verifyTextPresent Hours
verifyTextPresent Times
verifyTextPresent (not identified)
verifyTextPresent hours
verifyTextPresent site admin and root user
verifyTextPresent -1
verifyTextPresent (unspecified)
verifyTextPresent http://vivo.mydomain.edu/individual/hours
verifyTextPresent all users, including public
clickAndWait //input[@value='Show All Classes']
assertTitle VIVO
verifyElementPresent link=Hours
verifyTextPresent Times
verifyTextPresent http://vivo.mydomain.edu/individual/
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO