From e107ab4b9b2939f5f316f9d776e1a85df39250e4 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Tue, 26 Jun 2012 21:04:58 +0000 Subject: [PATCH] Holly created a new test case to test the reordering of people... --- .../suites/CreatePeople/ReorderPeople.html | 894 ++++++++++++++++++ .../suites/CreatePeople/Suite.html | 77 +- 2 files changed, 933 insertions(+), 38 deletions(-) create mode 100644 utilities/acceptance-tests/suites/CreatePeople/ReorderPeople.html 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CreateFacultyMember
deleteAllVisibleCookies
setTimeout10000000
commentAdd people and reorder them
open/vivo/
assertTitleVIVO
commentMust be logged off to start
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust login as the site admin
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentAdd 4 people
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
verifyTextPresentData Input
selectVClassURIlabel=Faculty Member (vivo)
clickAndWait//input[@value='Add individual of this class']
typeid=firstNameJeff
typeid=lastNameAdams
clickAndWaitid=submit
assertTitleAdams, Jeff
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitid=submit
assertTitleEdit
typeid=firstNameJane
typeid=lastNameDoe
clickAndWaitid=submit
assertTitleDoe, Jane
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
selectid=VClassURIlabel=Librarian (vivo)
clickAndWaitid=submit
assertTitleEdit
typeid=firstNameJohn
typeid=lastNameSmith
clickAndWaitid=submit
assertTitleSmith, John
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
selectid=VClassURIlabel=Person (foaf)
clickAndWaitid=submit
assertTitleEdit
typeid=firstNameSusie
typeid=lastNameBooth
clickAndWaitid=submit
assertTitleBooth, Susie
commentAdd all people as Susie's collaborators
clickAndWaitcss=a.add-hasCollaborator > img.add-individual
assertTitleEdit
typeid=objectadam
clickid=ui-active-menuitem
clickAndWaitid=submit
assertTitleBooth, Susie
clickAndWaitcss=a.add-hasCollaborator > img.add-individual
assertTitleEdit
typeid=objectdoe
clickid=ui-active-menuitem
clickAndWaitid=submit
assertTitleBooth, Susie
clickAndWaitcss=a.add-hasCollaborator > img.add-individual
assertTitleEdit
typeid=objectsmith
clickid=ui-active-menuitem
clickAndWaitid=submit
assertTitleBooth, Susie
commentVerify order is ascending
verifyElementPresentcss=#hasCollaboratorList > li
verifyElementPresent//ul[@id='hasCollaboratorList']/li[2]
verifyElementPresent//ul[@id='hasCollaboratorList']/li[3]
commentTurn on verbose & update object property
clickAndWaitid=verbosePropertySwitch
assertTitleBooth, Susie
clickAndWaitlink=exact:vivo:hasCollaborator
assertTitleObject Property Control Panel
clickAndWait//input[@value='Edit Property Record']
assertTitleProperty Editing Form
typename=DomainEntitySortDirectiondesc
clickAndWaitid=primaryAction
assertTitleObject Property Control Panel
commentVerify order is descending
clickAndWaitlink=Index
assertTitleIndex of Contents
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Booth, Susie
assertTitleBooth, Susie
verifyElementPresentcss=#hasCollaboratorList > li
verifyElementPresent//ul[@id='hasCollaboratorList']/li[2]
verifyElementPresent//ul[@id='hasCollaboratorList']/li[3]
commentChange order back to ascending
clickAndWaitlink=exact:vivo:hasCollaborator
assertTitleObject Property Control Panel
clickAndWait//input[@value='Edit Property Record']
assertTitleProperty Editing Form
typename=DomainEntitySortDirection
clickAndWaitid=primaryAction
assertTitleObject Property Control Panel
clickAndWaitlink=Index
assertTitleIndex of Contents
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Booth, Susie
assertTitleBooth, Susie
clickAndWaitid=verbosePropertySwitch
assertTitleBooth, Susie
commentVerify order is ascending again
verifyElementPresentcss=#hasCollaboratorList > li
verifyElementPresent//ul[@id='hasCollaboratorList']/li[2]
verifyElementPresent//ul[@id='hasCollaboratorList']/li[3]
commentDelete test people
clickAndWaitlink=Index
assertTitleIndex of Contents
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Adams, Jeff
assertTitleAdams, Jeff
clickAndWaitlink=Edit this individual
assertTitleIndividual Control Panel
clickAndWait//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
clickname=_delete
assertConfirmationAre you SURE you want to delete this individual? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clickAndWaitlink=Index
assertTitleIndex of Contents
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Doe, Jane
assertTitleDoe, Jane
clickAndWaitlink=Edit this individual
assertTitleIndividual Control Panel
clickAndWait//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
clickname=_delete
assertConfirmationAre you SURE you want to delete this individual? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clickAndWaitlink=Index
assertTitleIndex of Contents
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Smith, John
assertTitleSmith, John
clickAndWaitlink=Edit this individual
assertTitleIndividual Control Panel
clickAndWait//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
clickname=_delete
assertConfirmationAre you SURE you want to delete this individual? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clickAndWaitlink=Index
assertTitleIndex of Contents
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Booth, Susie
assertTitleBooth, Susie
clickAndWaitlink=Edit this individual
assertTitleIndividual Control Panel
clickAndWait//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
clickname=_delete
waitForPageToLoad5000
assertConfirmationAre you SURE you want to delete this individual? If in doubt, CANCEL.
assertTitleVIVO Site Administration
commentLogout
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CreatePeople/Suite.html b/utilities/acceptance-tests/suites/CreatePeople/Suite.html index c10cc831..201f1847 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/Suite.html +++ b/utilities/acceptance-tests/suites/CreatePeople/Suite.html @@ -1,38 +1,39 @@ - - - - - - Test Suite - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Test Suite
RebuildSearchIndex
CreateFacultyMember
CreateLibrarian
AddFacultyInfo
EditFacultyInfo
AddFacultyInfo2
RebuildSearchIndex
PublicFacultyInfo
SearchFacultyInfo
DeleteFacultyInfo
RebuildSearchIndex
UploadFacultyImage
ChangeFacultyImage
VerifyImageDisplay
UploadLibrarianImage
ChangeLibrarianImage
AssociateLibToFac
SearchPeople
BrowseIndex
TestUnicodeName
DeleteFacultyImage
DeleteLibrarianImage
DeleteLibtoFacAssociation
DeleteTestPeople
UploadNonPersonImage
- - + + + + + + Test Suite + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Suite
RebuildSearchIndex
CreateFacultyMember
CreateLibrarian
AddFacultyInfo
EditFacultyInfo
AddFacultyInfo2
RebuildSearchIndex
PublicFacultyInfo
SearchFacultyInfo
DeleteFacultyInfo
RebuildSearchIndex
UploadFacultyImage
ChangeFacultyImage
VerifyImageDisplay
UploadLibrarianImage
ChangeLibrarianImage
AssociateLibToFac
SearchPeople
BrowseIndex
TestUnicodeName
DeleteFacultyImage
DeleteLibrarianImage
DeleteLibtoFacAssociation
DeleteTestPeople
UploadNonPersonImage
ReorderPeople
+ +