AddDataPropArchDetails
comment Add Data Property of architectual details to the Place Propery Group
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
type loginPassword Password
clickAndWait loginForm
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
comment Navigate to Data Property Hierarchy
clickAndWait link=Data property hierarchy
assertTitle Data Property Hierarchy
comment Verify that architectural details does not already exist
verifyElementNotPresent link=architectural details
clickAndWait //input[@value='Add new data property']
assertTitle Data Property Editing Form
comment Add architectural details
type PublicName architectural details
select GroupURI label=Place
select HiddenFromDisplayBelowRoleLevelUsingRoleUri label=editor,curator,dbAdmin
select HiddenFromDisplayBelowRoleLevelUsingRoleUri label=public
select ProhibitedFromUpdateBelowRoleLevelUsingRoleUri label=editor,curator,dbAdmin
select Namespace label=VIVO core
type LocalName architecturalDetails
select DomainClassURI label=Agent (FOAF)
select RangeDatatypeURI label=string
clickAndWait primaryAction
assertTitle Data Property Control Panel
comment Verify that architectural details has been added properly
verifyTextPresent exact:core:architecturalDetails
verifyTextPresent VIVO core
verifyTextPresent architectural details
verifyElementPresent link=exact:http://xmlns.com/foaf/0.1/Agent
verifyTextPresent http://www.w3.org/2001/XMLSchema#string
verifyTextPresent Place
verifyTextPresent public
verifyTextPresent editor,curator,dbAdmin
comment Log out
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO