diff --git a/utilities/acceptance-tests/suites/CreateProperties/AddDataPropArchDetails.html b/utilities/acceptance-tests/suites/CreateProperties/AddDataPropArchDetails.html new file mode 100644 index 00000000..88418873 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreateProperties/AddDataPropArchDetails.html @@ -0,0 +1,250 @@ + + + +
+ + +AddPropertyArchDetails | ||
comment | +Add Data Property of architectual details to the Place Propery Group | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
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 | +Datatype 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 | +Datatype 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=Log out | ++ |
assertTitle | +VIVO | ++ |
AddMuseum | ||
comment | +Create a test museum | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Add new Individual of Museum | ++ |
select | +VClassURI | +label=Museum (core) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Add Johnson Art Museum | ++ |
type | +Name | +Johnson Art Museum | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify Johnson Art Museum was added | ++ |
verifyTextPresent | +Johnson Art Museum | ++ |
verifyElementPresent | +link=exact:core:Museum | ++ |
clickAndWait | +//input[@value='Display This Individual (public)'] | ++ |
assertTitle | +Johnson Art Museum | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddMuseumArchDetails | ||
comment | +Add architectural details to the Johnson Art Museum | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Johnson Art Museum via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
verifyElementPresent | +link=Museum | ++ |
verifyElementPresent | +link=Organization | ++ |
clickAndWait | +link=Museum | ++ |
assertTitle | +Museum | ++ |
clickAndWait | +link=Johnson Art Museum | ++ |
assertTitle | +Johnson Art Museum | ++ |
comment | +Verify architectural details is an available field | ++ |
verifyTextPresent | +architectural details | ++ |
clickAndWait | +//div[@id='dprop-core-architecturalDetails']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Edit architectural details | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Johnson Art Museum | ++ |
comment | +Verify architectural details | ++ |
verifyTextPresent | +This is an ugly building! | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddMuseumVisitingHours | ||
comment | +Associate visiting hours with the Johnson Art Museum | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate Johnson Art Museum via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Museum | ++ |
assertTitle | +Museum | ++ |
clickAndWait | +link=Johnson Art Museum | ++ |
assertTitle | +Johnson Art Museum | ++ |
clickAndWait | +//div[@id='oprop-bibo-visitingHours']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
comment | +Set hours to 10am-4pm | ++ |
type | +name | +10am-4pm | +
clickAndWait | +submit | ++ |
assertTitle | +Johnson Art Museum | ++ |
comment | +Verify visiting hours have been set | ++ |
verifyElementPresent | +link=10am-4pm | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddObjPropVisitingHours | ||
comment | +Add Object Property visiting hours to Property Group Place | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Object Properties | ++ |
clickAndWait | +link=Object property hierarchy | ++ |
assertTitle | +Object Property Hierarchy | ++ |
comment | +Verify visiting hours does not already exist | ++ |
verifyElementNotPresent | +link=visiting hours | ++ |
clickAndWait | +//input[@value='Add new object property'] | ++ |
assertTitle | +Property Editing Form | ++ |
comment | +Add visiting hours | ++ |
select | +ParentURI | +label=time (event) | +
select | +GroupURI | +label=Place | +
select | +HiddenFromDisplayBelowRoleLevelUsingRoleUri | +label=editor,curator,dbAdmin | +
select | +ProhibitedFromUpdateBelowRoleLevelUsingRoleUri | +label=dbAdmin only | +
select | +Namespace | +label=Bibontology | +
type | +LocalName | +visitingHours | +
type | +DomainPublic | +visiting hours | +
type | +RangePublic | +visiting hours for | +
select | +NamespaceInverse | +label=Bibontology | +
select | +DomainVClassURI | +label=Museum (VIVO core) | +
select | +RangeVClassURI | +label=Time Interval (VIVO core) | +
type | +DomainDisplayTier | +100 | +
click | +OfferCreateNewOption | ++ |
clickAndWait | +//input[@value='Create New Record'] | ++ |
assertTitle | +Object Property Control Panel | ++ |
comment | +Verify visiting hours has been properly added | ++ |
verifyElementPresent | +link=visiting hours | ++ |
verifyElementPresent | +link=exact:event:time | ++ |
verifyElementPresent | +link=exact:core:Museum | ++ |
verifyElementPresent | +link=exact:core:Time Interval | ++ |
verifyTextPresent | +visiting hours | ++ |
verifyTextPresent | +Place | ++ |
verifyTextPresent | +domain: 100, range: -1 | ++ |
verifyTextPresent | +editor,curator,dbAdmin | ++ |
verifyTextPresent | +dbAdmin only | ++ |
clickAndWait | +//input[@value='See All Properties'] | ++ |
assertTitle | +Object Properties | ++ |
verifyElementPresent | +link=visiting hours | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddPropertyGroupPlace | ||
comment | +Add Property Group Place | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Property Groups | ++ |
clickAndWait | +link=Property groups | ++ |
assertTitle | +Property Groups | ++ |
comment | +Verify Property Group Place does not exist already | ++ |
verifyElementNotPresent | +link=Place | ++ |
clickAndWait | +//input[@value='Add new property group'] | ++ |
assertTitle | +Property Group Editing Form | ++ |
comment | +Add Property Group Place | ++ |
type | +Name | +Place | +
type | +PublicDescription | +Properties related to location (building or non-geographic) | +
type | +DisplayRank | +5 | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Property Groups | ++ |
comment | +Verify Propery Group Place | ++ |
verifyTextPresent | +Place | ++ |
verifyElementPresent | +link=Place | ++ |
verifyTextPresent | +Properties related to location (building or non-geographic) | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ChangePlaceDisplayRank | ||
comment | +Change the display rank of the Place property | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Property groups | ++ |
clickAndWait | +link=Property groups | ++ |
assertTitle | +Property Groups | ++ |
comment | +Naviagate to Place | ++ |
clickAndWait | +link=Place | ++ |
assertTitle | +Property Group Editing Form | ++ |
comment | +Change Display Rank for place from 5 to 2 | ++ |
type | +DisplayRank | +2 | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Property Groups | ++ |
comment | +Verify change has taken place | ++ |
verifyTextPresent | +Place | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteDataPropArchDetails | ||
comment | +Delete Data Property architectural details | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Data property hierarchy | ++ |
clickAndWait | +link=Data property hierarchy | ++ |
assertTitle | +Data Property Hierarchy | ++ |
verifyElementPresent | +link=architectural details | ++ |
comment | +Edit architectural details | ++ |
clickAndWait | +link=architectural details | ++ |
assertTitle | +Datatype Property Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Datatype Property'] | ++ |
assertTitle | +Datatype Property Editing Form | ++ |
comment | +Delete architectural details | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this record? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +Data Properties | ++ |
verifyElementNotPresent | +link=architectural details | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteMuseum | ||
comment | +Deete Johnson Art Museum | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to edit via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Museum | ++ |
assertTitle | +Museum | ++ |
clickAndWait | +link=Johnson Art Museum | ++ |
assertTitle | +Johnson Art Museum | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete Johnson Art Museum | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify Museum link is gone | ++ |
verifyElementNotPresent | +link=Museum | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteObjPropVisitingHours | ||
comment | +Delete test Object Property visiting hours | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Object Properties | ++ |
clickAndWait | +link=Object property hierarchy | ++ |
assertTitle | +Object Property Hierarchy | ++ |
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 | +Object Properties | ++ |
comment | +Verify visiting hours is gone | ++ |
verifyTextNotPresent | +visiting hours | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeletePropertyGroupPlace | ||
comment | +Delete test Property Group Place | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/siteAdmin?home=1&login=block | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Propery Groups | ++ |
clickAndWait | +link=Property groups | ++ |
assertTitle | +Property Groups | ++ |
comment | +Make sure Place exists already | ++ |
verifyElementPresent | +link=Place | ++ |
comment | +Navigate to Place | ++ |
clickAndWait | +link=Place | ++ |
assertTitle | +Property Group Editing Form | ++ |
comment | +Delete Place | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this record? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +Property Groups | ++ |
comment | +Verify that Place is gone | ++ |
verifyElementNotPresent | +link=Place | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
EditObjPropVisitingHours | ||
comment | +Edit visiting hours Display Level and Display Tier | ++ |
deleteAllVisibleCookies | ++ | + |
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 | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Object Property Hierarchy | ++ |
clickAndWait | +link=Object property hierarchy | ++ |
assertTitle | +Object Property Hierarchy | ++ |
comment | +Select to open visiting hours | ++ |
clickAndWait | +link=visiting hours | ++ |
assertTitle | +Object Property Control Panel | ++ |
clickAndWait | +//input[@value='Edit Property Record'] | ++ |
assertTitle | +Property Editing Form | ++ |
comment | +Change Display Level to public and Display Tier to 1000 | ++ |
select | +HiddenFromDisplayBelowRoleLevelUsingRoleUri | +label=public | +
type | +DomainDisplayTier | +1000 | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Object Property Control Panel | ++ |
comment | +Verify that changes took place | ++ |
verifyTextPresent | +domain: 1000, range: -1 | ++ |
verifyTextPresent | +public | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |