comment |
|
deleteAllVisibleCookies |
|
|
open |
/vivo/ |
|
assertTitle |
VIVO |
|
comment |
|
clickAndWait |
link=Log in |
|
assertTitle |
Log in to VIVO |
|
comment |
|
type |
loginName |
testAdmin |
type |
loginPassword |
Password |
clickAndWait |
loginForm |
|
assertTitle |
VIVO |
|
clickAndWait |
link=Site Admin |
|
assertTitle |
VIVO Site Administration |
|
verifyTextPresent |
Data Input |
|
comment |
|
select |
VClassURI |
label=Building (core) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Building |
|
clickAndWait |
link=Cancel |
|
assertTitle |
VIVO Site Administration |
|
comment |
|
select |
VClassURI |
label=Building (core) |
clickAndWait |
//input[@value='Add individual of this class'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Create a new Building |
|
clickAndWait |
submit |
|
assertTitle |
Edit |
|
verifyTextPresent |
This field must not be empty. |
|
comment |
|
type |
label |
Jane Memorial Building |
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
comment |
|
clickAndWait |
//div[@id='facilityFor']/a |
|
assertTitle |
Edit |
|
verifyTextPresent |
Select an existing Thing for Jane Memorial Building |
|
select |
objectVar |
label=Primate Research Laboratory |
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
comment |
|
clickAndWait |
//div[@id='hasRoom']/a |
|
assertTitle |
Edit |
|
verifyTextPresent |
Select an existing Room for Jane Memorial Building |
|
clickAndWait |
submit |
|
assertTitle |
Edit |
|
verifyTextPresent |
Edit "rooms" entry for Jane Memorial Building |
|
type |
name |
Lab Admin Office |
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
//div[@id='geographicallyContains']/a |
|
assertTitle |
Edit |
|
verifyTextPresent |
Select an existing Geographic Location for Jane Memorial Building |
|
select |
typeOfNew |
label=Campus (core) |
clickAndWait |
//input[@id='submit' and @value='add a new item to this list'] |
|
assertTitle |
Edit |
|
verifyTextPresent |
Edit "geographically contains" entry for Jane Memorial Building |
|
type |
name |
Primate Research Laboratory |
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
comment |
|
clickAndWait |
//div[@id='locationOfEquipment']/a |
|
assertTitle |
Edit |
|
verifyTextPresent |
Add an entry to: location of equipment |
|
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
clickAndWait |
//div[@id='geographicLocationOf']/a |
|
assertTitle |
Edit |
|
verifyTextPresent |
Add an entry to: geographic location of |
|
select |
objectVar |
label=Primate Research Lab Room 123 |
clickAndWait |
submit |
|
assertTitle |
Jane Memorial Building |
|
comment |
|
verifyTextPresent |
Primate Research Laboratory | Laboratory |
|
verifyTextPresent |
Lab Admin Office | Room |
|
verifyTextPresent |
Primate Research Laboratory | Campus |
|
verifyTextPresent |
Portable Primate Habitat | Equipment |
|
verifyTextPresent |
Primate Research Lab Room 123 | Facility |
|
comment |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|