diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyPosition.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyPosition.html new file mode 100644 index 00000000..743b7ad4 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyPosition.html @@ -0,0 +1,225 @@ + + + +
+ + +AddFacultyPosition | ||
comment | +Add position for Jane Faculty | ++ |
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 | ++ |
comment | +Navigate to Jane Faculty's record | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='oprop-core-personInPosition']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Add new position for Testing Department | ++ |
type | +title | +Assistant Professor | +
type | +organizationName | +Testing Department | +
type | +startYear | +1998 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify the new position is displayed two different ways | ++ |
verifyTextPresent | +Testing Department Assistant Professor, 1998 - | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +Testing Department Assistant Professor, 1998 - | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddFaculyClassAutolink | ||
comment | +Add Faculty Class Autolink | ++ |
open | +/vivo/siteAdmin?home=1&login=block | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Tab Management | ++ |
clickAndWait | +link=Tab management | ++ |
assertTitle | +Tabs | ++ |
verifyTextPresent | +Faculty | ++ |
comment | +Link Faculty to People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Add Class Autolink'] | ++ |
assertTitle | +Tab-VClass Autolink Editing Form | ++ |
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
comment | +Verify Faculty is part of People | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
comment | +Verify Jane Faculty is within the Faculty class | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddLibrarianClassAutolink | ||
comment | +Add Librarian Class Autolink | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to the Librarians Tab | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
verifyTextPresent | +Librarians | ++ |
clickAndWait | +link=Librarians | ++ |
assertTitle | +Librarians | ++ |
verifyTextPresent | +Librarians | ++ |
clickAndWait | +link=edit tab: Librarians | ++ |
assertTitle | +Tab Control Panel | ++ |
comment | +Add link from librarians to librarian | ++ |
clickAndWait | +//input[@value='Add Class Autolink'] | ++ |
assertTitle | +Tab-VClass Autolink Editing Form | ++ |
select | +VClassURI | +label=Librarian | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
comment | +Verify that change took | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
comment | +Logou | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AssociateLibToFac | ||
comment | +Associate Librarians to Faculty | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Class hierarchy | ++ |
comment | +Navigate to the core:Librarian in the ontology | ++ |
assertTitle | +Class Hierarchy | ++ |
verifyTextPresent | +core:Librarian | ++ |
clickAndWait | +link=exact:core:Librarian | ++ |
assertTitle | +Class Control Panel | ++ |
clickAndWait | +//input[@value='New Link to Superclass'] | ++ |
assertTitle | +Super/Subclass Editing Form | ++ |
comment | +Create the link | ++ |
select | +SuperclassURI | +label=core:Faculty Member | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Class Control Panel | ++ |
comment | +Make sure librarian shows up in both categories | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
verifyTextPresent | +Lilly Librarian | Assistant Librarian | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
BrowseIndex | ||
comment | +Browse the Index for the new people | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that two new people are accounted for | ++ |
verifyTextPresent | +Faculty Member | ++ |
verifyTextPresent | +Librarian | ++ |
verifyTextPresent | +Person | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
comment | +Verify Jane Faculty is on the Faculty Member list | ++ |
verifyTextPresent | +Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
comment | +Verify Jane Faculty is on the Librarian list | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
comment | +Verify that both people show up on the People list | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ChangeFacultyImage | ||
comment | +Change the uploaded picture for Jane Faculty | ++ |
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 | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Select to upload an image | ++ |
clickAndWait | +//input[@value='Upload Image'] | ++ |
assertTitle | +Upload Image | ++ |
verifyTextPresent | +Select Image File | ++ |
comment | +Select file to upload | ++ |
type | +file1 | +C:\vivo-code\vivo-rc1.0\utilities\acceptance-tests\suites\CreatePeople\Jane2.jpg | +
clickAndWait | +submitMode | ++ |
assertTitle | +Upload Image | ++ |
verifyTextPresent | +Results from processing input file: updated individual Jane Faculty Link to check uploaded image: <Jane2.html> |
+ + |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify image has been updated to new one | ++ |
verifyAttribute | +//img[@title='click to view larger image in new window']@src | +/vivo/images/people/Jane2.jpg | +
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CheckPeopleLinks | ||
comment | +Double check that all People links are correct | ++ |
open | +/vivo/siteAdmin?home=1&login=block | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
comment | +Verify that Lilly Librarian in Faculty and Librarians | ++ |
assertTitle | +Faculty | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Librarians | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
verifyElementPresent | +//a[contains(text(),'Lilly Librarian')] | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateFacultyMember | ||
comment | +Add a Faculty member named Jane Faculty | ++ |
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 | ++ |
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Add Assistant Professor Jane Faculty | ++ |
type | +Name | +Jane Faculty | +
type | +MonikerSelectAlt | +Assistant Professor | +
verifyTextPresent | +Creating New Record | ++ |
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify that account was created | ++ |
verifyTextPresent | +Jane Faculty | ++ |
type | +search | +jane faculty | +
clickAndWait | +submit | ++ |
assertTitle | +jane faculty - VIVO Search Results | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateLibrarian | ||
comment | +Create Librarian person | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to add new individual page | ++ |
select | +VClassURI | +label=Librarian (core) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Individual Editing Form | ++ |
verifyTextPresent | +Creating New Record | ++ |
comment | +Create new indiviidual | ++ |
type | +Name | +Lilly Librarian | +
type | +MonikerSelectAlt | +Assistant Librarian | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify that individual was added sucessfully | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
verifyTextPresent | +Librarian | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
comment | +Search for new librarian | ++ |
type | +search | +lilly librarian | +
clickAndWait | +submit | ++ |
assertTitle | +lilly librarian - VIVO Search Results | ++ |
verifyTextPresent | +Search Results for 'lilly librarian' | ++ |
verifyElementPresent | +link=Lilly Librarian | ++ |
verifyTextPresent | +Lilly Librarian | Assistant Librarian | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestPeople | ||
comment | +Delete new people Jane Faculty and Lilly Librarian | ++ |
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=People | ++ |
assertTitle | +People | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete Jane Faculty | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
comment | +Navigate to Lilly Librarian | ++ |
clickAndWait | +link=Lilly Librarian | ++ |
assertTitle | +Lilly Librarian | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete Lilly Librarian | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Faculty | ++ |
comment | +Verify Jane Faculty and Lilly Librarian are gone | ++ |
verifyTextNotPresent | +Jane Faculty | ++ |
verifyTextNotPresent | +Lilly Librarian | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestTabs | ||
comment | +Delete test Tabs--not a test because this is tested in another suite | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Tab Management | ++ |
clickAndWait | +link=Tab management | ++ |
assertTitle | +Tabs | ++ |
clickAndWait | +link=Faculty | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Edit Tab Details'] | ++ |
assertTitle | +Tab Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this record? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +Tabs | ++ |
clickAndWait | +//div[@id='contentwrap']/div/table/tbody/tr[3]/td[2]/a | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Edit Tab Details'] | ++ |
assertTitle | +Tab Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this record? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +Tabs | ++ |
clickAndWait | +link=Librarians | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Edit Tab Details'] | ++ |
assertTitle | +Tab Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this record? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +Tabs | ++ |
clickAndWait | +link=Academic Staff | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Edit Tab Details'] | ++ |
assertTitle | +Tab Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this record? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +Tabs | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
SearchPeople | ||
comment | +Search for two new people without logging in | ++ |
open | +/vivo/search?querytext=librarian&classgroup=http%3A%2F%2Fvivoweb.org%2Fontology%23vitroClassGrouppeople | ++ |
assertTitle | +librarian - VIVO Search Results | ++ |
clickAndWait | +link=VIVO | ++ |
assertTitle | +VIVO | ++ |
comment | +Search for Jane Faculty's first name only | ++ |
type | +search | +jane | +
clickAndWait | +submit | ++ |
assertTitle | +jane - VIVO Search Results | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Search for Jane Faculty's last name only | ++ |
type | +search | +faculty | +
clickAndWait | +submit | ++ |
assertTitle | +faculty - VIVO Search Results | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Search for Jane Faculty's full name | ++ |
type | +search | +jane faculty | +
clickAndWait | +submit | ++ |
assertTitle | +jane faculty - VIVO Search Results | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Search for Lilly Librarian's first name only | ++ |
type | +search | +lilly | +
clickAndWait | +submit | ++ |
assertTitle | +lilly - VIVO Search Results | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
comment | +Search for Lilly Librarian's last name only | ++ |
type | +search | +librarian | +
clickAndWait | +submit | ++ |
assertTitle | +librarian - VIVO Search Results | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
comment | +Search for Lilly Librarian's full name | ++ |
type | +search | +lilly librarian | +
clickAndWait | +submit | ++ |
assertTitle | +lilly librarian - VIVO Search Results | ++ |
verifyTextPresent | +Lilly Librarian | ++ |
SetupTestTabs | ||
comment | +Setup Tabs for test purposes--this is not really a test | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Tab management | ++ |
assertTitle | +Tabs | ++ |
clickAndWait | +//input[@value='Add new tab'] | ++ |
assertTitle | +Tab Editing Form | ++ |
type | +Title | +People | +
select | +TabtypeId | +label=primary tab | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Add New Tab'] | ++ |
assertTitle | +Tab Editing Form | ++ |
type | +Title | +Faculty | +
select | +TabtypeId | +label=secondary tab | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Add existing tab as parent tab'] | ++ |
assertTitle | +Super/Subtab Editing Form | ++ |
select | +ParentId | +label=People | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Add New Tab'] | ++ |
assertTitle | +Tab Editing Form | ++ |
type | +Title | +Academic Staff | +
select | +TabtypeId | +label=secondary tab | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Add existing tab as parent tab'] | ++ |
assertTitle | +Super/Subtab Editing Form | ++ |
select | +ParentId | +label=People | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Add New Tab'] | ++ |
assertTitle | +Tab Editing Form | ++ |
type | +Title | +Librarians | +
select | +TabtypeId | +label=collection | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +//input[@value='Add existing tab as parent tab'] | ++ |
assertTitle | +Super/Subtab Editing Form | ++ |
select | +ParentId | +label=Faculty | +
clickAndWait | +primaryAction | ++ |
assertTitle | +Tab Control Panel | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
UploadFacultyImage | ||
comment | +Upload image for Jane Faculty | ++ |
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 | ++ |
comment | +Find Jane Faculty via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
verifyTextPresent | +Faculty Member | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +//div[@id='content']/div[1]/h3 | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
verifyTextPresent | +Jane Faculty | ++ |
clickAndWait | +//input[@value='Upload Image'] | ++ |
assertTitle | +Upload Image | ++ |
verifyTextPresent | +Select Image File | ++ |
type | +file1 | +C:\vivo-code\vivo-rc1.0\utilities\acceptance-tests\suites\CreatePeople\Jane1.jpg | +
clickAndWait | +submitMode | ++ |
assertTitle | +Upload Image | ++ |
verifyTextPresent | +Results from processing input file: updated individual Jane Faculty Link to check uploaded image: <Jane1.html> |
+ + |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
comment | +Verify that image is present | ++ |
assertTitle | +Jane Faculty | ++ |
verifyAttribute | +//img[@title='click to view larger image in new window']@src | +/vivo/images/people/Jane1.jpg | +
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |