CheckRepairMode
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=Index
clickAndWait link=Librarian
assertTitle Librarian
clickAndWait link=Librarian, Lily
assertTitle Librarian, Lily
clickAndWait xpath=(//img[@alt='add'])[9]
assertTitle Edit
select typeSelector label=Association
type id=activity LITA
type roleLabel Member at Large
type startField-year 1999
type endField-year 2009
clickAndWait submit
assertTitle Librarian, Lily
verifyElementPresent link=LITA
verifyTextPresent Member at Large 1999 - 2009
clickAndWait link=LITA
assertTitle LITA
click css=li.selectedGroupTab.clickable
verifyElementPresent link=Librarian, Lily
verifyTextPresent Member at Large
verifyTextPresent 1999 - 2009
clickAndWait link=Librarian, Lily
assertTitle Librarian, Lily
clickAndWait link=LITA
assertTitle LITA
clickAndWait link=Edit this individual
assertTitle Individual Control Panel
verifyTextPresent LITA
verifyElementPresent link=contributor
verifyElementPresent link=Member at Large
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the property Member at Large contributor?
waitForPageToLoad 5000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
refreshAndWait 10000
verifyTextPresent LITA
verifyElementNotPresent link=related role
verifyElementNotPresent link=Member at Large
clickAndWait link=Index
clickAndWait link=Librarian
assertTitle Librarian
clickAndWait link=Librarian, Lily
assertTitle Librarian, Lily
click //div[@id='wrapper-content']/ul/li[18]
verifyTextPresent missing activity Member at Large 1999 - 2009
verifyElementPresent link=missing activity
clickAndWait xpath=(//img[@alt='edit this entry'])[5]
assertTitle Edit
verifyTextPresent Edit membership entry for Librarian, Lily
verifyTextPresent Membership In
clickAndWait submit
assertTitle Edit
verifyTextPresent Please select a type from the drop-down list.
verifyTextPresent Please select an existing value or enter a new value in the Name field.
select typeSelector label=Association
verifyTextPresent Edit membership entry for Librarian, Lily
verifyTextPresent Membership In
verifyTextPresent Organization Name
verifyTextPresent Role in Organization
verifyTextPresent Years of Participation
verifyTextPresent Start Year
verifyTextPresent End Year
clickAndWait submit
assertTitle Edit
verifyTextPresent Please select an existing value or enter a new value in the Name field.
type id=activity LITA Too
type id=roleLabel Member at Large
type id=startField-year 1999
type id=endField-year 2009
clickAndWait submit
assertTitle Librarian, Lily
verifyTextPresent Member at Large 1999 - 2009
verifyElementPresent link=LITA Too
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO