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 | ||
comment | +Validate Educational Background Form | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Jane Faculty via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
pause | +5000 | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Cancel out of form | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
comment | +Verify entering no fields results in error | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Verify entering just degree is not valid | ++ |
select | +degreeUri | +label=B.S. Bachelor of Science | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Verify entering just degree and major is not valid | ++ |
select | +degreeUri | +label=B.S. Bachelor of Science | +
type | +majorField | +Business Administration | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Verify organization must be selected or entered | ++ |
select | +degreeUri | +label=B.S. Bachelor of Science | +
type | +majorField | +Business Administration | +
comment | +For now 9999 is a valid year | ++ |
type | +year | +9999 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
comment | +Select to add new organization but cancel before doing so | ++ |
click | +link=add a new organization | ++ |
click | +link=cancel | ++ |
comment | +Select to add new organization but leave field blank | ++ |
click | +link=add a new organization | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must either choose an existing organization or create a new one. | ++ |
click | +link=add a new organization | ++ |
comment | +Enter in new organization name but leave type blank | ++ |
type | +newOrgName | +Carroll College | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must select a type for the new organization. | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Enter everything in correctly | ++ |
select | +newOrgType | +label=College | +
clickAndWait | +submit | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify degree appears | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, 9999 | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
assertTitle | +Edit | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Add degree from existing organization | ++ |
select | +degreeUri | +label=M.B.A. Master of Business Administration | +
type | +majorField | +Business Administration | +
type | +year | +2000 | +
select | +organizationUri | +label=Carroll College | +
type | +dept | +Business Department | +
click | +submit | ++ |
pause | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify both degrees appear | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, 9999 | ++ |
verifyTextPresent | +M.B.A. in Business Administration, Carroll College, Business Department, 2000 | ++ |
comment | +Add third degree from new organization | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/a | ++ |
assertTitle | +Edit | ++ |
select | +degreeUri | +label=M.Ed. Master of Education | +
type | +majorField | +Business Education | +
type | +year | +2005 | +
click | +link=add a new organization | ++ |
type | +newOrgName | +University of Wisconsin | +
select | +newOrgType | +label=University | +
type | +info | +Graduate School Fellowship | +
clickAndWait | +submit | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 3 degress show up | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship | ++ |
verifyTextPresent | +M.B.A. in Business Administration, Carroll College, Business Department, 2000 | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, 9999 | ++ |
comment | +Log out | ++ |
click | +link=Log out | ++ |
pause | +5000 | ++ |
assertTitle | +VIVO | ++ |
ChangeEducationBackground | ||
comment | +Make changes to 3 degrees | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Jane Faculty via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
pause | +5000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 3 degree entries exist | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, 9999 | ++ |
verifyTextPresent | +M.B.A. in Business Administration, Carroll College, Business Department, 2000 | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship | ++ |
comment | +Change department, year, and supplemental info for B.S. degree | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/ul/li[1]/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +dept | +Business Department | +
type | +year | +1981 | +
type | +info | +Four year full scholarship | +
clickAndWait | +submit | ++ |
refreshAndWait | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify B.S. degree info changed but other 2 degrees the same | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship | ++ |
verifyTextPresent | +M.B.A. in Business Administration, Carroll College, Business Department, 2000 | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship | ++ |
comment | +Change organization for M.B.A. degree | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/ul/li[2]/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
click | +link=add a new organization | ++ |
type | +newOrgName | +University of Illinois | +
select | +newOrgType | +label=University | +
clickAndWait | +submit | ++ |
refreshAndWait | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify M.B.A. school changed but other 2 degrees the same | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship | ++ |
verifyTextPresent | +M.B.A. in Business Administration, University of Illinois, Business Department, 2000 | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, 2005, Graduate School Fellowship | ++ |
comment | +Change M.Ed. to add department and delete supplemental info | ++ |
clickAndWait | +//div[@id='oprop-core-educationalBackground']/ul/li[3]/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +dept | +School of Business | +
type | +info | ++ |
clickAndWait | +submit | ++ |
refreshAndWait | +50000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify M.Ed. degree info changed but other 2 degrees the same | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship | ++ |
verifyTextPresent | +M.B.A. in Business Administration, University of Illinois, Business Department, 2000 | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, School of Business, 2005 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateTestFacultyMember | |||
comment | +Add test Faculty member named Jane Faculty | ++ | |
deleteAllVisibleCookies | ++ | + | |
setTimeout | +100000 | ++ | |
open | +/vivo/ | ++ | |
assertTitle | +VIVO | ++ | |
comment | +Must be logged off to start | ++ | |
clickAndWait | +link=Log in | ++ | |
assertTitle | +VIVO Site Administration | ++ | |
comment | +Must login as the site admin | ++ | |
type | +username | +testAdmin | +|
type | +password | +Password | +|
clickAndWait | +loginSubmitMode | ++ | |
assertTitle | +VIVO Site Administration | ++ | |
verifyTextPresent | +Data Input | ++ | |
select | +VClassURI | +label=Faculty Member (core) | +|
clickAndWait | +//input[@value='Add individual of this class'] | ++ | |
pause | +<<<<<<< .mine +50000 | +======= +10000 | +>>>>>>> .r513 ++ |
assertTitle | +Individual Editing Form | ++ | |
comment | +Add Assistant Professor Jane Faculty | ++ | |
type | +Name | +Jane Faculty | +|
type | +MonikerSelectAlt | +Assistant Professor | +|
verifyTextPresent | +Creating New Record | ++ | |
clickAndWait | +primaryAction | ++ | |
pause | +50000 | ++ | |
assertTitle | +Individual Control Panel | ++ | |
comment | +Verify that account was created | ++ | |
verifyTextPresent | +Jane Faculty | ++ | |
comment | +Logout | ++ | |
clickAndWait | +link=Log out | ++ | |
assertTitle | +VIVO | ++ |
DeleteEducationalBackground | ||
comment | +Delete educational backgrounds and organizations | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Jane Faculty via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify the education to be deleted does indeed exist | ++ |
verifyTextPresent | +M.Ed. in Business Education, University of Wisconsin, School of Business, 2005 | ++ |
verifyTextPresent | +B.S. in Business Administration, Carroll College, Business Department, 1981, Four year full scholarship | ++ |
verifyTextPresent | +M.B.A. in Business Administration, University of Illinois, Business Department, 2000 | ++ |
comment | +Delete degrees | ++ |
clickAndWait | +link=delete | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +link=delete | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +link=delete | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 3 educational background entries are gone | ++ |
verifyTextNotPresent | +M.Ed. in Business Education, University of Wisconsin, Business Department, 1981, Four year full scholarship | ++ |
verifyTextNotPresent | +B.S. in Business Administration, Carroll College, School of Business, 9999 | ++ |
verifyTextNotPresent | +M.B.A. in Business Administration, University of Illinois, Business Department, 2000 | ++ |
comment | +Search for organizations and delete them | ++ |
type | +search | +carroll college | +
clickAndWait | +submit | ++ |
assertTitle | +carroll college - VIVO Search Results | ++ |
clickAndWait | +link=Carroll College | ++ |
assertTitle | +Carroll College | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
type | +search | +carroll college | +
clickAndWait | +submit | ++ |
assertTitle | +carroll college - VIVO Search Results | ++ |
verifyTextNotPresent | +Carroll College | ++ |
type | +search | +wisconsin | +
clickAndWait | +submit | ++ |
assertTitle | +wisconsin - VIVO Search Results | ++ |
clickAndWait | +link=University of Wisconsin | ++ |
assertTitle | +University of Wisconsin | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
type | +search | +wisconsin | +
clickAndWait | +submit | ++ |
assertTitle | +wisconsin - VIVO Search Results | ++ |
verifyTextNotPresent | +University of Wisconsin | ++ |
type | +search | +illinois | +
clickAndWait | +submit | ++ |
assertTitle | +illinois - VIVO Search Results | ++ |
clickAndWait | +link=University of Illinois | ++ |
assertTitle | +University of Illinois | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
type | +search | +illinois | +
clickAndWait | +submit | ++ |
assertTitle | +illinois - VIVO Search Results | ++ |
verifyTextNotPresent | +University of Illinois | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestFacultyMember | ||
comment | +Delete test person Jane Faculty | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +link=edit this individual | ++ |
comment | +Delete Jane Faculty | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Verify that Jane Faculty is indeed gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
refreshAndWait | +10000 | ++ |
verifyTextNotPresent | +Faculty Member | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
SearchEducationBackground | ||
comment | +Search for new organizations & educational backgrounds | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
type | +search | +carroll college | +
clickAndWait | +submit | ++ |
assertTitle | +carroll college - VIVO Search Results | ++ |
verifyElementPresent | +link=Carroll College | ++ |
type | +search | +wisconsin | +
clickAndWait | +submit | ++ |
assertTitle | +wisconsin - VIVO Search Results | ++ |
verifyElementPresent | +link=University of Wisconsin | ++ |
type | +search | +illinois | +
clickAndWait | +submit | ++ |
assertTitle | +illinois - VIVO Search Results | ++ |
verifyElementPresent | +link=University of Illinois | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
Test Suite |
CreateTestFacultyMember |
AddEducationBackground |
ChangeEducationBackground |
SearchEducationBackground |
DeleteEducationalBackground |
DeleteTestFacultyMember |