diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/AddCoAuthors.html b/utilities/acceptance-tests/suites/CheckVisualizations/AddCoAuthors.html index b589f51e..91f986a9 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/AddCoAuthors.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/AddCoAuthors.html @@ -100,18 +100,68 @@ - verifyTextPresent - Data Input + comment + Add 1 co-author for book - select - VClassURI - label=Librarian (core) + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + clickAndWait - //input[@value='Add individual of this class'] + link=Book + + + + assertTitle + Book + + + + clickAndWait + link=exact:Nintendo: Good or Bad for Kids? + + + + assertTitle + exact:Nintendo: Good or Bad for Kids? + + + + clickAndWait + //h3[@id='authors']/a/img + + + + assertTitle + Edit + + + + click + showAddFormButton + + + + type + lastName + Smith + + + type + firstName + Sally + + + clickAndWait + submit @@ -121,82 +171,277 @@ comment - Add Lily Librarian + Add 2 co-authors for article + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + 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='authors']/a/img + + + + assertTitle + Edit + + + + click + showAddFormButton - - type - firstName - Lily - type lastName - Librarian + Johnson clickAndWait submit - - comment - Edit Lily Librarian to add title - - assertTitle - Librarian, Lily - - - - clickAndWait - link=edit this individual - - - - assertTitle - Individual Control Panel - - - - clickAndWait - //input[@value='Edit This Individual'] - - - - assertTitle - Individual Editing Form + Edit type - MonikerSelectAlt - Associate Librarian + firstName + Jane clickAndWait - primaryAction + submit assertTitle - Individual Control Panel + Edit + + + + click + showAddFormButton + + + + type + lastName + Zink + + + type + firstName + Zoe + + + clickAndWait + submit + + + + assertTitle + Edit comment - Verify that account was created + Add no co-author(s) for chapter + + + + comment + Add no co-author(s) for conference + + + + comment + Verify co-authors reflected properly + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Faculty Member + + + + assertTitle + Faculty Member + + + + clickAndWait + link=Furter, Frank + + + + assertTitle + Furter, Frank + + + + verifyElementPresent + link=Co-Author Network + + + + verifyElementPresent + link=Co-Investigator Network + + + + clickAndWait + link=Co-Author Network + + + + assertTitle + Furter, Frank - Person Level Visualization verifyTextPresent - Librarian, Lily + Furter, Frank verifyTextPresent - Associate Librarian + Associate Professor + + + + verifyTextPresent + VIVO profile | Co-author network + + + + verifyTextPresent + 4   Joint Publication(s) + + + + verifyTextPresent + 3   Joint Co-author(s) + + + + verifyTextPresent + Publications per year + + + + verifyTextPresent + 2001 1 + + + + verifyTextPresent + 2003 1 + + + + verifyTextPresent + 2005 1 + + + + verifyTextPresent + 2009 1 + + + + verifyTextPresent + Co-authors + + + + 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 + + + + verifyElementPresent + no_coinvestigations diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/AddCoInvestigators.html b/utilities/acceptance-tests/suites/CheckVisualizations/AddCoInvestigators.html index b589f51e..fe52a3b8 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/AddCoInvestigators.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/AddCoInvestigators.html @@ -89,29 +89,54 @@ VIVO + + 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=Site Admin + link=Index assertTitle - VIVO Site Administration + Index to VIVO Contents - - verifyTextPresent - Data Input - - - - select - VClassURI - label=Librarian (core) - clickAndWait - //input[@value='Add individual of this class'] + link=Person + + + + assertTitle + Person + + + + clickAndWait + link=Zink, Zoe + + + + assertTitle + Zink, Zoe + + + + clickAndWait + //h3[@id='co-principalInvestigatorOn']/a/img @@ -120,83 +145,358 @@ - comment - Add Lily Librarian + type + relatedIndLabel + Future + + + click + ui-active-menuitem type - firstName - Lily + startYear + 2007 type - lastName - Librarian + endYear + 2008 clickAndWait submit + + assertTitle + Zink, Zoe + + comment - Edit Lily Librarian to add title - - - - assertTitle - Librarian, Lily + Add 2 co-investigators to Nix Nintendo grant clickAndWait - link=edit this individual + link=Index assertTitle - Individual Control Panel + Index to VIVO Contents clickAndWait - //input[@value='Edit This Individual'] + link=Person assertTitle - Individual Editing Form + Person + + + + clickAndWait + link=Zink, Zoe + + + + assertTitle + Zink, Zoe + + + + clickAndWait + //h3[@id='co-principalInvestigatorOn']/a/img + + + + assertTitle + Edit type - MonikerSelectAlt - Associate Librarian + relatedIndLabel + Nix + + + click + ui-active-menuitem + + + + type + startYear + 2010 clickAndWait - primaryAction + submit assertTitle - Individual Control Panel + Zink, Zoe + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Person + + + + assertTitle + Person + + + + clickAndWait + link=Johnson, Jane + + + + assertTitle + Johnson, Jane + + + + clickAndWait + //h3[@id='co-principalInvestigatorOn']/a/img + + + + assertTitle + Edit + + + + type + relatedIndLabel + Nix + + + click + ui-active-menuitem + + + + type + startYear + 2010 + + + clickAndWait + submit + + + + assertTitle + Johnson, Jane comment - Verify that account was created + Verify co-investigator network is correct + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Faculty Member + + + + assertTitle + Faculty Member + + + + clickAndWait + link=Furter, Frank + + + + assertTitle + Furter, Frank + + + + clickAndWait + link=Co-Investigator Network + + + + assertTitle + Furter, Frank - Person Level Visualization verifyTextPresent - Librarian, Lily + Furter, Frank verifyTextPresent - Associate Librarian + Associate Professor + + + + verifyTextPresent + VIVO profile | Co-investigator network + + + + verifyTextPresent + 3   Joint Grant(s) + + + + verifyTextPresent + 2   Joint Co-investigator(s) + + + + verifyTextPresent + 3 grant(s)
from 2002 to 2011 + + + + verifyTextPresent + 2 co-investigator(s)
from 2002 to 2011 + + + + verifyTextPresent + Grants per year + + + + verifyTextPresent + Co-investigator + + + + verifyTextPresent + Zink, Zoe + + + + verifyTextPresent + 2 + + + + verifyTextPresent + Johnson, Jane + + + + verifyTextPresent + 1 + + + + comment + Verify co-auther network still o.k. + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Faculty Member + + + + assertTitle + Faculty Member + + + + clickAndWait + link=Furter, Frank + + + + assertTitle + Furter, Frank + + + + clickAndWait + link=Co-Author Network + + + + assertTitle + Furter, Frank - Person Level Visualization + + + + verifyTextPresent + 4   Joint Publication(s) + + + + verifyTextPresent + 3   Joint Co-author(s) + + + + verifyTextPresent + 4 publications
from 2002 to 2011 + + + + verifyTextPresent + 3 co-author(s)
from 2002 to 2011 + + + + verifyTextPresent + Zink, Zoe + + + + verifyTextPresent + Johnson, Jane + + + + verifyTextPresent + Smith, Sally diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/AddGrants.html b/utilities/acceptance-tests/suites/CheckVisualizations/AddGrants.html index c3fba1d7..a5a17d76 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/AddGrants.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/AddGrants.html @@ -41,7 +41,7 @@ comment - Add Book + Add Grants @@ -131,12 +131,12 @@ comment - Add a book + Add first grant clickAndWait - //div[@id='wrapper-content']/section[4]/article[1]/h3/a/img + //h3[@id='principalInvestigatorOn']/a/img @@ -144,30 +144,20 @@ Edit - - verifyTextPresent - Create publication entry for Furter, Frank - - - - verifyTextPresent - Publication Type - - - - select - typeSelector - label=Book - - - verifyTextPresent - Title - - type relatedIndLabel - Nintendo: Good or Bad for Kids? + Games and Kids: The Impact + + + type + startYear + 2002 + + + type + endYear + 2004 clickAndWait @@ -179,174 +169,14 @@ Furter, Frank - - verifyTextPresent - book - - - - verifyElementPresent - link=Nintendo: Good or Bad for Kids? - - - - verifyTextPresent - Nintendo: Good or Bad for Kids? - - - - clickAndWait - link=Nintendo: Good or Bad for Kids? - - - - assertTitle - Nintendo: Good or Bad for Kids? - - - - clickAndWait - //div[@id='wrapper-content']/section[6]/article[7]/h3/a/img - - - - assertTitle - Edit - - - - select - typeOfNew - label=Publisher (core) - - - clickAndWait - submit - - - - assertTitle - Edit - - - - type - name - Putnam - - - clickAndWait - submit - - - - assertTitle - exact:Nintendo: Good or Bad for Kids? - - - - clickAndWait - //div[@id='wrapper-content']/section[6]/article[8]/h3/a/img - - - - assertTitle - Edit - - - - type - tinymce - New York - - - clickAndWait - submit - - - - assertTitle - exact:Nintendo: Good or Bad for Kids? - - - - clickAndWait - //div[@id='wrapper-content']/section[4]/article/h3/a/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='add a new item to this list'] - - - - assertTitle - Edit - - - - type - name - 2009 - - - clickAndWait - submit - - - - assertTitle - exact:Nintendo: Good or Bad for Kids? - - comment - Navigate to Frank Furter + Add second grant clickAndWait - link=Index - - - - assertTitle - Index to VIVO Contents - - - - clickAndWait - link=Faculty Member - - - - assertTitle - Faculty Member - - - - clickAndWait - link=Furter, Frank - - - - assertTitle - Furter, Frank - - - - comment - Add an Article - - - - clickAndWait - //h3[@id='selectedPublications']/a/img + //h3[@id='investigatorOn']/a/img @@ -354,20 +184,15 @@ Edit - - select - typeSelector - label=Academic Article - - - click - //form[@id='addPublicationForm']/div/p/label - - type relatedIndLabel - Why Games Are Important to Child Growth + Childhood Development in the 21st Century + + + type + startYear + 2006 clickAndWait @@ -379,194 +204,14 @@ Furter, Frank - - clickAndWait - link=Why Games Are Important to Child Growth - - - - assertTitle - Why Games Are Important to Child Growth - - - - clickAndWait - //h3[@id='issue']/a/img - - - - assertTitle - Edit - - - - assertTitle - Why Games Are Important to Child Growth - - - - clickAndWait - //h3[@id='startPage']/a/img - - - - assertTitle - Edit - - - - type - tinymce - 111 - - - clickAndWait - submit - - - - assertTitle - Why Games Are Important to Child Growth - - - - clickAndWait - //h3[@id='endPage']/a/img - - - - assertTitle - Edit - - - - type - tinymce - 222 - - - clickAndWait - submit - - - - assertTitle - Why Games Are Important to Child Growth - - - - clickAndWait - //h3[@id='publishedIn']/a/img - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Edit - - - - type - name - Childhood Today - - - clickAndWait - submit - - - - assertTitle - Why Games Are Important to Child Growth - - - - clickAndWait - //h3[@id='date/timeValue']/a/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='add a new item to this list'] - - - - assertTitle - Edit - - - - type - name - 2001 - - - clickAndWait - submit - - - - assertTitle - Why Games Are Important to Child Growth - - comment - Navigate to Frank Furter + Add third grant clickAndWait - link=Index - - - - assertTitle - Index to VIVO Contents - - - - clickAndWait - link=Faculty Member - - - - assertTitle - Faculty Member - - - - clickAndWait - link=Furter, Frank - - - - assertTitle - Furter, Frank - - - - comment - Add a Chapter - - - - clickAndWait - //h3[@id='selectedPublications']/a/img + //h3[@id='co-principalInvestigatorOn']/a/img @@ -574,15 +219,20 @@ Edit - - select - typeSelector - label=Chapter - type relatedIndLabel - Game Wars + Future of Children + + + type + startYear + 2007 + + + type + endYear + 2008 clickAndWait @@ -594,159 +244,14 @@ Furter, Frank - - clickAndWait - link=Game Wars - - - - assertTitle - Game Wars - - - - clickAndWait - //h3[@id='startPage']/a/img - - - - assertTitle - Edit - - - - type - tinymce - 333 - - - clickAndWait - submit - - - - assertTitle - Game Wars - - - - clickAndWait - //h3[@id='endPage']/a/img - - - - assertTitle - Edit - - - - type - tinymce - 444 - - - clickAndWait - submit - - - - assertTitle - Game Wars - - - - clickAndWait - //h3[@id='publishedIn']/a/img - - - - assertTitle - Edit - - - - assertTitle - Game Wars - - - - clickAndWait - //h3[@id='date/timeValue']/a/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='add a new item to this list'] - - - - assertTitle - Edit - - - - type - name - 2003 - - - clickAndWait - submit - - - - assertTitle - Game Wars - - comment - Navigate to Frank Furter + Add fourth grant clickAndWait - link=Index - - - - assertTitle - Index to VIVO Contents - - - - clickAndWait - link=Faculty Member - - - - assertTitle - Faculty Member - - - - clickAndWait - link=Furter, Frank - - - - assertTitle - Furter, Frank - - - - comment - Add a Conference - - - - clickAndWait - //h3[@id='selectedPublications']/a/img + //h3[@id='co-principalInvestigatorOn']/a/img @@ -754,15 +259,15 @@ Edit - - select - typeSelector - label=Conference Paper - type relatedIndLabel - Games to Promote Growth + Nix Nintendo? + + + type + startYear + 2010 clickAndWait @@ -774,156 +279,16 @@ Furter, Frank - - clickAndWait - link=Games to Promote Growth - - - - assertTitle - Games to Promote Growth - - - - clickAndWait - //h3[@id='presentedAt']/a/img - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Edit - - - - type - name - Game World 2005 - - - clickAndWait - submit - - - - assertTitle - Games to Promote Growth - - - - clickAndWait - //h3[@id='date/timeValue']/a/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='add a new item to this list'] - - - - assertTitle - Edit - - - - type - name - 2005 - - - clickAndWait - submit - - - - assertTitle - Games to Promote Growth - - comment - Navigate to Frank Furter + Verify Network Display clickAndWait - link=Index - - - - assertTitle - Index to VIVO Contents - - - - clickAndWait - link=Faculty Member - - - - assertTitle - Faculty Member - - - - clickAndWait - link=Furter, Frank - - - - assertTitle - Furter, Frank - - - - comment - Verify Publication and Network Display - - - - verifyTextPresent - 4 publications
within the last 10 years - - - - verifyTextPresent -
Co-Author Network - - - - verifyTextPresent - Co-Investigator Network - - - - verifyElementPresent - link=Co-Author Network - - - - verifyElementPresent link=Co-Investigator Network - - clickAndWait - link=Co-Author Network - - assertTitle Furter, Frank - Person Level Visualization @@ -931,42 +296,12 @@ verifyTextPresent - 0   Joint Publication(s) + 0   Joint Grant(s) verifyTextPresent - 0   Joint Co-author(s) - - - - verifyTextPresent - 4 publications
from 2002 to 2011 - - - - verifyTextPresent - Publications per year - - - - verifyTextPresent - 2001 1 - - - - verifyTextPresent - 2003 1 - - - - verifyTextPresent - 2005 1 - - - - verifyTextPresent - 2009 1 + 0   Joint Co-investigator(s) diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/AddPublications.html b/utilities/acceptance-tests/suites/CheckVisualizations/AddPublications.html index c3fba1d7..ef32541a 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/AddPublications.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/AddPublications.html @@ -41,7 +41,7 @@ comment - Add Book + Add publications @@ -389,21 +389,6 @@ Why Games Are Important to Child Growth - - clickAndWait - //h3[@id='issue']/a/img - - - - assertTitle - Edit - - - - assertTitle - Why Games Are Important to Child Growth - - clickAndWait //h3[@id='startPage']/a/img @@ -654,21 +639,6 @@ Game Wars - - clickAndWait - //h3[@id='publishedIn']/a/img - - - - assertTitle - Edit - - - - assertTitle - Game Wars - - clickAndWait //h3[@id='date/timeValue']/a/img @@ -894,16 +864,6 @@ Verify Publication and Network Display - - verifyTextPresent - 4 publications
within the last 10 years - - - - verifyTextPresent -
Co-Author Network - - verifyTextPresent Co-Investigator Network @@ -939,11 +899,6 @@ 0   Joint Co-author(s) - - verifyTextPresent - 4 publications
from 2002 to 2011 - - verifyTextPresent Publications per year @@ -969,6 +924,26 @@ 2009 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 diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/DeleteIndexStuff.html b/utilities/acceptance-tests/suites/CheckVisualizations/DeleteIndexStuff.html index 498bc322..d3bc4eb3 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/DeleteIndexStuff.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/DeleteIndexStuff.html @@ -111,12 +111,12 @@ comment - Verify that everything else is still there + Verify that everything is there to be deleted verifyTextPresent - research + activities @@ -129,29 +129,34 @@ organizations + + verifyTextPresent + research + + comment - Delete other stuff + Delete all activities clickAndWait - link=Subject Area + link=Agreement assertTitle - Subject Area + Agreement clickAndWait - link=Child Development + link=Childhood Development in the 21st Century assertTitle - Child Development + Childhood Development in the 21st Century @@ -204,6 +209,296 @@ Index to VIVO Contents + + 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 entity? If in doubt, CANCEL. + + + + pause + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + 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 entity? If in doubt, CANCEL. + + + + pause + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Agreement + + + + assertTitle + Agreement + + + + clickAndWait + link=exact:Nix Nintendo? + + + + assertTitle + exact: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 entity? If in doubt, CANCEL. + + + + pause + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + 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 entity? If in doubt, CANCEL. + + + + pause + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + comment + Delete all organizations + + clickAndWait link=Organization @@ -275,23 +570,28 @@ - clickAndWait - link=Organization - - - - assertTitle - Organization + comment + Delete all research clickAndWait - link=Marcel Dekker + link=Academic Article assertTitle - Marcel Dekker + Academic Article + + + + clickAndWait + link=Why Games Are Important to Child Growth + + + + assertTitle + Why Games Are Important to Child Growth @@ -325,8 +625,8 @@ - pause - 5000 + assertTitle + VIVO Site Administration @@ -341,22 +641,22 @@ clickAndWait - link=Conference + link=Book assertTitle - Conference + Book clickAndWait - link=Games and Child Development + link=exact:Nintendo: Good or Bad for Kids? assertTitle - Games and Child Development + exact:Nintendo: Good or Bad for Kids? @@ -390,8 +690,198 @@ - pause - 5000 + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Chapter + + + + assertTitle + Chapter + + + + clickAndWait + link=Game Wars + + + + assertTitle + Game Wars + + + + 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. + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + 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 entity? If in doubt, CANCEL. + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + 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 entity? If in doubt, CANCEL. @@ -471,7 +961,7 @@ verifyTextNotPresent - topics + activities @@ -484,6 +974,11 @@ organizations + + verifyTextNotPresent + research + + comment Log out diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestCos.html b/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestCos.html index ad206024..78573e01 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestCos.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestCos.html @@ -41,7 +41,7 @@ comment - Delete test faculty members + Delete test co-authors/co-investigators @@ -96,7 +96,7 @@ comment - Navigate to index + Verify people are there to be deleted @@ -109,21 +109,11 @@ Index to VIVO Contents - - comment - Verify both people to be deleted are there - - verifyTextPresent people - - verifyTextPresent - Faculty Member - - verifyTextPresent Person @@ -131,77 +121,7 @@ comment - Navigate to first 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 - - - - clickAndWait - //input[@value='Edit This Individual'] - - - - assertTitle - Individual Editing Form - - - - comment - Delete first faculty member - - - - click - _delete - - - - assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. - - - - waitForPageToLoad - 5000 - - - - assertTitle - VIVO Site Administration - - - - comment - Navigate to second faculty member + Delete first person @@ -216,22 +136,22 @@ clickAndWait - link=Faculty Member + link=Person assertTitle - Faculty Member + Person clickAndWait - link=Sunny Sony + link=Johnson, Jane assertTitle - Sunny Sony + Johnson, Jane @@ -254,11 +174,6 @@ Individual Editing Form - - comment - Delete second faculty member - - click _delete @@ -281,7 +196,157 @@ comment - Verify both faculty members are gone + Delete second person + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + 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 entity? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + comment + Delete third person + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + 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 entity? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + comment + Verify people are all gone @@ -404,11 +469,6 @@ people - - verifyTextNotPresent - Faculty Member - - verifyTextNotPresent Person diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestFaculty.html b/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestFaculty.html index ad206024..6595318f 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestFaculty.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/DeleteTestFaculty.html @@ -111,7 +111,7 @@ comment - Verify both people to be deleted are there + Verify person to be deleted is there @@ -131,7 +131,7 @@ comment - Navigate to first faculty member + Navigate to faculty member @@ -176,87 +176,7 @@ comment - Delete first faculty member - - - - click - _delete - - - - assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. - - - - waitForPageToLoad - 5000 - - - - assertTitle - VIVO Site Administration - - - - comment - Navigate to second faculty member - - - - clickAndWait - link=Index - - - - assertTitle - Index to VIVO Contents - - - - clickAndWait - link=Faculty Member - - - - assertTitle - Faculty Member - - - - clickAndWait - link=Sunny Sony - - - - assertTitle - Sunny Sony - - - - clickAndWait - link=edit this individual - - - - assertTitle - Individual Control Panel - - - - clickAndWait - //input[@value='Edit This Individual'] - - - - assertTitle - Individual Editing Form - - - - comment - Delete second faculty member + Delete faculty member @@ -400,7 +320,7 @@ - verifyTextNotPresent + verifyTextPresent people @@ -410,7 +330,7 @@ - verifyTextNotPresent + verifyTextPresent Person diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/Suite.html b/utilities/acceptance-tests/suites/CheckVisualizations/Suite.html index 0a30e86e..f9de22e1 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/Suite.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/Suite.html @@ -10,13 +10,11 @@ Test Suite SetDefaultTheme AddTestFaculty -AddTestLibrarian AddPublications AddCoAuthors -AddGrants +AddGrants AddCoInvestigators DeleteTestFaculty -DeleteTestLibrarian DeleteTestCos DeleteIndexStuff