diff --git a/utilities/acceptance-tests/suites/CreateAccounts/CreateNewFacultyMember.html b/utilities/acceptance-tests/suites/CreateAccounts/CreateNewFacultyMember.html new file mode 100644 index 00000000..01ea3480 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreateAccounts/CreateNewFacultyMember.html @@ -0,0 +1,429 @@ + + + +
+ + +CreateFacultyMember | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +10000000 | ++ |
comment | +Add a Faculty member named Jane Faculty | ++ |
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 | ++ |
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'] | ++ |
comment | +Validate adding individual | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +VIVO Site Administration | ++ |
select | +VClassURI | +label=Faculty Member (vivo) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
type | +firstName | +Jane | +
type | +lastName | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
type | +firstName | ++ |
type | +lastName | +Faculty | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
comment | +Add Jane Faculty | ++ |
type | +firstName | +Jane | +
type | +lastName | +Faculty | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Make Jane Faculty an Assistant Professor | ++ |
clickAndWait | +css=a.add-preferredTitle > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +Assistant Professor | +
clickAndWait | +submit | ++ |
assertTitle | +Faculty, Jane | ++ |
pause | +50000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Verify that Jane Faculty was created | ++ |
verifyTextPresent | +Faculty, Jane | ++ |
verifyTextPresent | +Assistant Professor | ++ |
comment | +Browse for new faculty member | ++ |
clickAndWait | +link=Index | ++ |
verifyElementPresent | +link=Faculty Member | ++ |
verifyTextPresent | +Faculty Member (1) | ++ |
verifyElementPresent | +link=Person | ++ |
verifyTextPresent | +Person (2) | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
verifyElementPresent | +link=Faculty, Jane | ++ |
verifyTextPresent | +Faculty, Jane Assistant Professor | ++ |
comment | +Search for new faculty member | ++ |
type | +querytext | +faculty | +
clickAndWait | +//input[@value='Search'] | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +faculty - VIVO Search Results | ++ |
verifyTextPresent | +Search results for 'faculty' | ++ |
verifyElementPresent | +link=Faculty, Jane | ++ |
verifyTextPresent | +Faculty, Jane Assistant Professor | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateLibrarian | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Create Librarian person | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin@cornell.edu | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to add new individual page | ++ |
select | +VClassURI | +label=Librarian (vivo) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
verifyTextPresent | +Create a new Librarian | ++ |
comment | +Create a librarian individual | ++ |
type | +firstName | +Lily | +
type | +lastName | +Librarian | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
comment | +Make individual an Assistant Librarian | ++ |
clickAndWait | +css=a.add-preferredTitle > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +Assistant Librarian | +
clickAndWait | +submit | ++ |
assertTitle | +Librarian, Lily | ++ |
pause | +50000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Verify that librarian was added sucessfully | ++ |
verifyTextPresent | +Librarian, Lily | ++ |
verifyTextPresent | +Assistant Librarian | ++ |
comment | +Browse for new librarian | ++ |
clickAndWait | +link=Index | ++ |
verifyElementPresent | +link=Faculty Member | ++ |
verifyTextPresent | +Faculty Member (1) | ++ |
verifyElementPresent | +link=Librarian | ++ |
verifyTextPresent | +Librarian (1) | ++ |
verifyElementPresent | +link=Person | ++ |
verifyTextPresent | +Person (3) | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
verifyElementPresent | +link=Librarian, Lily | ++ |
verifyTextPresent | +Librarian, Lily Assistant Librarian | ++ |
comment | +Search for new librarian | ++ |
type | +querytext | +librarian | +
clickAndWait | +//input[@value='Search'] | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +librarian - VIVO Search Results | ++ |
verifyTextPresent | +Search results for 'librarian' | ++ |
verifyElementPresent | +link=Librarian, Lily | ++ |
verifyTextPresent | +Librarian, Lily Assistant Librarian | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateLibrarian | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Create Librarian person | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin@cornell.edu | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to add new individual page | ++ |
select | +VClassURI | +label=Person (foaf) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
verifyTextPresent | +Create a new Person | ++ |
comment | +Create a librarian individual | ++ |
type | +firstName | +Paula | +
type | +lastName | +Proxy | +
clickAndWait | +submit | ++ |
assertTitle | +Proxy, Paula | ++ |
comment | +Make individual an Assistant Librarian | ++ |
clickAndWait | +css=a.add-preferredTitle > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +Administrative Assistant | +
clickAndWait | +submit | ++ |
assertTitle | +Proxy, Paula | ++ |
pause | +50000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
comment | +Verify that librarian was added sucessfully | ++ |
verifyTextPresent | +Proxy, Paula | ++ |
verifyTextPresent | +Administrative Assistant | ++ |
comment | +Browse for new librarian | ++ |
clickAndWait | +link=Index | ++ |
verifyElementPresent | +link=Person | ++ |
verifyTextPresent | +Person (1) | ++ |
verifyElementPresent | +link=Person | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
verifyElementPresent | +link=Proxy, Paula | ++ |
verifyTextPresent | +Proxy, Paula Administrative Assistant | ++ |
comment | +Search for new librarian | ++ |
type | +querytext | +administrative | +
clickAndWait | +//input[@value='Search'] | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +administrative - VIVO Search Results | ++ |
verifyTextPresent | +Search results for 'administrative' | ++ |
verifyElementPresent | +link=Proxy, Paula | ++ |
verifyTextPresent | +Proxy, Paula Administrative Assistant | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestPeople | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Delete new people Jane Faculty and Lilly Librarian | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Must log in as site admin | ++ |
type | +loginName | +testAdmin@cornell.edu | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
comment | +Navigate to Jane Faculty | ++ |
type | +querytext | +faculty | +
clickAndWait | +//input[@value='Search'] | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Delete Jane Faculty | ++ |
clickAndWait | +//input[@value="Edit This Individual"] | ++ |
assertTitle | +Individual Editing Form | ++ |
clickAndWait | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Lilly Librarian | ++ |
type | +querytext | +librarian | +
clickAndWait | +//input[@value='Search'] | ++ |
clickAndWait | +link=Librarian, Lily | ++ |
assertTitle | +Librarian, Lily | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Delete Lilly Librarian | ++ |
clickAndWait | +//input[@value="Edit This Individual"] | ++ |
assertTitle | +Individual Editing Form | ++ |
clickAndWait | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Paula Proxy | ++ |
type | +querytext | +administrative | +
clickAndWait | +//input[@value='Search'] | ++ |
clickAndWait | +link=Proxy, Paula | ++ |
assertTitle | +Proxy, Paula | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Delete Lilly Librarian | ++ |
clickAndWait | +//input[@value="Edit This Individual"] | ++ |
assertTitle | +Individual Editing Form | ++ |
clickAndWait | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Verify Jane Faculty, Lilly Librarian, and Paula Proxy are gone | ++ |
type | +querytext | +faculty | +
clickAndWait | +//input[@value='Search'] | ++ |
verifyTextNotPresent | +Faculty, Jane | ++ |
type | +querytext | +librarian | +
clickAndWait | +//input[@value='Search'] | ++ |
verifyTextNotPresent | +Librarian, Lily | ++ |
type | +querytext | +administrative | +
clickAndWait | +//input[@value='Search'] | ++ |
verifyTextNotPresent | +Librarian, Lily | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |