CreateEvent
comment Validate adding Event
deleteAllVisibleCookies
open /vivo/
assertTitle VIVO
comment Must be logged off to start
clickAndWait link=Log in
assertTitle Log in to VIVO
comment Must login as the site admin
type loginName testAdmin
type loginPassword Password
clickAndWait loginForm
assertTitle VIVO
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
verifyTextPresent Data Input
comment Select to add then cancel right away
select VClassURI label=Conference (bibo)
clickAndWait //input[@value='Add individual of this class']
assertTitle Edit
verifyTextPresent Create a new Conference
clickAndWait link=Cancel
assertTitle VIVO Site Administration
comment Select to add then enter empty field
select VClassURI label=Conference (bibo)
clickAndWait //input[@value='Add individual of this class']
assertTitle Edit
verifyTextPresent Create a new Conference
clickAndWait submit
assertTitle Edit
verifyTextPresent This field must not be empty.
comment Now enter something in the field
type label Primate Health Conference
clickAndWait submit
assertTitle Primate Health Conference
comment Test overview entry (image and webpage have been tested)
clickAndWait //div[@id='description']/a
assertTitle Edit
verifyTextPresent Add new entry for: description
type tinymce First annual conference for those interested in the general health of primates.
clickAndWait submit
assertTitle Primate Health Conference
clickAndWait //div[@id='hasProceedings']/a
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Conference
assertTitle Conference
clickAndWait link=Primate Health Conference
assertTitle Primate Health Conference
comment Test research entry
clickAndWait //div[@id='geographicFocus']/a
assertTitle Edit
verifyTextPresent Select an existing Geographic Region for Primate Health Conference
select objectVar label=Kenya
clickAndWait submit
assertTitle Primate Health Conference
comment Test location entry
clickAndWait //div[@id='hasGeographicLocation']/a
assertTitle Edit
verifyTextPresent Select an existing Geographic Location for Primate Health Conference
select objectVar label=Congo_the
clickAndWait submit
assertTitle Primate Health Conference
comment Test contact entry
clickAndWait //div[@id='contactInformation']/a
assertTitle Edit
verifyTextPresent Add new entry for: contact information
type tinymce info@primateconf.org
clickAndWait submit
assertTitle Primate Health Conference
comment Test time entry
clickAndWait //div[@id='startDate']/a
assertTitle Edit
verifyTextPresent Add new entry for: start date
type yearstartDateEdited 2011
select monthstartDateEdited label=January
select daystartDateEdited label=5
clickAndWait submit
assertTitle Primate Health Conference
clickAndWait //div[@id='endDate']/a
assertTitle Edit
verifyTextPresent Add new entry for: end date
type yearendDateEdited 2011
select monthendDateEdited label=January
select dayendDateEdited label=9
clickAndWait submit
assertTitle Primate Health Conference
clickAndWait //div[@id='hasTimeInterval']/a
assertTitle Edit
clickAndWait //input[@id='submit' and @value='add a new item to this list']
assertTitle Edit
verifyTextPresent Edit "time interval" entry for Primate Health Conference
type name Winter 2011
clickAndWait submit
assertTitle Primate Health Conference
comment Test other entry
clickAndWait //div[@id='includesEvent']/a
assertTitle Edit
verifyTextPresent Select an existing Event for Primate Health Conference
select objectVar label=Primate Health Check
clickAndWait submit
assertTitle Primate Health Conference
clickAndWait //div[@id='hasSubjectArea']/a
assertTitle Edit
verifyTextPresent Select an existing Subject Area for Primate Health Conference
clickAndWait submit
assertTitle Primate Health Conference
clickAndWait //div[@id='abbreviation']/a
assertTitle Edit
type tinymce PrimHConf
clickAndWait submit
assertTitle Primate Health Conference
comment Verify everything entered is displaying properly
verifyTextPresent Primate Health and Fitness | Invited Talk
verifyTextPresent First annual conference for those interested in the general health of primates.
verifyTextPresent self_governing
verifyTextPresent Kenya
verifyTextPresent Chad
verifyTextPresent Congo_the
verifyTextPresent info@primateconf.org
verifyTextPresent 2011-01-05
verifyTextPresent 2011-01-09
verifyTextPresent Winter 2011 | Academic Term
verifyTextPresent Primate Health Check | Event
verifyTextPresent Animal Health | Subject Area
verifyTextPresent PrimHConf
comment Logout
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO