diff --git a/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoAuthors.html b/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoAuthors.html new file mode 100644 index 00000000..736f9798 --- /dev/null +++ b/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoAuthors.html @@ -0,0 +1,594 @@ + + + +
+ + +CreateTestLibrarian | ||
comment | +Add co-authors to publications | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
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 | ++ |
comment | +Add 1 co-author for book | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Book | ++ |
assertTitle | +Book | ++ |
clickAndWait | +link=exact:Nintendo: Good or Bad for Kids? | ++ |
assertTitle | +exact:Nintendo: Good or Bad for Kids? | ++ |
clickAndWait | +//h3[@id='informationResourceInAuthorship']/a/img | ++ |
assertTitle | +Edit | ++ |
click | +showAddFormButton | ++ |
type | +lastName | +Smith | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
type | +firstName | +Sally | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
comment | +Add 2 co-authors for article | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Academic Article | ++ |
assertTitle | +Academic Article | ++ |
clickAndWait | +link=Why Games Are Important to Child Growth | ++ |
assertTitle | +Why Games Are Important to Child Growth | ++ |
clickAndWait | +//h3[@id='informationResourceInAuthorship']/a/img | ++ |
assertTitle | +Edit | ++ |
click | +showAddFormButton | ++ |
type | +lastName | +Johnson | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
type | +firstName | +Jane | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +link=Return to Publication | ++ |
assertTitle | +Why Games Are Important to Child Growth | ++ |
clickAndWait | +//h3[@id='informationResourceInAuthorship']/a/img | ++ |
assertTitle | +Edit | ++ |
click | +showAddFormButton | ++ |
type | +lastName | +Zink | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
type | +firstName | +Zoe | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
comment | +Add no co-author(s) for chapter | ++ |
comment | +Add no co-author(s) for conference | ++ |
comment | +Verify co-authors reflected properly | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
pause | +5000 | ++ |
verifyTextPresent | +Publications in VIVO | ++ |
verifyTextPresent | +4 in the last 10 full | ++ |
verifyTextPresent | +years | ++ |
verifyElementPresent | +link=Co-Author Network | ++ |
verifyElementPresent | +link=Map Of Science | ++ |
verifyElementNotPresent | +link=Co-Investigator Network | ++ |
clickAndWait | +link=Co-Author Network | ++ |
pause | +5000 | ++ |
assertTitle | +Furter, Frank - Person Level Visualization | ++ |
verifyTextPresent | +Furter, Frank | ++ |
verifyTextPresent | +Co-Author Network | ++ |
verifyTextPresent | +VIVO profile | ++ |
verifyTextPresent | +4 Publication(s) | ++ |
verifyTextPresent | +3 Co-author(s) | ++ |
verifyTextPresent | +2001 First Publication | ++ |
verifyTextPresent | +2009 Last Publication | ++ |
verifyTextPresent | +4 publications | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +3 co-authors | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +Tables | ++ |
verifyTextPresent | +Publications per year | ++ |
verifyTextPresent | +2001 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2003 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2005 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2009 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +Co-authors | ++ |
verifyTextPresent | +Publications with | ++ |
verifyTextPresent | +Furter, Frank | ++ |
verifyTextPresent | +Smith, Sally | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +Johnson, Jane | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +Zink, Zoe | ++ |
verifyTextPresent | +1 | ++ |
comment | +Verify that there are no co-investigators yet | ++ |
clickAndWait | +link=Co-Investigator Network | ++ |
assertTitle | +Person Level Visualization | ++ |
verifyTextPresent | +Currently there are no grants for this investigator in the VIVO database. | ++ |
verifyElementPresent | +link=Co-Author Network | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateTestLibrarian | ||
comment | +Add co-investigators to grants | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
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 | ++ |
comment | +Do not add co-investigators to Games and Kids grant | ++ |
comment | +Do not add co-investigators to Child Development grant | ++ |
comment | +Add 1 co-investigator to Future of Children grant | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Zink, Zoe | ++ |
assertTitle | +Zink, Zoe | ++ |
clickAndWait | +//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img | ++ |
assertTitle | +Edit | ++ |
type | +relatedIndLabel | +Future of | +
click | +ui-active-menuitem | ++ |
type | +startField-year | +2007 | +
type | +endField-year | +2008 | +
clickAndWait | +submit | ++ |
assertTitle | +Zink, Zoe | ++ |
comment | +Add 2 co-investigators to Nix Nintendo grant | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Zink, Zoe | ++ |
assertTitle | +Zink, Zoe | ++ |
clickAndWait | +//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img | ++ |
assertTitle | +Edit | ++ |
type | +relatedIndLabel | +Nix N | +
click | +ui-active-menuitem | ++ |
type | +startField-year | +2010 | +
clickAndWait | +submit | ++ |
assertTitle | +Zink, Zoe | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Johnson, Jane | ++ |
assertTitle | +Johnson, Jane | ++ |
clickAndWait | +//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img | ++ |
assertTitle | +Edit | ++ |
type | +relatedIndLabel | +Nix N | +
click | +ui-active-menuitem | ++ |
type | +startField-year | +2010 | +
clickAndWait | +submit | ++ |
assertTitle | +Johnson, Jane | ++ |
comment | +Verify co-investigator network is correct | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
clickAndWait | +link=Co-Investigator Network | ++ |
pause | +5000 | ++ |
assertTitle | +Furter, Frank - Person Level Visualization | ++ |
verifyTextPresent | +Furter, Frank | ++ |
verifyTextPresent | +Co-Investigator Network | ++ |
verifyTextPresent | +VIVO profile | ++ |
verifyTextPresent | +4 Grant(s) | ++ |
verifyTextPresent | +2 Co-investigator(s) | ++ |
verifyTextPresent | +2002 First Grant | ++ |
verifyTextPresent | +2010 Last Grant | ++ |
verifyTextPresent | +4 grants | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +2 co-investigators | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +Tables | ++ |
verifyTextPresent | +Grants per year | ++ |
verifyTextPresent | +2002 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2006 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2007 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2010 | ++ |
verifyTextPresent | +Co-investigators | ++ |
verifyTextPresent | +Grants with | ++ |
verifyTextPresent | +Furter, Frank | ++ |
verifyTextPresent | +Zink, Zoe | ++ |
verifyTextPresent | +2 | ++ |
verifyTextPresent | +Johnson, Jane | ++ |
verifyTextPresent | +1 | ++ |
comment | +Verify co-author network still o.k. | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
clickAndWait | +link=Co-Author Network | ++ |
pause | +5000 | ++ |
assertTitle | +Furter, Frank - Person Level Visualization | ++ |
verifyTextPresent | +Co-Author Network | ++ |
verifyTextPresent | +4 Publication(s) | ++ |
verifyTextPresent | +3 Co-author(s) | ++ |
verifyTextPresent | +2001 First Publication | ++ |
verifyTextPresent | +2009 Last Publication | ++ |
verifyTextPresent | +4 publications | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +3 co-authors | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +Publications per year | ++ |
verifyTextPresent | +2001 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2003 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2005 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2009 | ++ |
verifyTextPresent | +Co-authors | ++ |
verifyTextPresent | +Publications with | ++ |
verifyTextPresent | +Furter, Frank | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +Zink, Zoe | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +Johnson, Jane | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +Smith, Sally | ++ |
verifyTextPresent | +1 | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddBook | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Add Grants | ++ |
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 | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Add first grant | ++ |
clickAndWait | +//h3[@id='hasPrincipalInvestigatorRole']/a/img | ++ |
assertTitle | +Edit | ++ |
type | +relatedIndLabel | +Games and Kids: The Impact | +
type | +startField-year | +2002 | +
type | +endField-year | +2004 | +
clickAndWait | +submit | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Add second grant | ++ |
clickAndWait | +//h3[@id='hasInvestigatorRole']/a/img | ++ |
assertTitle | +Edit | ++ |
type | +relatedIndLabel | +Childhood Development in the 21st Century | +
type | +startField-year | +2006 | +
clickAndWait | +submit | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Add third grant | ++ |
clickAndWait | +//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img | ++ |
assertTitle | +Edit | ++ |
type | +relatedIndLabel | +Future of Children | +
type | +startField-year | +2007 | +
type | +endField-year | +2008 | +
clickAndWait | +submit | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Add fourth grant | ++ |
clickAndWait | +//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img | ++ |
assertTitle | +Edit | ++ |
type | +relatedIndLabel | +Nix Nintendo? | +
type | +startField-year | +2010 | +
clickAndWait | +submit | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Verify Network Display | ++ |
clickAndWait | +link=Co-Investigator Network | ++ |
pause | +5000 | ++ |
verifyElementPresent | +link=Co-Author Network | ++ |
verifyTextPresent | +Co-Investigator Network | ++ |
verifyTextPresent | +4 Grant(s) | ++ |
verifyTextPresent | +0 Co-investigator(s) | ++ |
verifyTextPresent | +2002 First Grant | ++ |
verifyTextPresent | +2010 Last Grant | ++ |
verifyTextPresent | +4 grants | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +0 co-investigators | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +Tables | ++ |
verifyTextPresent | +Grants per year | ++ |
verifyTextPresent | +2002 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2006 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2007 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2010 | ++ |
verifyTextPresent | +0 co-investigators | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddBook | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Add publications | ++ |
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 | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Add first journal article | ++ |
clickAndWait | +//h3[@id='authorInAuthorship']/a/img | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +id=typeSelector | +label=Academic Article | +
type | +id=relatedIndLabel | +Dying for a Drink | +
clickAndWait | +id=submit | ++ |
assertTitle | +Furter, Frank | ++ |
clickAndWait | +link=Dying for a Drink | ++ |
assertTitle | +Dying for a Drink | ++ |
clickAndWait | +css=a.add-pageStart > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +111 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Dying for a Drink | ++ |
clickAndWait | +css=a.add-pageEnd > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +119 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Dying for a Drink | ++ |
clickAndWait | +css=a.add-dateTimeValue > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +id=dateTimeField-year | +2005 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Dying for a Drink | ++ |
clickAndWait | +css=a.add-volume > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +9 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Dying for a Drink | ++ |
clickAndWait | +css=a.add-issue > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +2 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Dying for a Drink | ++ |
clickAndWait | +css=a.add-hasPublicationVenue > img.add-individual | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +id=submit | ++ |
assertTitle | +Edit | ++ |
type | +id=name | +Alcohol | +
clickAndWait | +id=submit | ++ |
assertTitle | +Dying for a Drink | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Add second journal article | ++ |
clickAndWait | +//h3[@id='authorInAuthorship']/a/img | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +id=typeSelector | +label=Academic Article | +
type | +id=relatedIndLabel | +Alcohol Poisoning Treatment | +
clickAndWait | +id=submit | ++ |
assertTitle | +Furter, Frank | ++ |
clickAndWait | +link=Alcohol Poisoning Treatment | ++ |
assertTitle | +Alcohol Poisoning Treatment | ++ |
clickAndWait | +css=a.add-pageStart > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +222 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Alcohol Poisoning Treatment | ++ |
clickAndWait | +css=a.add-pageEnd > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +229 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Alcohol Poisoning Treatment | ++ |
clickAndWait | +css=a.add-dateTimeValue > img.add-individual | ++ |
assertTitle | +Edit | ++ |
type | +id=dateTimeField-year | +2005 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Alcohol Poisoning Treatment | ++ |
clickAndWait | +css=a.add-volume > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +12 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Alcohol Poisoning Treatment | ++ |
clickAndWait | +css=a.add-issue > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +4 | +
clickAndWait | +id=submit | ++ |
assertTitle | +Alcohol Poisoning Treatment | ++ |
clickAndWait | +css=a.add-hasPublicationVenue > img.add-individual | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +id=submit | ++ |
assertTitle | +Alcohol Poisoning Treatment | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Verify Publications | ++ |
verifyTextPresent | +Publications in VIVO | ++ |
verifyTextPresent | +4 in the last 10 full | ++ |
verifyTextPresent | +years | ++ |
verifyElementPresent | +link=Co-Author Network | ++ |
verifyElementNotPresent | +link=Co-Investigator Network | ++ |
verifyElementPresent | +link=Map Of Science | ++ |
clickAndWait | +link=Co-Author Network | ++ |
pause | +5000 | ++ |
assertTitle | +Furter, Frank - Person Level Visualization | ++ |
verifyTextPresent | +Co-Author Network | ++ |
verifyTextPresent | +4 Publication(s) | ++ |
verifyTextPresent | +0 Co-author(s) | ++ |
verifyTextPresent | +2001 First Publication | ++ |
verifyTextPresent | +2009 Last Publication | ++ |
verifyTextPresent | +4 publications | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +0 co-authors | ++ |
verifyTextPresent | +from 2001 to 2010 | ++ |
verifyTextPresent | +Tables | ++ |
verifyTextPresent | +Publications per year | ++ |
verifyTextPresent | +2001 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2003 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2005 | ++ |
verifyTextPresent | +1 | ++ |
verifyTextPresent | +2009 | ++ |
verifyTextPresent | +1 | ++ |
comment | +Verify there are no co-investigators | ++ |
clickAndWait | +link=Co-Investigator Network | ++ |
assertTitle | +Person Level Visualization | ++ |
verifyTextPresent | +Currently there are no grants for this investigator in the VIVO database. | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddTestFaculty | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +10000000 | ++ |
comment | +Add a faculty member for test purposes | ++ |
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 | +Select to add an Individual of Faculty | ++ |
select | +VClassURI | +label=Faculty Member (vivo) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
assertTitle | +Edit | ++ |
comment | +Enter faculty member name and title | ++ |
type | +firstName | +Frank | +
type | +lastName | +Furter | +
clickAndWait | +submit | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Edit Frank Furter to make him an Associate Professor | ++ |
clickAndWait | +css=a.add-preferredTitle > img.add-individual | ++ |
assertTitle | +Edit | ++ |
waitForElementPresent | +tinymce | ++ |
type | +tinymce | +Associate Professor | +
clickAndWait | +submit | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Verify new faculty member added | ++ |
verifyTextPresent | +Furter, Frank | ++ |
verifyTextPresent | +Associate Professor | ++ |
comment | +Verify Co Networks not showing | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteIndexStuff | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Delete everything left in the index | ++ |
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 | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
comment | +Verify that everything is there to be deleted | ++ |
verifyTextPresent | +activities | ++ |
verifyTextPresent | +events | ++ |
verifyTextPresent | +organizations | ++ |
verifyTextPresent | +research | ++ |
comment | +Delete all activities | ++ |
clickAndWait | +link=Agreement | ++ |
assertTitle | +Agreement | ++ |
clickAndWait | +link=Childhood Development in the 21st Century | ++ |
assertTitle | +Childhood Development in the 21st Century | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Agreement | ++ |
assertTitle | +Agreement | ++ |
clickAndWait | +link=Future of Children | ++ |
assertTitle | +Future of Children | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Agreement | ++ |
assertTitle | +Agreement | ++ |
clickAndWait | +link=Games and Kids: The Impact | ++ |
assertTitle | +Games and Kids: The Impact | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Agreement | ++ |
assertTitle | +Agreement | ++ |
clickAndWait | +link=Nix Nintendo? | ++ |
assertTitle | +Nix Nintendo? | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
comment | +Delete all events | ++ |
clickAndWait | +link=Conference | ++ |
assertTitle | +Conference | ++ |
clickAndWait | +link=Game World 2005 | ++ |
assertTitle | +Game World 2005 | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
comment | +Delete all organizations | ++ |
clickAndWait | +link=Organization | ++ |
assertTitle | +Organization | ++ |
clickAndWait | +link=Putnam | ++ |
assertTitle | +Putnam | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
comment | +Delete all research | ++ |
clickAndWait | +link=Academic Article | ++ |
assertTitle | +Academic Article | ++ |
clickAndWait | +link=Why Games Are Important to Child Growth | ++ |
assertTitle | +Why Games Are Important to Child Growth | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Book | ++ |
assertTitle | +Book | ++ |
clickAndWait | +link=Nintendo: Good or Bad for Kids? | ++ |
assertTitle | +Nintendo: Good or Bad for Kids? | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Chapter | ++ |
assertTitle | +Chapter | ++ |
clickAndWait | +link=Game Wars | ++ |
assertTitle | +Game Wars | ++ |
clickAndWait | +link=Edit this individual | ++ |
clickAndWait | +//input[@value="Edit This Individual"] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Conference Paper | ++ |
assertTitle | +Conference Paper | ++ |
clickAndWait | +link=Games to Promote Growth | ++ |
assertTitle | +Games to Promote Growth | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Organization | ++ |
assertTitle | +Organization | ++ |
clickAndWait | +link=Child Development | ++ |
assertTitle | +Child Development | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Organization | ++ |
assertTitle | +Organization | ++ |
clickAndWait | +link=College of Human Ecology | ++ |
assertTitle | +College of Human Ecology | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Journal | ++ |
assertTitle | +Journal | ++ |
clickAndWait | +link=Childhood Today | ++ |
assertTitle | +Childhood Today | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Verify that everything is gone | ++ |
clickAndWait | +link=Index | ++ |
pause | +5000 | ++ |
refreshAndWait | +10000 | ++ |
verifyTextNotPresent | +activities | ++ |
verifyTextNotPresent | +events | ++ |
verifyTextNotPresent | +organizations | ++ |
verifyTextNotPresent | +research | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestFaculty | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Delete test co-authors/co-investigators | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
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 | ++ |
comment | +Verify people are there to be deleted | ++ |
clickAndWait | +link=Index | ++ |
verifyTextPresent | +people | ++ |
verifyTextPresent | +Person | ++ |
comment | +Delete first person | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Johnson, Jane | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Delete second person | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Smith, Sally | ++ |
assertTitle | +Smith, Sally | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Delete third person | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Person | ++ |
assertTitle | +Person | ++ |
clickAndWait | +link=Zink, Zoe | ++ |
assertTitle | +Zink, Zoe | ++ |
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 individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Verify people are all gone | ++ |
clickAndWait | +link=Index | ++ |
pause | +5000 | ++ |
refreshAndWait | +20000 | ++ |
verifyTextNotPresent | +people | ++ |
verifyTextNotPresent | +Person | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestFaculty | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Delete test faculty members | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
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 | ++ |
comment | +Navigate to index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
comment | +Verify person to be deleted is there | ++ |
verifyTextPresent | +people | ++ |
verifyTextPresent | +Faculty Member | ++ |
verifyTextPresent | +Person | ++ |
comment | +Navigate to faculty member | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
clickAndWait | +link=Edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Delete faculty member | ++ |
clickAndWait | +//input[@value="Edit This Individual"] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this individual? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Verify both faculty members are gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
pause | +5000 | ++ |
refreshAndWait | +20000 | ++ |
verifyTextPresent | +people | ++ |
verifyTextNotPresent | +Faculty Member | ++ |
verifyTextPresent | +Person | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
Test Suite |
AddTestFaculty |
AddPublications |
AddCoAuthors |
AddGrants |
AddCoInvestigators |
DeleteTestFaculty |
DeleteTestCos |
DeleteIndexStuff |