diff --git a/utilities/acceptance-tests/suites/CustomPositionsForm/AddPositions.html b/utilities/acceptance-tests/suites/CustomPositionsForm/AddPositions.html new file mode 100644 index 00000000..178cfc59 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomPositionsForm/AddPositions.html @@ -0,0 +1,530 @@ + + + + + + +AddPositions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddPositions
commentValidate this form and add positions
deleteAllVisibleCookies
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
assertTitleVIVO Site Administration
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to test faculty member via Index
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
assertTitleJane Faculty
commentSelect positions editing
clickAndWait//div[@id='oprop-core-personInPosition']/a
assertTitleEdit
verifyTextPresentIf your organization is not listed, please add a new organization.
commentCancel without adding anything
clicklink=Cancel
pause50000
clickAndWait//div[@id='oprop-core-personInPosition']/a
assertTitleEdit
commentElect to add a new organization
clicklink=add a new organization
commentAdd only organization name, which results in error
typenewOrgNameCarroll College
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentMust select a type for the new organization.
verifyTextPresentThis field must not be empty.
commentAdd only organization name and type, which results in error
typenewOrgNameCarroll College
selectnewOrgTypelabel=College
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentThis field must not be empty.
commentAdd position title, but leave position type and start year blank
typenewOrgNameCarroll College
selectnewOrgTypelabel=College
typetitleLecturer
clicksubmit
pause50000
verifyTextPresentThis field must not be empty.
assertTitleEdit
commentEnter all required fields except start year
typenewOrgNameCarroll College
selectnewOrgTypelabel=College
selectpositionTypelabel=Faculty Administrative Position
typetitleLecturer
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentThis field must not be empty.
commentEnter in all fields, with invalid start year
typestartYear9999
clicksubmit
pause50000
commentVerify first position is listed properly
assertTitleJane Faculty
verifyTextPresentCarroll College Lecturer, 9999 -
commentAdd second position using same organization
clickAndWait//div[@id='oprop-core-personInPosition']/a
assertTitleEdit
selectorganizationUrilabel=Carroll College
typetitleAssistant Professor
selectpositionTypelabel=Faculty Position
typestartYear1981
typeendYear1985
clicksubmit
pause50000
assertTitleJane Faculty
commentVerify both positions are listed properly
verifyTextPresentCarroll College Lecturer, 9999 -
verifyTextPresentCarroll College Assistant Professor, 1981 - 1985
commentAdd third position using new organization
clickAndWait//div[@id='oprop-core-personInPosition']/a
assertTitleEdit
clicklink=add a new organization
typenewOrgNameCornell University
selectnewOrgTypelabel=University
typetitleAssistant Professor
selectpositionTypelabel=Faculty Position
typestartYear1986
typeendYear2010
clicksubmit
pause50000
assertTitleJane Faculty
commentVerify all three positions show up
verifyTextPresentCarroll College Lecturer, 9999 -
verifyTextPresentCornell University Assistant Professor, 1986 - 2010
verifyTextPresentCarroll College Assistant Professor, 1981 - 1985
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomPositionsForm/ChangePositions.html b/utilities/acceptance-tests/suites/CustomPositionsForm/ChangePositions.html new file mode 100644 index 00000000..0fdd63dc --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomPositionsForm/ChangePositions.html @@ -0,0 +1,395 @@ + + + + + + +ChangePositions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ChangePositions
commentChange 3 existing positions
deleteAllVisibleCookies
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust login as site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to test faculty member
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
assertTitleJane Faculty
commentVerify position to be changed exisit
verifyTextPresentCarroll College Lecturer, 9999 -
verifyTextPresentCornell University Assistant Professor, 1986 - 2010
verifyTextPresentCarroll College Assistant Professor, 1981 - 1985
commentCorrect the dates of the lecturer position
clickAndWait//div[@id='oprop-core-personInPosition']/ul/li[1]/span/span/a[1]
assertTitleEdit
typestartYear1977
typeendYear1981
clickAndWaitsubmit
commentVerify positions are still listed correctly
verifyTextPresentCornell University Assistant Professor, 1986 - 2010
verifyTextPresentCarroll College Assistant Professor, 1981 - 1985
verifyTextPresentCarroll College Lecturer, 1977 - 1981
assertTitleJane Faculty
commentChange the or organization for one position
clickAndWait//div[@id='oprop-core-personInPosition']/ul/li[2]/span/span/a[1]
assertTitleEdit
clicklink=add a new organization
typenewOrgNameCarroll University
selectnewOrgTypelabel=University
clickAndWaitsubmit
assertTitleJane Faculty
commentVerify positions are still listed correctly
verifyTextPresentCornell University Assistant Professor, 1986 - 2010
verifyTextPresentCarroll University Assistant Professor, 1981 - 1985
verifyTextPresentCarroll College Lecturer, 1977 - 1981
clickAndWait//div[@id='oprop-core-personInPosition']/ul/li[1]/span/span/a[1]
commentChange Cornell University position to Carroll University
assertTitleEdit
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
selectorganizationUrilabel=Carroll University
typetitleProfessor
typeendYear
clickAndWaitsubmit
pause50000
assertTitleJane Faculty
commentVerify positions are still listed correctly
verifyTextPresentCarroll University Professor, 1986 -
verifyTextPresentCarroll University Assistant Professor, 1981 - 1985
verifyTextPresentCarroll College Lecturer, 1977 - 1981
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomPositionsForm/CreateTestFacultyMember.html b/utilities/acceptance-tests/suites/CustomPositionsForm/CreateTestFacultyMember.html new file mode 100644 index 00000000..3dc402c2 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomPositionsForm/CreateTestFacultyMember.html @@ -0,0 +1,189 @@ + + + + + + +CreateTestFacultyMember + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<<<<<<< .mine + +======= + +>>>>>>> .r513 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CreateTestFacultyMember
commentAdd test Faculty member named Jane Faculty
deleteAllVisibleCookies
setTimeout100000
open/vivo/
assertTitleVIVO
commentMust be logged off to start
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust login as the site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
verifyTextPresentData Input
selectVClassURIlabel=Faculty Member (core)
clickAndWait//input[@value='Add individual of this class']
pause5000010000
assertTitleIndividual Editing Form
commentAdd Assistant Professor Jane Faculty
typeNameJane Faculty
typeMonikerSelectAltAssistant Professor
verifyTextPresentCreating New Record
clickAndWaitprimaryAction
pause50000
assertTitleIndividual Control Panel
commentVerify that account was created
verifyTextPresentJane Faculty
commentLogout
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomPositionsForm/DeletePositions.html b/utilities/acceptance-tests/suites/CustomPositionsForm/DeletePositions.html new file mode 100644 index 00000000..0ccab360 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomPositionsForm/DeletePositions.html @@ -0,0 +1,575 @@ + + + + + + +DeletePositions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeletePositions
commentDelete all positions setup for test faculty member
deleteAllVisibleCookies
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clicklink=Log in
pause50000
assertTitleVIVO Site Administration
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
clickloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to test faculty member
clicklink=Index
pause50000
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
pause50000
assertTitleFaculty Member
clicklink=Jane Faculty
pause50000
assertTitleJane Faculty
commentDelete positions one at a time
clicklink=delete
pause50000
assertTitleEdit
clicksubmit
pause50000
assertTitleJane Faculty
clicklink=delete
pause50000
assertTitleEdit
clicksubmit
pause50000
assertTitleJane Faculty
clicklink=delete
pause50000
assertTitleEdit
clicksubmit
pause50000
assertTitleJane Faculty
clicklink=Index
pause50000
assertTitleIndex to VIVO Contents
commentDelete organizations one at a time
clicklink=College
waitForPageToLoad50000
assertTitleCollege
clicklink=Carroll College
waitForPageToLoad50000
assertTitleCarroll College
clicklink=edit this individual
pause50000
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
pause50000
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
pause50000
assertTitleIndex to VIVO Contents
clicklink=Organization
pause50000
assertTitleOrganization
clicklink=Carroll University
pause50000
assertTitleCarroll University
clicklink=edit this individual
pause50000
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
pause50000
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
pause50000
assertTitleIndex to VIVO Contents
clicklink=Organization
pause50000
assertTitleOrganization
clicklink=Cornell University
pause50000
assertTitleCornell University
clicklink=edit this individual
pause50000
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
pause50000
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
pause50000
assertTitleIndex to VIVO Contents
refreshAndWait10000
verifyElementNotPresentOrganizations
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomPositionsForm/DeleteTestFacultyMember.html b/utilities/acceptance-tests/suites/CustomPositionsForm/DeleteTestFacultyMember.html new file mode 100644 index 00000000..5711b43d --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomPositionsForm/DeleteTestFacultyMember.html @@ -0,0 +1,215 @@ + + + + + + +DeleteTestFacultyMember + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeleteTestFacultyMember
commentDelete test person Jane Faculty
deleteAllVisibleCookies
setTimeout100000
open/vivo/
assertTitleVIVO
commentMust not be logged in
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
commentNavigate to Jane Faculty
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
assertTitleJane Faculty
clickAndWaitlink=edit this individual
commentDelete Jane Faculty
assertTitleIndividual Control Panel
clickAndWait//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
commentVerify that Jane Faculty is indeed gone
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
verifyTextNotPresentFaculty Member
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomPositionsForm/SearchPositions.html b/utilities/acceptance-tests/suites/CustomPositionsForm/SearchPositions.html new file mode 100644 index 00000000..c65c6acf --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomPositionsForm/SearchPositions.html @@ -0,0 +1,355 @@ + + + + + + +SearchPositions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SearchPositions
commentSearch for positions and organizations
deleteAllVisibleCookies
open/vivo/
assertTitleVIVO
commentSearch for lecturer
typesearchlecturer
clickAndWaitsubmit
assertTitlelecturer - VIVO Search Results
verifyElementPresentlink=Carroll College
verifyTextPresent... people Lecturer ...
verifyElementPresentlink=Jane Faculty
verifyTextPresentJane Faculty | Assistant Professor
commentSearch for professor, which should bring up Assistant Professor and Professor
typesearchprofessor
clicksubmit
pause10000
assertTitleprofessor - VIVO Search Results
verifyElementPresentlink=Carroll University
verifyElementPresentlink=Jane Faculty
commentSearch for Carroll, which should bring up 2 organizations
typesearchcarroll
clicksubmit
pause10000
assertTitlecarroll - VIVO Search Results
verifyElementPresentlink=Carroll College
verifyElementPresentlink=Carroll University
commentLink to Carroll College to verify Jane Faculty is no longer listed
typesearchcarroll college
clicksubmit
pause10000
assertTitlecarroll college - VIVO Search Results
verifyTextPresentCarroll College
clicklink=Carroll College
pause10000
assertTitleCarroll College
verifyTextNotPresentJane Faculty
commentLink to Carroll University to verify Jane Faculty is listed
typesearchcarroll university
clicksubmit
pause10000
assertTitlecarroll university - VIVO Search Results
verifyTextPresentCarroll University
clicklink=Carroll University
pause50000
assertTitleCarroll University
verifyElementPresentlink=Jane Faculty
pause50000
verifyTextPresentJane Faculty Professor, 1986 -
commentSearch for university to find both Carroll and Cornell
typesearchuniversity
clickAndWaitsubmit
pause50000
assertTitleuniversity - VIVO Search Results
verifyElementPresentlink=Cornell University
verifyElementPresentlink=Carroll University
commentMake sure Jane Faculty is no longer associated with Cornell
clicklink=Cornell University
pause50000
assertTitleCornell University
verifyElementNotPresentlink=Jane Faculty
pause50000
commentGo to home page
open/vivo/
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomPositionsForm/Suite.html b/utilities/acceptance-tests/suites/CustomPositionsForm/Suite.html new file mode 100644 index 00000000..88b27b48 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomPositionsForm/Suite.html @@ -0,0 +1,19 @@ + + + + + + Test Suite + + + + + + + + + + +
Test Suite
CreateTestFacultyMember
AddPositions
ChangePositions
SearchPositions
DeletePositions
DeleteTestFacultyMember
+ +