diff --git a/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoInvestigators.html b/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoInvestigators.html deleted file mode 100644 index 18e4a2d6..00000000 --- a/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoInvestigators.html +++ /dev/null @@ -1,679 +0,0 @@ - - - - - - -CreateTestLibrarian - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CreateTestLibrarian
commentAdd co-investigators to grants
deleteAllVisibleCookies
setTimeout100000
open/vivo/
assertTitleVIVO
commentMust be logged off to start
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust login as the site admin
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentDo not add co-investigators to Games and Kids grant
commentDo not add co-investigators to Child Development grant
commentAdd 1 co-investigator to Future of Children grant
clickAndWaitlink=Index
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Zink, Zoe
assertTitleZink, Zoe
clickAndWait//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img
assertTitleEdit
typerelatedIndLabelFuture of
clickui-active-menuitem
typestartField-year2007
typeendField-year2008
clickAndWaitsubmit
assertTitleZink, Zoe
commentAdd 2 co-investigators to Nix Nintendo grant
clickAndWaitlink=Index
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Zink, Zoe
assertTitleZink, Zoe
clickAndWait//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img
assertTitleEdit
typerelatedIndLabelNix N
clickui-active-menuitem
typestartField-year2010
clickAndWaitsubmit
assertTitleZink, Zoe
clickAndWaitlink=Index
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Johnson, Jane
assertTitleJohnson, Jane
clickAndWait//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img
assertTitleEdit
typerelatedIndLabelNix N
clickui-active-menuitem
typestartField-year2010
clickAndWaitsubmit
assertTitleJohnson, Jane
commentVerify co-investigator network is correct
clickAndWaitlink=Index
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Furter, Frank
assertTitleFurter, Frank
clickAndWaitlink=Co-Investigator Network
pause5000
assertTitleFurter, Frank - Person Level Visualization
verifyTextPresentFurter, Frank
verifyTextPresentCo-Investigator Network
verifyTextPresentVIVO profile
verifyTextPresent4   Grant(s)
verifyTextPresent2   Co-investigator(s)
verifyTextPresent2002  First Grant
verifyTextPresent2010   Last Grant
verifyTextPresent4 grants
verifyTextPresentfrom 2001 to 2010
verifyTextPresent2 co-investigators
verifyTextPresentfrom 2001 to 2010
verifyTextPresentTables
verifyTextPresentGrants per year
verifyTextPresent2002
verifyTextPresent1
verifyTextPresent2006
verifyTextPresent1
verifyTextPresent2007
verifyTextPresent1
verifyTextPresent2010
verifyTextPresentCo-investigators
verifyTextPresentGrants with
verifyTextPresentFurter, Frank
verifyTextPresentZink, Zoe
verifyTextPresent2
verifyTextPresentJohnson, Jane
verifyTextPresent1
commentVerify co-author network still o.k.
clickAndWaitlink=Index
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Furter, Frank
assertTitleFurter, Frank
clickAndWaitlink=Co-Author Network
pause5000
assertTitleFurter, Frank - Person Level Visualization
verifyTextPresentCo-Author Network
verifyTextPresent4   Publication(s)
verifyTextPresent3   Co-author(s)
verifyTextPresent2001  First Publication
verifyTextPresent2009   Last Publication
verifyTextPresent4 publications
verifyTextPresentfrom 2001 to 2010
verifyTextPresent3 co-authors
verifyTextPresentfrom 2001 to 2010
verifyTextPresentPublications per year
verifyTextPresent2001
verifyTextPresent1
verifyTextPresent2003
verifyTextPresent1
verifyTextPresent2005
verifyTextPresent1
verifyTextPresent2009
verifyTextPresentCo-authors
verifyTextPresentPublications with
verifyTextPresentFurter, Frank
verifyTextPresent1
verifyTextPresentZink, Zoe
verifyTextPresent1
verifyTextPresentJohnson, Jane
verifyTextPresent1
verifyTextPresentSmith, Sally
verifyTextPresent1
commentLogout
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
- - diff --git a/utilities/acceptance-tests/suites/CheckMapOfScience/AddGrants.html b/utilities/acceptance-tests/suites/CheckMapOfScience/AddGrants.html deleted file mode 100644 index 20d0ad8b..00000000 --- a/utilities/acceptance-tests/suites/CheckMapOfScience/AddGrants.html +++ /dev/null @@ -1,414 +0,0 @@ - - - - - - -AddBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AddBook
deleteAllVisibleCookies
setTimeout100000
commentAdd Grants
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust login as site admin
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentNavigate to Frank Furter
clickAndWaitlink=Index
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Furter, Frank
assertTitleFurter, Frank
commentAdd first grant
clickAndWait//h3[@id='hasPrincipalInvestigatorRole']/a/img
assertTitleEdit
typerelatedIndLabelGames and Kids: The Impact
typestartField-year2002
typeendField-year2004
clickAndWaitsubmit
assertTitleFurter, Frank
commentAdd second grant
clickAndWait//h3[@id='hasInvestigatorRole']/a/img
assertTitleEdit
typerelatedIndLabelChildhood Development in the 21st Century
typestartField-year2006
clickAndWaitsubmit
assertTitleFurter, Frank
commentAdd third grant
clickAndWait//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img
assertTitleEdit
typerelatedIndLabelFuture of Children
typestartField-year2007
typeendField-year2008
clickAndWaitsubmit
assertTitleFurter, Frank
commentAdd fourth grant
clickAndWait//h3[@id='hasCo-PrincipalInvestigatorRole']/a/img
assertTitleEdit
typerelatedIndLabelNix Nintendo?
typestartField-year2010
clickAndWaitsubmit
assertTitleFurter, Frank
commentVerify Network Display
clickAndWaitlink=Co-Investigator Network
pause5000
verifyElementPresentlink=Co-Author Network
verifyTextPresentCo-Investigator Network
verifyTextPresent4   Grant(s)
verifyTextPresent0   Co-investigator(s)
verifyTextPresent2002  First Grant
verifyTextPresent2010   Last Grant
verifyTextPresent4 grants
verifyTextPresentfrom 2001 to 2010
verifyTextPresent0 co-investigators
verifyTextPresentfrom 2001 to 2010
verifyTextPresentTables
verifyTextPresentGrants per year
verifyTextPresent2002
verifyTextPresent1
verifyTextPresent2006
verifyTextPresent1
verifyTextPresent2007
verifyTextPresent1
verifyTextPresent2010
verifyTextPresent0 co-investigators
verifyTextPresentfrom 2001 to 2010
commentLog out
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
- - diff --git a/utilities/acceptance-tests/suites/CheckMapOfScience/AddPublications.html b/utilities/acceptance-tests/suites/CheckMapOfScience/AddPublications.html index 879363da..1b47c728 100644 --- a/utilities/acceptance-tests/suites/CheckMapOfScience/AddPublications.html +++ b/utilities/acceptance-tests/suites/CheckMapOfScience/AddPublications.html @@ -41,7 +41,7 @@ comment - Add publications + Add academic articles included in Map of Science @@ -634,6 +634,536 @@ Furter, Frank + + comment + Add third 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 + What should I drink? + + + clickAndWait + id=submit + + + + assertTitle + Furter, Frank + + + + clickAndWait + link=What should I drink? + + + + assertTitle + What should I drink? + + + + clickAndWait + css=a.add-pageStart > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 345 + + + clickAndWait + id=submit + + + + assertTitle + What should I drink? + + + + clickAndWait + css=a.add-pageEnd > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 367 + + + clickAndWait + id=submit + + + + assertTitle + What should I drink? + + + + clickAndWait + css=a.add-dateTimeValue > img.add-individual + + + + assertTitle + Edit + + + + type + id=dateTimeField-year + 2007 + + + clickAndWait + id=submit + + + + assertTitle + What should I drink? + + + + clickAndWait + css=a.add-volume > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 55 + + + clickAndWait + id=submit + + + + assertTitle + What should I drink? + + + + clickAndWait + css=a.add-issue > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 1 + + + clickAndWait + id=submit + + + + assertTitle + What should I drink? + + + + clickAndWait + css=a.add-hasPublicationVenue > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + //input[@id='submit' and @value='Add a new item of this type'] + + + + assertTitle + Edit + + + + type + id=name + Alcohol And Alcoholism + + + clickAndWait + id=submit + + + + assertTitle + What should I 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 fourth 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 + Latest Alcohol Research + + + clickAndWait + id=submit + + + + assertTitle + Furter, Frank + + + + clickAndWait + link=Latest Alcohol Research + + + + assertTitle + Latest Alcohol Research + + + + clickAndWait + css=a.add-pageStart > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 990 + + + clickAndWait + id=submit + + + + assertTitle + Latest Alcohol Research + + + + clickAndWait + css=a.add-pageEnd > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 994 + + + clickAndWait + id=submit + + + + assertTitle + Latest Alcohol Research + + + + clickAndWait + css=a.add-dateTimeValue > img.add-individual + + + + assertTitle + Edit + + + + type + id=dateTimeField-year + 2009 + + + clickAndWait + id=submit + + + + assertTitle + Latest Alcohol Research + + + + clickAndWait + css=a.add-volume > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 23 + + + clickAndWait + id=submit + + + + assertTitle + Latest Alcohol Research + + + + clickAndWait + css=a.add-issue > img.add-individual + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 4 + + + clickAndWait + id=submit + + + + assertTitle + Latest Alcohol Research + + + + clickAndWait + css=a.add-hasPublicationVenue > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + //input[@id='submit' and @value='Add a new item of this type'] + + + + assertTitle + Edit + + + + type + id=name + ALCOHOL RESEARCH & HEALTH + + + clickAndWait + id=submit + + + + assertTitle + Latest Alcohol Research + + + + 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 @@ -641,162 +1171,162 @@ verifyTextPresent - Publications in VIVO - - - - verifyTextPresent - 4 in the last 10 full - - - - verifyTextPresent - years + Latest Alcohol Research.  ALCOHOL RESEARCH & HEALTH.  23:990-994. 2009 verifyElementPresent - link=Co-Author Network + link=Latest Alcohol Research - verifyElementNotPresent - link=Co-Investigator Network + verifyTextPresent + What should I drink?.  Alcohol And Alcoholism.  55:345-367. 2007 verifyElementPresent - link=Map Of Science - - - - clickAndWait - link=Co-Author Network - - - - pause - 5000 - - - - assertTitle - Furter, Frank - Person Level Visualization + link=exact:What should I drink? verifyTextPresent - Co-Author Network + Alcohol Poisoning Treatment.  Alcohol.  12:222-229. 2005 + + + + verifyElementPresent + link=Alcohol Poisoning Treatment verifyTextPresent - 4   Publication(s) + Dying for a Drink.  Alcohol.  9:111-119. 2005 - 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 + verifyElementPresent + link=Dying for a Drink comment - Verify there are no co-investigators + Check Map of Science clickAndWait - link=Co-Investigator Network + link=Map Of Science + + + + waitForTextPresent + Explore activity assertTitle - Person Level Visualization + Furter, Frank - Map of Science Visualization verifyTextPresent - Currently there are no grants for this investigator in the VIVO database. + Furter, Frank + + + + verifyTextPresent + Explore activity (4 publications) across 554 scientific subdisciplines + + + + verifyTextPresent + 554 Subdisciplines + + + + verifyTextPresent + 13 Disciplines + + + + verifyTextPresent + Neurotoxicology + + + + verifyTextPresent + 4.0 + + + + verifyTextPresent + 100.0 + + + + verifyTextPresent + mapped 100.00% of 4 publications + + + + comment + Check 13 Disciplines + + + + click + id=second-filter + + + + verifyTextPresent + Brain Research + + + + verifyTextPresent + 4.0 + + + + click + //tr[@id='DISCIPLINE-5']/td[3] + + + + verifyTextPresent + 100.0 + + + + comment + Back to 554 Subdisciplines + + + + click + id=first-filter + + + + click + css=td..sorting_2 + + + + verifyTextPresent + Neurotoxicology + + + + verifyTextPresent + 4.0 + + + + verifyTextPresent + 100.0 diff --git a/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoAuthors.html b/utilities/acceptance-tests/suites/CheckMapOfScience/AddPublications2.html similarity index 60% rename from utilities/acceptance-tests/suites/CheckMapOfScience/AddCoAuthors.html rename to utilities/acceptance-tests/suites/CheckMapOfScience/AddPublications2.html index 736f9798..02e6916d 100644 --- a/utilities/acceptance-tests/suites/CheckMapOfScience/AddCoAuthors.html +++ b/utilities/acceptance-tests/suites/CheckMapOfScience/AddPublications2.html @@ -4,7 +4,7 @@ -CreateTestLibrarian +AddBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DeleteTestFaculty
deleteAllVisibleCookies
setTimeout100000
commentDelete test co-authors/co-investigators
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust log in as site admin
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentVerify people are there to be deleted
clickAndWaitlink=Index
verifyTextPresentpeople
verifyTextPresentPerson
commentDelete first person
clickAndWaitlink=Index
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Johnson, Jane
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 individual? If in doubt, CANCEL.
waitForPageToLoad10000
assertTitleVIVO Site Administration
commentDelete second person
clickAndWaitlink=Index
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Smith, Sally
assertTitleSmith, Sally
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 individual? If in doubt, CANCEL.
waitForPageToLoad10000
assertTitleVIVO Site Administration
commentDelete third person
clickAndWaitlink=Index
clickAndWaitlink=Person
assertTitlePerson
clickAndWaitlink=Zink, Zoe
assertTitleZink, Zoe
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 individual? If in doubt, CANCEL.
waitForPageToLoad10000
assertTitleVIVO Site Administration
commentVerify people are all gone
clickAndWaitlink=Index
pause5000
refreshAndWait20000
verifyTextNotPresentpeople
verifyTextNotPresentPerson
commentLogout
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
- - diff --git a/utilities/acceptance-tests/suites/CheckMapOfScience/DeleteTestFaculty.html b/utilities/acceptance-tests/suites/CheckMapOfScience/DeleteTestFaculty.html index 228d7e14..07d544be 100644 --- a/utilities/acceptance-tests/suites/CheckMapOfScience/DeleteTestFaculty.html +++ b/utilities/acceptance-tests/suites/CheckMapOfScience/DeleteTestFaculty.html @@ -220,7 +220,7 @@ - verifyTextPresent + verifyTextNotPresent people @@ -230,7 +230,7 @@ - verifyTextPresent + verifyTextNotPresent Person diff --git a/utilities/acceptance-tests/suites/CheckMapOfScience/Suite.html b/utilities/acceptance-tests/suites/CheckMapOfScience/Suite.html index f1ae06a6..a8ec6634 100644 --- a/utilities/acceptance-tests/suites/CheckMapOfScience/Suite.html +++ b/utilities/acceptance-tests/suites/CheckMapOfScience/Suite.html @@ -11,11 +11,8 @@ RebuildSearchIndex AddTestFaculty AddPublications -AddCoAuthors -AddGrants -AddCoInvestigators +AddPublications2 DeleteTestFaculty -DeleteTestCos DeleteIndexStuff