diff --git a/utilities/acceptance-tests/suites/CustomEducationForm/AddEducationBackground.html b/utilities/acceptance-tests/suites/CustomEducationForm/AddEducationBackground.html new file mode 100644 index 00000000..f4b9edbc --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomEducationForm/AddEducationBackground.html @@ -0,0 +1,670 @@ + + + + + + +AddEducationBackground + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddEducationBackground
commentValidate Educational Background Form
deleteAllVisibleCookies
setTimeout100000
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to Jane Faculty via Index
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
pause5000
assertTitleJane Faculty
clickAndWait//div[@id='oprop-core-educationalBackground']/a
assertTitleEdit
commentCancel out of form
clickAndWaitlink=Cancel
assertTitleJane Faculty
clickAndWait//div[@id='oprop-core-educationalBackground']/a
commentVerify entering no fields results in error
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentThis field must not be empty.
verifyTextPresentMust either choose an existing organization or create a new one.
commentVerify entering just degree is not valid
selectdegreeUrilabel=B.S. Bachelor of Science
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentThis field must not be empty.
verifyTextPresentMust either choose an existing organization or create a new one.
commentVerify entering just degree and major is not valid
selectdegreeUrilabel=B.S. Bachelor of Science
typemajorFieldBusiness Administration
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentThis field must not be empty.
verifyTextPresentMust either choose an existing organization or create a new one.
commentVerify organization must be selected or entered
selectdegreeUrilabel=B.S. Bachelor of Science
typemajorFieldBusiness Administration
commentFor now 9999 is a valid year
typeyear9999
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentMust either choose an existing organization or create a new one.
commentSelect to add new organization but cancel before doing so
clicklink=add a new organization
clicklink=cancel
commentSelect to add new organization but leave field blank
clicklink=add a new organization
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentMust either choose an existing organization or create a new one.
clicklink=add a new organization
commentEnter in new organization name but leave type blank
typenewOrgNameCarroll College
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentMust select a type for the new organization.
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
commentEnter everything in correctly
selectnewOrgTypelabel=College
clickAndWaitsubmit
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
assertTitleJane Faculty
commentVerify degree appears
verifyTextPresentB.S. in Business Administration, Carroll College, 9999
clickAndWait//div[@id='oprop-core-educationalBackground']/a
assertTitleEdit
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
commentAdd degree from existing organization
selectdegreeUrilabel=M.B.A. Master of Business Administration
typemajorFieldBusiness Administration
typeyear2000
selectorganizationUrilabel=Carroll College
typedeptBusiness Department
clicksubmit
pause50000
assertTitleJane Faculty
commentVerify both degrees appear
verifyTextPresentB.S. in Business Administration, Carroll College, 9999
verifyTextPresentM.B.A. in Business Administration, Carroll College, Business Department, 2000
commentAdd third degree from new organization
clickAndWait//div[@id='oprop-core-educationalBackground']/a
assertTitleEdit
selectdegreeUrilabel=M.Ed. Master of Education
typemajorFieldBusiness Education
typeyear2005
clicklink=add a new organization
typenewOrgNameUniversity of Wisconsin
selectnewOrgTypelabel=University
typeinfoGraduate School Fellowship
clickAndWaitsubmit
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
assertTitleJane Faculty
commentVerify all 3 degress show up
verifyTextPresentM.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship
verifyTextPresentM.B.A. in Business Administration, Carroll College, Business Department, 2000
verifyTextPresentB.S. in Business Administration, Carroll College, 9999
commentLog out
clicklink=Log out
pause5000
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomEducationForm/ChangeEducationBackground.html b/utilities/acceptance-tests/suites/CustomEducationForm/ChangeEducationBackground.html new file mode 100644 index 00000000..6d116c5c --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomEducationForm/ChangeEducationBackground.html @@ -0,0 +1,390 @@ + + + + + + +ChangeEducationBackground + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ChangeEducationBackground
commentMake changes to 3 degrees
deleteAllVisibleCookies
setTimeout100000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
refreshAndWait10000
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to Jane Faculty via Index
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
pause5000
assertTitleJane Faculty
commentVerify all 3 degree entries exist
verifyTextPresentB.S. in Business Administration, Carroll College, 9999
verifyTextPresentM.B.A. in Business Administration, Carroll College, Business Department, 2000
verifyTextPresentM.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship
commentChange department, year, and supplemental info for B.S. degree
clickAndWait//div[@id='oprop-core-educationalBackground']/ul/li[1]/span/span/a[1]
assertTitleEdit
typedeptBusiness Department
typeyear1981
typeinfoFour year full scholarship
clickAndWaitsubmit
refreshAndWait50000
assertTitleJane Faculty
commentVerify B.S. degree info changed but other 2 degrees the same
verifyTextPresentB.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship
verifyTextPresentM.B.A. in Business Administration, Carroll College, Business Department, 2000
verifyTextPresentM.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship
commentChange organization for M.B.A. degree
clickAndWait//div[@id='oprop-core-educationalBackground']/ul/li[2]/span/span/a[1]
assertTitleEdit
clicklink=add a new organization
typenewOrgNameUniversity of Illinois
selectnewOrgTypelabel=University
clickAndWaitsubmit
refreshAndWait50000
assertTitleJane Faculty
commentVerify M.B.A. school changed but other 2 degrees the same
verifyTextPresentB.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship
verifyTextPresentM.B.A. in Business Administration, University of Illinois, Business Department, 2000
verifyTextPresentM.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship
commentChange M.Ed. to add department and delete supplemental info
clickAndWait//div[@id='oprop-core-educationalBackground']/ul/li[3]/span/span/a[1]
assertTitleEdit
typedeptSchool of Business
typeinfo
clickAndWaitsubmit
refreshAndWait50000
assertTitleJane Faculty
commentVerify M.Ed. degree info changed but other 2 degrees the same
verifyTextPresentB.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship
verifyTextPresentM.B.A. in Business Administration, University of Illinois, Business Department, 2000
verifyTextPresentM.Ed. in Business Education, University of Wisconsin, School of Business, 2005
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomEducationForm/CreateTestFacultyMember.html b/utilities/acceptance-tests/suites/CustomEducationForm/CreateTestFacultyMember.html new file mode 100644 index 00000000..3dc402c2 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomEducationForm/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/CustomEducationForm/DeleteEducationalBackground.html b/utilities/acceptance-tests/suites/CustomEducationForm/DeleteEducationalBackground.html new file mode 100644 index 00000000..de72a4b9 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomEducationForm/DeleteEducationalBackground.html @@ -0,0 +1,515 @@ + + + + + + +DeleteEducationalBackground + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeleteEducationalBackground
commentDelete educational backgrounds and organizations
deleteAllVisibleCookies
setTimeout100000
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to Jane Faculty via Index
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
assertTitleJane Faculty
commentVerify the education to be deleted does indeed exist
verifyTextPresentM.Ed. in Business Education, University of Wisconsin, School of Business, 2005
verifyTextPresentB.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship
verifyTextPresentM.B.A. in Business Administration, University of Illinois, Business Department, 2000
commentDelete degrees
clickAndWaitlink=delete
assertTitleEdit
clickAndWaitsubmit
assertTitleJane Faculty
clickAndWaitlink=delete
assertTitleEdit
clickAndWaitsubmit
assertTitleJane Faculty
clickAndWaitlink=delete
assertTitleEdit
clickAndWaitsubmit
assertTitleJane Faculty
commentVerify all 3 educational background entries are gone
verifyTextNotPresentM.Ed. in Business Education, University of Wisconsin, Business Department, 1981, Four year full scholarship
verifyTextNotPresentB.S. in Business Administration, Carroll College, School of Business, 9999
verifyTextNotPresentM.B.A. in Business Administration, University of Illinois, Business Department, 2000
commentSearch for organizations and delete them
typesearchcarroll college
clickAndWaitsubmit
assertTitlecarroll college - VIVO Search Results
clickAndWaitlink=Carroll College
assertTitleCarroll College
clickAndWaitlink=edit this individual
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
typesearchcarroll college
clickAndWaitsubmit
assertTitlecarroll college - VIVO Search Results
verifyTextNotPresentCarroll College
typesearchwisconsin
clickAndWaitsubmit
assertTitlewisconsin - VIVO Search Results
clickAndWaitlink=University of Wisconsin
assertTitleUniversity of Wisconsin
clickAndWaitlink=edit this individual
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
typesearchwisconsin
clickAndWaitsubmit
assertTitlewisconsin - VIVO Search Results
verifyTextNotPresentUniversity of Wisconsin
typesearchillinois
clickAndWaitsubmit
assertTitleillinois - VIVO Search Results
clickAndWaitlink=University of Illinois
assertTitleUniversity of Illinois
clickAndWaitlink=edit this individual
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
typesearchillinois
clickAndWaitsubmit
assertTitleillinois - VIVO Search Results
verifyTextNotPresentUniversity of Illinois
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomEducationForm/DeleteTestFacultyMember.html b/utilities/acceptance-tests/suites/CustomEducationForm/DeleteTestFacultyMember.html new file mode 100644 index 00000000..42706f69 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomEducationForm/DeleteTestFacultyMember.html @@ -0,0 +1,223 @@ + + + + + + +DeleteTestFacultyMember + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<<<<<<< .mine + + + + + + + + + + +======= +>>>>>>> .r513 + + + + + + + + + + + + + + + +
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
refreshAndWait10000
verifyTextNotPresentFaculty Member
commentLogout
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomEducationForm/SearchEducationBackground.html b/utilities/acceptance-tests/suites/CustomEducationForm/SearchEducationBackground.html new file mode 100644 index 00000000..dcc4bc1c --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomEducationForm/SearchEducationBackground.html @@ -0,0 +1,130 @@ + + + + + + +SearchEducationBackground + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SearchEducationBackground
commentSearch for new organizations & educational backgrounds
deleteAllVisibleCookies
setTimeout100000
open/vivo/
assertTitleVIVO
typesearchcarroll college
clickAndWaitsubmit
assertTitlecarroll college - VIVO Search Results
verifyElementPresentlink=Carroll College
typesearchwisconsin
clickAndWaitsubmit
assertTitlewisconsin - VIVO Search Results
verifyElementPresentlink=University of Wisconsin
typesearchillinois
clickAndWaitsubmit
assertTitleillinois - VIVO Search Results
verifyElementPresentlink=University of Illinois
open/vivo/
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CustomEducationForm/Suite.html b/utilities/acceptance-tests/suites/CustomEducationForm/Suite.html new file mode 100644 index 00000000..edf4e6be --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomEducationForm/Suite.html @@ -0,0 +1,19 @@ + + + + + + Test Suite + + + + + + + + + + +
Test Suite
CreateTestFacultyMember
AddEducationBackground
ChangeEducationBackground
SearchEducationBackground
DeleteEducationalBackground
DeleteTestFacultyMember
+ +