diff --git a/utilities/acceptance-tests/suites/CreatePeople/ReorderPeople.html b/utilities/acceptance-tests/suites/CreatePeople/ReorderPeople.html new file mode 100644 index 00000000..959991f5 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreatePeople/ReorderPeople.html @@ -0,0 +1,894 @@ + + + +
+ + +CreateFacultyMember | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +10000000 | ++ |
comment | +Add people and reorder them | ++ |
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@cornell.edu | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
comment | +Add 4 people | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
verifyTextPresent | +Data Input | ++ |
select | +VClassURI | +label=Faculty Member (vivo) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
type | +id=firstName | +Jeff | +
type | +id=lastName | +Adams | +
clickAndWait | +id=submit | ++ |
assertTitle | +Adams, Jeff | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +id=submit | ++ |
assertTitle | +Edit | ++ |
type | +id=firstName | +Jane | +
type | +id=lastName | +Doe | +
clickAndWait | +id=submit | ++ |
assertTitle | +Doe, Jane | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
select | +id=VClassURI | +label=Librarian (vivo) | +
clickAndWait | +id=submit | ++ |
assertTitle | +Edit | ++ |
type | +id=firstName | +John | +
type | +id=lastName | +Smith | +
clickAndWait | +id=submit | ++ |
assertTitle | +Smith, John | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
select | +id=VClassURI | +label=Person (foaf) | +
clickAndWait | +id=submit | ++ |
assertTitle | +Edit | ++ |
type | +id=firstName | +Susie | +
type | +id=lastName | +Booth | +
clickAndWait | +id=submit | ++ |
assertTitle | +Booth, Susie | ++ |
comment | +Add all people as Susie's collaborators | ++ |
clickAndWait | +css=a.add-hasCollaborator > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +id=object | +adam | +
click | +id=ui-active-menuitem | ++ |
clickAndWait | +id=submit | ++ |
assertTitle | +Booth, Susie | ++ |
clickAndWait | +css=a.add-hasCollaborator > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +id=object | +doe | +
click | +id=ui-active-menuitem | ++ |
clickAndWait | +id=submit | ++ |
assertTitle | +Booth, Susie | ++ |
clickAndWait | +css=a.add-hasCollaborator > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +id=object | +smith | +
click | +id=ui-active-menuitem | ++ |
clickAndWait | +id=submit | ++ |
assertTitle | +Booth, Susie | ++ |
comment | +Verify order is ascending | ++ |
verifyElementPresent | +css=#hasCollaboratorList > li | ++ |
verifyElementPresent | +//ul[@id='hasCollaboratorList']/li[2] | ++ |
verifyElementPresent | +//ul[@id='hasCollaboratorList']/li[3] | ++ |
comment | +Turn on verbose & update object property | ++ |
clickAndWait | +id=verbosePropertySwitch | ++ |
assertTitle | +Booth, Susie | ++ |
clickAndWait | +link=exact:vivo:hasCollaborator | ++ |
assertTitle | +Object Property Control Panel | ++ |
clickAndWait | +//input[@value='Edit Property Record'] | ++ |
assertTitle | +Property Editing Form | ++ |
type | +name=DomainEntitySortDirection | +desc | +
clickAndWait | +id=primaryAction | ++ |
assertTitle | +Object Property Control Panel | ++ |
comment | +Verify order is descending | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Booth, Susie | ++ |
assertTitle | +Booth, Susie | ++ |
verifyElementPresent | +css=#hasCollaboratorList > li | ++ |
verifyElementPresent | +//ul[@id='hasCollaboratorList']/li[2] | ++ |
verifyElementPresent | +//ul[@id='hasCollaboratorList']/li[3] | ++ |
comment | +Change order back to ascending | ++ |
clickAndWait | +link=exact:vivo:hasCollaborator | ++ |
assertTitle | +Object Property Control Panel | ++ |
clickAndWait | +//input[@value='Edit Property Record'] | ++ |
assertTitle | +Property Editing Form | ++ |
type | +name=DomainEntitySortDirection | ++ |
clickAndWait | +id=primaryAction | ++ |
assertTitle | +Object Property Control Panel | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Booth, Susie | ++ |
assertTitle | +Booth, Susie | ++ |
clickAndWait | +id=verbosePropertySwitch | ++ |
assertTitle | +Booth, Susie | ++ |
comment | +Verify order is ascending again | ++ |
verifyElementPresent | +css=#hasCollaboratorList > li | ++ |
verifyElementPresent | +//ul[@id='hasCollaboratorList']/li[2] | ++ |
verifyElementPresent | +//ul[@id='hasCollaboratorList']/li[3] | ++ |
comment | +Delete test people | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Adams, Jeff | ++ |
assertTitle | +Adams, Jeff | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +name=_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Doe, Jane | ++ |
assertTitle | +Doe, Jane | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +name=_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Smith, John | ++ |
assertTitle | +Smith, John | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +name=_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Booth, Susie | ++ |
assertTitle | +Booth, Susie | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +name=_delete | ++ |
waitForPageToLoad | +5000 | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |