diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateActivity.html b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateActivity.html index 8f30b4c9..5e61d975 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateActivity.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateActivity.html @@ -478,7 +478,7 @@ verifyTextPresent - Add new entry for: local award id + Add new entry for: local award ID @@ -587,7 +587,93 @@ Primate Elderly Care + + + clickAndWait + css=a.add-BFO_0000051 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Habitat Research Grant + + + clickAndWait + id=submit + + + + assertTitle + Primate Elderly Care + + + + clickAndWait + css=a.add-BFO_0000050 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Survival Planning Grant + + + clickAndWait + id=submit + + + + assertTitle + Primate Elderly Care + + + + clickAndWait + css=a.add-supportedInformationResource + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Info + + + clickAndWait + id=submit + + + + assertTitle + Primate Elderly Care + + + + verifyTextPresent + Primate Elderly Care + + + + verifyTextPresent + Grant + + verifyTextPresent Purpose of grant is to determine the appropriate environment, physical activity, and diet for primates as they age. @@ -603,6 +689,11 @@ link=Elderly Care + + verifyElementPresent + link=Primate Research Laboratory + + verifyElementPresent link=Primate Colleges of the World @@ -625,7 +716,12 @@ verifyElementPresent - link=Primate Health Check + link=Primate Habitat Research Grant + + + + verifyElementPresent + link=Primate Survival Planning Grant @@ -653,6 +749,11 @@ P999-1234 + + verifyElementPresent + link=Primate Info + + clickAndWait diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateCourse.html b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateCourse.html index 97115bf5..fb56fb58 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateCourse.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateCourse.html @@ -157,7 +157,7 @@ Introduction to Primate Health - + clickAndWait //h3[@id='description']/a/img @@ -193,11 +193,6 @@ Introduction to Primate Health - - click - //div[@id='wrapper-content']/ul/li[10] - - clickAndWait css=a.add-offeredBy > img.add-individual @@ -210,7 +205,7 @@ verifyTextPresent - Add an entry to: offered by + Select an existing Organization for Introduction to Primate Health @@ -248,42 +243,6 @@ Introduction to Primate Health - - clickAndWait - //h3[@id='contactInformation']/a/img - - - - assertTitle - Edit - - - - verifyTextPresent - Add new entry for: contact information - - - - waitForElementPresent - tinymce - - - - type - tinymce - ME Tarzan at metarzan@primates.edu or 555-555-5553 - - - clickAndWait - submit - - - - assertTitle - Introduction to Primate Health - - - clickAndWait //h3[@id='geographicFocus']/a/img @@ -314,43 +273,6 @@ Introduction to Primate Health - - - clickAndWait - xpath=(//img[@alt='add'])[14] - - - - assertTitle - Edit - - - - verifyTextPresent - Select an existing Geographic Location for Introduction to Primate Health - - - - type - id=object - Libe - - - click - id=ui-active-menuitem - - - - clickAndWait - submit - - - - assertTitle - Introduction to Primate Health - - - clickAndWait //h3[@id='dateTimeInterval']/a @@ -406,58 +328,11 @@ Introduction to Primate Health - - clickAndWait - //h3[@id='presents']/a/img + click + //div[@id='wrapper-content']/ul/li[8] - - assertTitle - Edit - - - - select - typeOfNew - label=Webpage (bibo) - - - verifyTextPresent - Select an existing Document for Introduction to Primate Health - - - - clickAndWait - id=offerCreate - - - - assertTitle - Edit - - - - verifyTextPresent - Create "related documents" entry for Introduction to Primate Health - - - - type - name - http://primatehealthintro.cornell.edu - - - clickAndWait - submit - - - - assertTitle - Introduction to Primate Health - - - clickAndWait css=a.add-BFO_0000051 > img.add-individual @@ -533,6 +408,269 @@ Introduction to Primate Health + + clickAndWait + css=a.add-BFO_0000050 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Health and Fitness + + + clickAndWait + id=submit + + + + assertTitle + Introduction to Primate Health + + + + clickAndWait + xpath=(//img[@alt='add'])[7] + + + + assertTitle + Edit + + + + select + id=typeOfNew + label=Seminar Series (vivo) + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + Primate Health Talks + + + clickAndWait + id=submit + + + + assertTitle + Introduction to Primate Health + + + + + click + css=li.nonSelectedGroupTab.clickable + + + + clickAndWait + //h3[@id='presents']/a/img + + + + assertTitle + Edit + + + + select + typeOfNew + label=Webpage (bibo) + + + verifyTextPresent + Select an existing Document for Introduction to Primate Health + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + verifyTextPresent + Create "related documents" entry for Introduction to Primate Health + + + + type + name + http://primatehealthintro.cornell.edu + + + clickAndWait + submit + + + + assertTitle + Introduction to Primate Health + + + + clickAndWait + css=a.add-RO_0002234 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Happenings + + + clickAndWait + id=submit + + + + assertTitle + Introduction to Primate Health + + + + + click + //div[@id='wrapper-content']/ul/li[6] + + + + clickAndWait + //h3[@id='contactInformation']/a/img + + + + assertTitle + Edit + + + + verifyTextPresent + Add new entry for: contact information + + + + waitForElementPresent + tinymce + + + + type + tinymce + ME Tarzan at metarzan@primates.edu or 555-555-5553 + + + clickAndWait + submit + + + + assertTitle + Introduction to Primate Health + + + + clickAndWait + xpath=(//img[@alt='add'])[14] + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Geographic Location for Introduction to Primate Health + + + + type + id=object + Libe + + + click + id=ui-active-menuitem + + + + clickAndWait + submit + + + + assertTitle + Introduction to Primate Health + + + + clickAndWait + css=a.add-RO_0001025 > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + Primate Memorial Building + + + clickAndWait + id=submit + + + + assertTitle + Introduction to Primate Health + + + + + click + //div[@id='wrapper-content']/ul/li[8] + + clickAndWait //h3[@id='courseCredits']/a/img @@ -563,10 +701,45 @@ Introduction to Primate Health + + clickAndWait + css=a.add-hasPrerequisite > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Introduction to Primates + + + clickAndWait + id=submit + + + + assertTitle + Introduction to Primate Health + + + + click + //div[@id='wrapper-content']/ul/li[10] + + verifyTextPresent - Primate College of America + Introduction to Primate Health + + + + verifyTextPresent + Course @@ -575,23 +748,8 @@ - verifyTextPresent - Introduction to Primate Health - - - - verifyTextPresent - ME Tarzan at metarzan@primates.edu or 555-555-5553 - - - - verifyTextPresent - Africa - - - - verifyTextPresent - Liberia + verifyElementPresent + link=Primate College of America @@ -600,23 +758,63 @@ - verifyTextPresent - http://primatehealthintro.cornell.edu + verifyElementPresent + link=Primate Health and Fitness + + + + verifyElementPresent + link=Primate Health Check + + + + verifyElementPresent + link=Primate Health Talks + + + + verifyElementPresent + link=Animal Health + + + + verifyElementPresent + link=Introduction to Primate Health + + + + verifyElementPresent + link=Africa + + + + verifyElementPresent + link=Primate Happenings + + + + verifyElementPresent + link=http://primatehealthintro.cornell.edu verifyTextPresent - Introduction to Primate Health + ME Tarzan at metarzan@primates.edu or 555-555-5553 - verifyTextPresent - Primate Health Check + verifyElementPresent + link=Primate Memorial Building - verifyTextPresent - Animal Health + verifyElementPresent + link=Liberia + + + + verifyElementPresent + link=Introduction to Primates diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEquipment.html b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEquipment.html index b8e91221..2eb0932d 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEquipment.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEquipment.html @@ -160,7 +160,7 @@ click - //div[@id='wrapper-content']/ul/li[6] + //div[@id='wrapper-content']/ul/li[8] @@ -285,10 +285,116 @@ Primate Research Lab Room 123 + + + clickAndWait + css=a.add-ERO_0000070 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Research Laboratory + + + clickAndWait + id=submit + + + + assertTitle + Primate Feeder + + + + clickAndWait + css=a.add-RO_0003001 > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertTitle + Primate Feeder + + + + clickAndWait + css=a.add-RO_0003000 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Feeder + + + clickAndWait + id=submit + + + + assertTitle + Primate Feeder + + + + clickAndWait + css=a.add-OBI_0000304 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate College of America + + + clickAndWait + id=submit + + + + assertTitle + Primate Feeder + + - verifyTextPresent - Primate Research Lab Room 123 + verifyElementPresent + link=Primate Research Laboratory + + + + verifyElementPresent + link=Primate Research Laboratory + + + + verifyElementPresent + link=Portable Primate Habitat @@ -296,6 +402,26 @@ link=Primate Feeder + + verifyElementPresent + link=Primate Feeder + + + + verifyElementPresent + link=Primate College of America + + + + verifyTextPresent + Animal Diet + + + + verifyElementPresent + link=Primate Research Lab Room 123 + + clickAndWait diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEvent.html b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEvent.html index 77ce6cd6..86d1b4f6 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEvent.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateEvent.html @@ -380,15 +380,34 @@ Select an existing Facility for Primate Health Conference - - - + select + id=typeOfNew + label=Facility (vivo) + + + clickAndWait + id=offerCreate + assertTitle + Edit + + + type + id=name + State Fair Park + + + clickAndWait + id=submit + + + assertTitle + Primate Health Conference @@ -481,7 +500,7 @@ verifyTextPresent - Add an entry to: includes event + Select an existing Event for Primate Health Conference @@ -584,10 +603,86 @@ Primate Health Conference + + + clickAndWait + css=a.add-BFO_0000050 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Health and Fitness + + + clickAndWait + id=submit + + + + assertTitle + Primate Health Conference + + + + clickAndWait + xpath=(//img[@alt='add'])[6] + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertTitle + Primate Health Conference + + + + clickAndWait + css=a.add-RO_0002234 > img.add-individual + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Happenings + + + clickAndWait + id=submit + + + + assertTitle + Primate Health Conference + + verifyTextPresent - PrimHConf + Primate Health Conference + + + + verifyTextPresent + Conference @@ -595,16 +690,31 @@ First annual conference for those interested in the general health of primates. + + verifyTextPresent + PrimHConf + + verifyTextPresent January 5, 2011 - January 9, 2011 + + verifyElementPresent + link=Primate Health and Fitness + + verifyElementPresent link=Primate Health Check + + verifyElementPresent + link=Primate Health Talks + + verifyElementPresent link=Animal Health @@ -620,6 +730,11 @@ link=Kenya + + verifyElementPresent + link=Primate Happenings + + verifyElementPresent link=http://primatehealthintro.cornell.edu @@ -630,6 +745,11 @@ info@primateconf.org + + verifyElementPresent + link=State Fair Park + + verifyElementPresent link=Congo diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateLocation.html b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateLocation.html index 9496851c..f8e2cde3 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateLocation.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateLocation.html @@ -138,7 +138,7 @@ verifyTextPresent - Please enter a value in the name field. + Please enter a value in the Name field. @@ -158,14 +158,9 @@ - - click - //div[@id='wrapper-content']/ul/li[6] - - clickAndWait - //h3[@id='hasRoom']/a/img + css=a.add-BFO_0000051 > img.add-individual @@ -210,7 +205,7 @@ clickAndWait - //h3[@id='geographicallyContains']/a/img + css=a.add-BFO_0000050 > img.add-individual @@ -225,8 +220,8 @@ select - typeOfNew - label=Campus (vivo) + id=typeOfNew + label=Geographic Location (vivo) clickAndWait @@ -238,19 +233,14 @@ Edit - - verifyTextPresent - Create "geographically contains" entry for Jane Memorial Building - - type - name - Primate Research Laboratory + id=name + Primate Quad clickAndWait - submit + id=submit @@ -261,7 +251,7 @@ clickAndWait - //h3[@id='locationOfEquipment']/a/img + css=a.add-RO_0001015 > img.add-individual @@ -271,7 +261,7 @@ verifyTextPresent - Add an entry to: location of equipment + Select an existing Material Entity for Jane Memorial Building @@ -284,9 +274,10 @@ Jane Memorial Building + clickAndWait - css=a.add-geographicLocationOf > img.add-individual + xpath=(//img[@alt='add'])[3] @@ -295,15 +286,60 @@ - type - id=object - Primate Research labor + select + id=objectVar + label=Primate Heart Health - click - id=ui-active-menuitem + clickAndWait + id=submit + + assertTitle + Jane Memorial Building + + + + clickAndWait + xpath=(//h3[@id='RO_0001015']/a)[3] + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate University of America + + + clickAndWait + id=submit + + + + assertTitle + Jane Memorial Building + + + + clickAndWait + xpath=(//img[@alt='add'])[5] + + + + assertTitle + Edit + + + + select + id=objectVar + label=Primate Health Check + clickAndWait id=submit @@ -316,23 +352,33 @@ - verifyTextPresent - Primate Research Laboratory + verifyElementPresent + link=Portable Primate Habitat - verifyTextPresent - Lab Admin Office + verifyElementPresent + link=Primate Heart Health - verifyTextPresent - Primate Research Laboratory + verifyElementPresent + link=Primate University of America - verifyTextPresent - Portable Primate Habitat + verifyElementPresent + link=Primate Health Check + + + + verifyElementPresent + link=Lab Admin Office + + + + verifyElementPresent + link=Primate Quad diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html index c3255de2..bbad9e32 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html @@ -198,16 +198,6 @@ Primate College of America - - selectWindow - null - - - - click - css=li.nonSelectedGroupTab.clickable - - clickAndWait css=a.add-offers > img.add-individual @@ -248,16 +238,6 @@ Edit - - clickAndWait - //h3[@id='hasPredecessorOrganization']/a/img - - - - assertTitle - Edit - - select id=typeOfNew @@ -554,11 +534,6 @@ submit - - clickAndWait - link=Cancel - - assertTitle Primate College of America @@ -817,12 +792,12 @@ type - id=title + id=name Primate Info clickAndWait - submit + id=submit @@ -937,16 +912,6 @@ Edit - - clickAndWait - //h3[@id='hasGeographicLocation']/a/img - - - - assertTitle - Edit - - type id=object @@ -970,7 +935,7 @@ clickAndWait - xpath=(//img[@alt='add'])[33] + xpath=(//img[@alt='add'])[34] @@ -1045,7 +1010,7 @@ clickAndWait - xpath=(//img[@alt='add'])[34] + xpath=(//img[@alt='add'])[35] @@ -1279,7 +1244,7 @@ select id=typeOfNew - label=Blog (vivo) + label=Blog Posting (vivo) clickAndWait @@ -1411,22 +1376,31 @@ Edit + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + Human and Ape Brain Comparison + + + clickAndWait + id=submit + + assertTitle Primate College of America - - - - - - - - - - - click //div[@id='wrapper-content']/ul/li[10] @@ -1635,24 +1609,14 @@ Person, Polly, Dr. 1999 - - - verifyElementPresent - link=Primate Research Laboratory - - - - verifyTextPresent - Primate Research Laboratory Laboratory - - verifyElementPresent link=Primate History Library - verifyTextPresent - Primate History Library Library + verifyElementPresent + link=Primate Research Laboratory @@ -1670,11 +1634,6 @@ link=Primate History Library - - verifyTextPresent - Primate History Library Library - - verifyElementPresent link=Primates-r-us @@ -1731,11 +1690,6 @@ link=Primate Info - - verifyTextPresent - Primate Info Database - - verifyTextPresent invited talk @@ -1787,15 +1741,9 @@ link=Primate Survival Planning Grant - - - - - - - - + verifyElementPresent + link=Human and Ape Brain Comparison @@ -1820,13 +1768,18 @@ - verifyElementPresent - link=Introduction to Primates + verifyTextPresent + Primate Health Check Sponsor 2008 - 2010 - verifyTextPresent - Primate Health Check Sponsor 2008 - 2010 + verifyElementPresent + link=Portable Primate Habitat + + + + verifyElementPresent + link=Introduction to Primates @@ -1890,32 +1843,260 @@ link=Primate Colleges of the World - + click //div[@id='wrapper-content']/ul/li[14] + + verifyTextPresent + PCoA + + + + verifyTextPresent + 1959 - + + + + verifyElementPresent + link=B.S. Bachelor of Science + + + + verifyElementPresent + link=Primate Student of the Year + + + + verifyElementPresent + link=Best Primate College + + + + verifyTextPresent + faculty administrative position + + + + verifyElementPresent + link=Person, Polly + + + + verifyTextPresent + Person, Polly, Dr. 1999 - + + + + verifyElementPresent + link=Primate History Library + + + + verifyElementPresent + link=Primate Research Laboratory + + + + verifyElementPresent + link=Primates-r-us + + + + verifyTextPresent + Primates-r-us Founder 2010 - + + + + verifyElementPresent + link=Primate History Library + + + + verifyElementPresent + link=Primates-r-us + + + + verifyElementPresent + link=Primate Colleges of the World + + + + verifyTextPresent + Primate Colleges of the World Member 2009 - + + + + verifyElementPresent + link=Primate Heart Health + + + + verifyTextPresent + Primate Heart Health Founder 2010 - + + + + verifyElementPresent + link=New Primate Students + + + + verifyTextPresent + New Primate Students 2003 - 2006 + + + + verifyElementPresent + link=Primates in the Wild + + + + verifyTextPresent + Primates in the Wild 1997 - + + + + verifyElementPresent + link=Primate Info + + + + verifyTextPresent + invited talk + + + + verifyElementPresent + link=Primate Health and Fitness + + + + verifyTextPresent + Primate Health and Fitness, Organizer 2008 + + + + verifyElementPresent + link=Primate Happenings + + + + verifyElementPresent + link=USA222333444555 + + + + verifyElementPresent + link=Primate Heart Health + + + + verifyElementPresent + link=Primate Habitat Research Grant + + + + verifyElementPresent + link=Primate Habitat Research Grant + + + + verifyElementPresent + link=Primate Survival Planning Grant + + + + verifyElementPresent + link=Human and Ape Brain Comparison + + + + verifyTextPresent + Gorillas + + + + verifyElementPresent + link=Gorilla Moving Company + + + + verifyElementPresent + link=Primate Health Check + + + + verifyTextPresent + Primate Health Check Sponsor 2008 - 2010 + + verifyElementPresent link=Portable Primate Habitat + + verifyElementPresent + link=Introduction to Primates + + verifyTextPresent - Portable Primate Habitat - - - - - - - + 555-555-5555 + verifyTextPresent + 555-555-5554 + + + verifyTextPresent + info@primates.edu + + + verifyTextPresent + 1234 Northern African Nation + + + + verifyTextPresent + Morocco City + + + + verifyTextPresent + 1234567890 + + + + verifyTextPresent + Morocco + + + + verifyElementPresent + link=northern Africa + + + + verifyElementPresent + link=Primate College of New York + + + + verifyElementPresent + link=Primate University of America + + + + verifyElementPresent + link=Primate Colleges of the World diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html index e6be06f0..e56942e7 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html @@ -90,7 +90,7 @@ Faculty, Jane - + clickAndWait //h2[@id='hasResearchArea']/a/img @@ -356,76 +356,6 @@ Faculty, Jane - - selectWindow - null - - - - click - //div[@id='wrapper-content']/ul/li[18] - - - - clickAndWait - //h3[@id='hasCollaborator']/a/img - - - - assertTitle - Edit - - - - type - id=object - Librar - - - click - id=ui-active-menuitem - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='researchOverview']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - I study monkeys, of course. - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - clickAndWait css=a.add-geographicFocus > img.add-individual @@ -456,166 +386,6 @@ Faculty, Jane - - clickAndWait - xpath=(//img[@alt='add'])[26] - - - - assertTitle - Edit - - - - select - id=selector - label=Postdoc or Fellow Advising Relationship - - - type - id=advisee - Smith - - - type - id=firstName - Joe - - - type - id=SubjectArea - Primates-R-Us Fellowship - - - clickAndWait - css=input.submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='teachingOverview']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - I teach monkeys to communicate. - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='outreachOverview']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - I travel the country teaching monkeys in zoos how to communicate. - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - xpath=(//img[@alt='add'])[36] - - - - assertTitle - Edit - - - - type - id=award - Monkey Trainer of the Year - - - clickAndWait - css=input.submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=article.property > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual - - - - assertTitle - Edit - - - - type - id=firstName - Jane - - - type - id=middleName - Elizabeth - - - type - id=lastName - Faculty - - - clickAndWait - id=submit - - - - assertTitle - Faculty, Jane - - clickAndWait xpath=(//img[@alt='add'])[4] @@ -641,31 +411,6 @@ Faculty, Jane - - clickAndWait - xpath=(//img[@alt='add'])[39] - - - - assertTitle - Edit - - - - type - id=telephoneNumber - 607-244-4444 - - - clickAndWait - id=submit - - - - assertTitle - Faculty, Jane - - clickAndWait css=a.add-ARG_2000028 > img.add-individual @@ -688,7 +433,7 @@ clickAndWait - css=article.property > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual + xpath=(//img[@alt='add'])[3] @@ -698,28 +443,8 @@ type - id=streetAddressOne - The Jungle - - - type - id=city - Congo City - - - type - id=state - Congola State - - - type - id=postalCode - 1234567890 - - - type - id=countryEditMode - Democratic Republic of Congo + id=emailAddress + jfac@gmail.com clickAndWait @@ -731,9 +456,15 @@ Faculty, Jane + + + click + css=li.nonSelectedGroupTab.clickable + + clickAndWait - css=#ARG_2000028-Name-List > li > a.edit-ARG_2000028 > img.edit-individual + //h3[@id='hasCollaborator']/a/img @@ -743,313 +474,23 @@ type - id=prefix - Ms. + id=object + Librar - type - id=suffix - III - - - clickAndWait - id=submit + click + id=ui-active-menuitem - - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='orcidId']/a/img - - - - type - id=orcidId - 1234 - - - clickAndWait - id=submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='researcherId']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - 123456789 - clickAndWait submit + - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='scopusId']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - 5678 - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='freetextKeyword']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - Apes - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - - clickAndWait - css=a.add-eligibleFor > img.add-individual - - - - assertTitle - Edit - - - - verifyTextPresent - Select an existing Credential for Faculty, Jane - - - - clickAndWait - link=Cancel - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=a.add-eligibleFor > img.add-individual - - - - assertTitle - Edit - - - - verifyTextPresent - Select an existing Credential for Faculty, Jane - - - - clickAndWait - id=offerCreate - - - - assertTitle - Edit - - - - clickAndWait - link=Cancel - - - - clickAndWait - css=a.add-eligibleFor > img.add-individual - - - - select - id=typeOfNew - label=Credential (vivo) - - - clickAndWait - id=offerCreate - - - - assertTitle - Edit - - - - type - name - Primate Expert Association - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=#backgroundGroup > article.property > #relatedBy > a.add-relatedBy > img.add-individual - - - - assertTitle - Edit - - - - select - id=typeSelector - label=License - - - type - id=credential - Licensed Primate Expert - - - clickAndWait - css=input.submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=a.add-eRACommonsId > img.add-individual - - - - assertTitle - Edit - - - - clickAndWait - link=Cancel - - - - pause - 10000 - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=a.add-eRACommonsId > img.add-individual - - - - assertTitle - Edit - - - - verifyTextPresent - Add new entry for: eRA Commons ID - - - - waitForElementPresent - tinymce - - - - type - tinymce - ABC123987 - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane + click + //div[@id='wrapper-content']/ul/li[4] @@ -1092,32 +533,6 @@ Faculty, Jane - - - clickAndWait - xpath=(//img[@alt='add'])[3] - - - - assertTitle - Edit - - - - type - id=emailAddress - jfac@gmail.com - - - clickAndWait - id=submit - - - - assertTitle - Faculty, Jane - - clickAndWait xpath=(//img[@alt='add'])[11] @@ -1258,9 +673,86 @@ Faculty, Jane + + + click + //div[@id='wrapper-content']/ul/li[6] + + + + assertTitle + Faculty, Jane + + clickAndWait - css=#serviceGroup > article.property > #RO_0000053 > a.add-RO_0000053 > img.add-individual + //h3[@id='researchOverview']/a/img + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + I study monkeys, of course. + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + //h3[@id='freetextKeyword']/a/img + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + Apes + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + + click + //div[@id='wrapper-content']/ul/li[8] + + + + clickAndWait + xpath=(//img[@alt='add'])[26] @@ -1270,27 +762,93 @@ select - id=typeSelector - label=Conference Poster + id=selector + label=Postdoc or Fellow Advising Relationship type - id=activity - Variety of Apes in Africa + id=advisee + Smith type - id=startField-year - 1983 + id=firstName + Joe type - id=endField-year - 1983 + id=SubjectArea + Primates-R-Us Fellowship clickAndWait - id=submit + css=input.submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + //h3[@id='teachingOverview']/a/img + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + I teach monkeys to communicate. + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + + click + //div[@id='wrapper-content']/ul/li[10] + + + + clickAndWait + //h3[@id='outreachOverview']/a/img + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + I travel the country teaching monkeys in zoos how to communicate. + + + clickAndWait + submit @@ -1338,6 +896,46 @@ Faculty, Jane + + clickAndWait + css=#serviceGroup > article.property > #RO_0000053 > a.add-RO_0000053 > img.add-individual + + + + assertTitle + Edit + + + + select + id=typeSelector + label=Conference Poster + + + type + id=activity + Variety of Apes in Africa + + + type + id=startField-year + 1983 + + + type + id=endField-year + 1983 + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + clickAndWait xpath=(//img[@alt='add'])[28] @@ -1433,6 +1031,157 @@ id=submit + + + click + //div[@id='wrapper-content']/ul/li[12] + + + + clickAndWait + xpath=(//img[@alt='add'])[36] + + + + assertTitle + Edit + + + + type + id=award + Monkey Trainer of the Year + + + clickAndWait + css=input.submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.add-eligibleFor > img.add-individual + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Credential for Faculty, Jane + + + + clickAndWait + link=Cancel + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.add-eligibleFor > img.add-individual + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Credential for Faculty, Jane + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + clickAndWait + link=Cancel + + + + clickAndWait + css=a.add-eligibleFor > img.add-individual + + + + select + id=typeOfNew + label=Credential (vivo) + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + name + Primate Expert Association + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=#backgroundGroup > article.property > #relatedBy > a.add-relatedBy > img.add-individual + + + + assertTitle + Edit + + + + select + id=typeSelector + label=License + + + type + id=credential + Licensed Primate Expert + + + clickAndWait + css=input.submit + + + + assertTitle + Faculty, Jane + + clickAndWait css=#backgroundGroup > article.property > #RO_0000053 > a.add-RO_0000053 > img.add-individual @@ -1478,6 +1227,293 @@ Faculty, Jane + + + click + //div[@id='wrapper-content']/ul/li[14] + + + + clickAndWait + css=#ARG_2000028-Name-List > li > a.edit-ARG_2000028 > img.edit-individual + + + + assertTitle + Edit + + + + type + id=firstName + Jane + + + type + id=middleName + Elizabeth + + + type + id=lastName + Faculty + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + xpath=(//img[@alt='add'])[41] + + + + assertTitle + Edit + + + + type + id=telephoneNumber + 607-244-4444 + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=article.property > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual + + + + assertTitle + Edit + + + + type + id=streetAddressOne + The Jungle + + + type + id=city + Congo City + + + type + id=state + Congola State + + + type + id=postalCode + 1234567890 + + + type + id=countryEditMode + Democratic Republic of Congo + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=#ARG_2000028-Name-List > li > a.edit-ARG_2000028 > img.edit-individual + + + + assertTitle + Edit + + + + type + id=prefix + Ms. + + + type + id=suffix + III + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + + click + //div[@id='wrapper-content']/ul/li[16] + + + + clickAndWait + //h3[@id='orcidId']/a/img + + + + type + id=orcidIdDisplay + 1234 + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + //h3[@id='researcherId']/a/img + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 123456789 + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + //h3[@id='scopusId']/a/img + + + + assertTitle + Edit + + + + waitForElementPresent + tinymce + + + + type + tinymce + 5678 + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.add-eRACommonsId > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + link=Cancel + + + + pause + 10000 + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.add-eRACommonsId > img.add-individual + + + + assertTitle + Edit + + + + verifyTextPresent + Add new entry for: eRA Commons ID + + + + waitForElementPresent + tinymce + + + + type + tinymce + ABC123987 + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + clickAndWait css=a.add-ARG_0000197 > img.add-individual @@ -1539,6 +1575,7 @@ Faculty, Jane + verifyTextPresent Faculty, Jane @@ -1745,6 +1782,16 @@ link=Monkey Trainer of the Year + + verifyTextPresent + Adams, Amy, 2013 - + + + + verifyElementPresent + link=Adams, Amy + + click @@ -1794,7 +1841,7 @@ verifyElementPresent - link=exact:file:///C:/xampp/1234 + link=http://orcid.org/1234 @@ -1948,6 +1995,11 @@ link=Monkey Trainer of the Year + + verifyElementPresent + link=Adams, Amy + + verifyTextPresent Ms. Jane Elizabeth Faculty, III @@ -1985,7 +2037,7 @@ verifyElementPresent - link=exact:file:///C:/xampp/1234 + link=http://orcid.org/1234 diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html index b1a74098..c3a14148 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html @@ -273,7 +273,7 @@ clickAndWait - xpath=(//img[@alt='add'])[39] + xpath=(//img[@alt='add'])[41] @@ -738,11 +738,6 @@ link=Primate Experts - - verifyElementPresent - link=Chimp Lover for Life - - verifyElementPresent link=Ape Trainer of the Decade @@ -753,6 +748,26 @@ Ape Trainer of the Decade, conferred by Professional Ape Trainer Association + + verifyElementPresent + link=Professional Ape Trainer Association + + + + verifyElementPresent + link=Chimp Lover for Life + + + + verifyElementPresent + link=Adams, Amy + + + + verifyTextPresent + Adams, Amy, 2013 - + + verifyTextPresent Mrs. Jane E. Faculty, Jr. @@ -815,7 +830,12 @@ verifyElementPresent - link=exact:http://orcid.org/file:///C:/xampp/11111 + link=http://orcid.org/11111 + + + + verifyElementPresent + link=http://orcid.org/454545 diff --git a/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html b/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html index 8f4a0b9b..83f02d8f 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html @@ -158,12 +158,7 @@ - refreshAndWait - 10000 - - - - refreshAndWait + pause 10000 diff --git a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html index 4f3248c8..de3cc773 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html @@ -116,6 +116,11 @@ id=showAddFormButton + + assertConfirmation + Are you sure you want to remove this term? + + assertTitle Edit @@ -309,7 +314,7 @@ select id=typeOfNew - label=Geopolitical Entity (vivo) + label=County (vivo) clickAndWait @@ -629,7 +634,7 @@ type id=orcidIdDisplay - file:///C:/xampp/11111 + 11111 clickAndWait @@ -772,6 +777,51 @@ Faculty, Jane + + clickAndWait + css=a.delete-relatedBy > img.delete-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=#backgroundGroup > article.property > #relatedBy > a.add-relatedBy > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertConfirmation + Are you sure you want to remove this license? + + + + assertTitle + Faculty, Jane + + clickAndWait css=#backgroundGroup > article.property > #relatedBy > a.add-relatedBy > img.add-individual @@ -802,26 +852,6 @@ Faculty, Jane - - clickAndWait - css=a.delete-relatedBy > img.delete-individual - - - - assertTitle - Edit - - - - clickAndWait - id=submit - - - - assertTitle - Faculty, Jane - - clickAndWait css=a.edit-eRACommonsId > img.edit-individual @@ -854,7 +884,62 @@ clickAndWait - css=a.edit-assigneeFor > img.edit-individual + xpath=(//img[@alt='edit this entry'])[13] + + + + assertTitle + Edit + + + + clickAndWait + id=delete + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.delete-assigneeFor > img.delete-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertConfirmation + Are you sure you want to remove this patent? + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.add-assigneeFor > img.add-individual @@ -887,26 +972,6 @@ Faculty, Jane - - clickAndWait - xpath=(//img[@alt='delete this entry'])[13] - - - - assertTitle - Edit - - - - clickAndWait - id=submit - - - - assertTitle - Faculty, Jane - - clickAndWait @@ -1118,6 +1183,16 @@ link=Professional Ape Trainer Association + + verifyTextPresent + Adams, Amy, 2013 - + + + + verifyElementPresent + link=Adams, Amy + + verifyTextPresent Mrs. Jane E. Faculty, Jr. @@ -1159,8 +1234,8 @@ - verifyTextPresent - 11111 + verifyElementPresent + link=http://orcid.org/11111 diff --git a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html index e4175003..404d207c 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html @@ -161,6 +161,11 @@ link=CIT Homepage + + click + //div[@id='wrapper-content']/ul/li[18] + + verifyElementPresent link=Librarian, Lily Lou @@ -286,11 +291,6 @@ link=Primate Experts - - verifyElementPresent - link=Chimp Lover for Life - - verifyElementPresent link=Ape Trainer of the Decade @@ -301,6 +301,21 @@ Ape Trainer of the Decade, conferred by Professional Ape Trainer Association + + verifyElementPresent + link=Chimp Lover for Life + + + + verifyElementPresent + link=Adams, Amy + + + + verifyTextPresent + Adams, Amy, 2013 - + + verifyTextPresent Mrs. Jane E. Faculty, Jr. @@ -363,7 +378,12 @@ verifyElementNotPresent - link=exact:http://orcid.org/file:///C:/xampp/11111 + link=http://orcid.org/11111 + + + + verifyElementNotPresent + link=http://orcid.org/454545 diff --git a/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html index fdfb5bb3..42c75973 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html @@ -176,6 +176,11 @@ link=Primate Feeding + + verifyTextPresent + Primate Feeding Training Service + + verifyElementPresent link=Primate Reactions @@ -351,7 +356,7 @@ verifyTextPresent - Mozamia Country + Mozamia County diff --git a/utilities/acceptance-tests/suites/CreateProperties/AddMuseumArchDetails.html b/utilities/acceptance-tests/suites/CreateProperties/AddMuseumArchDetails.html index a61fb1b3..82187480 100644 --- a/utilities/acceptance-tests/suites/CreateProperties/AddMuseumArchDetails.html +++ b/utilities/acceptance-tests/suites/CreateProperties/AddMuseumArchDetails.html @@ -108,7 +108,7 @@ click - //div[@id='wrapper-content']/ul/li[18] + //div[@id='wrapper-content']/ul/li[16] diff --git a/utilities/acceptance-tests/suites/CreateProperties/AddMuseumVisitingHours.html b/utilities/acceptance-tests/suites/CreateProperties/AddMuseumVisitingHours.html index bb693e0b..049c34e0 100644 --- a/utilities/acceptance-tests/suites/CreateProperties/AddMuseumVisitingHours.html +++ b/utilities/acceptance-tests/suites/CreateProperties/AddMuseumVisitingHours.html @@ -11,7 +11,7 @@ AddMuseumVisitingHours - + deleteAllVisibleCookies @@ -102,23 +102,13 @@ - clickAndWait - //h3[@id='visitingHours']/a/img + selectWindow + null - - assertTitle - Edit - - - - select - typeOfNew - label=Date/Time Interval (vivo) - clickAndWait - id=offerCreate + css=a.add-yearFounded > img.add-individual @@ -128,12 +118,12 @@ type - name - 10am-4pm + id=startField-year + 1959 clickAndWait - submit + id=submit @@ -141,10 +131,10 @@ Johnson Art Museum - + - verifyElementPresent - link=10am-4pm + verifyTextPresent + 1959 - diff --git a/utilities/acceptance-tests/suites/CreateProperties/AddObjPropVisitingHours.html b/utilities/acceptance-tests/suites/CreateProperties/AddObjPropVisitingHours.html index c314572c..bf47f792 100644 --- a/utilities/acceptance-tests/suites/CreateProperties/AddObjPropVisitingHours.html +++ b/utilities/acceptance-tests/suites/CreateProperties/AddObjPropVisitingHours.html @@ -11,7 +11,7 @@ AddObjPropVisitingHours - + deleteAllVisibleCookies @@ -83,7 +83,7 @@ verifyElementNotPresent - link=visiting hours + link=year founded @@ -115,12 +115,12 @@ type name=LocalName - visitingHours + yearFounded type name=DomainPublic - visiting hours + year founded select @@ -130,12 +130,12 @@ type name=LocalNameInverse - visitingHoursFor + yearFoundedFor type name=RangePublic - visiting hours for + year founded for select @@ -167,6 +167,11 @@ name=OfferCreateNewOption + + type + name=CustomEntryForm + edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.DateTimeIntervalFormGenerator + clickAndWait primaryAction @@ -180,7 +185,7 @@ verifyTextPresent - visiting hours (bibo) + year founded (bibo) @@ -200,12 +205,12 @@ verifyTextPresent - visitingHours + yearFounded verifyTextPresent - visiting hours + year founded @@ -240,7 +245,7 @@ verifyTextPresent - (unspecified) + edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.DateTimeIntervalFormGenerator @@ -255,7 +260,7 @@ verifyTextPresent - http://purl.org/ontology/bibo/visitingHours + http://purl.org/ontology/bibo/yearFounded diff --git a/utilities/acceptance-tests/suites/CreateProperties/DeleteObjPropVisitingHours.html b/utilities/acceptance-tests/suites/CreateProperties/DeleteObjPropVisitingHours.html index 58ee4708..7505509a 100644 --- a/utilities/acceptance-tests/suites/CreateProperties/DeleteObjPropVisitingHours.html +++ b/utilities/acceptance-tests/suites/CreateProperties/DeleteObjPropVisitingHours.html @@ -11,7 +11,7 @@ DeleteObjPropVisitingHours - + deleteAllVisibleCookies @@ -80,16 +80,16 @@ VIVO - + verifyElementPresent - link=visiting hours (bibo) + link=year founded (bibo) - + clickAndWait - link=visiting hours (bibo) + link=year founded (bibo) @@ -131,7 +131,7 @@ verifyTextNotPresent - visiting hours (bibo) + year founded (bibo) diff --git a/utilities/acceptance-tests/suites/CreateProperties/EditObjPropVisitingHours.html b/utilities/acceptance-tests/suites/CreateProperties/EditObjPropVisitingHours.html index 94e096ea..80c11c1c 100644 --- a/utilities/acceptance-tests/suites/CreateProperties/EditObjPropVisitingHours.html +++ b/utilities/acceptance-tests/suites/CreateProperties/EditObjPropVisitingHours.html @@ -11,7 +11,7 @@ EditObjPropVisitingHours - + deleteAllVisibleCookies @@ -83,7 +83,7 @@ clickAndWait - link=visiting hours (bibo) + link=year founded (bibo) diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html b/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html index 72f3b950..02744c34 100644 --- a/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html +++ b/utilities/acceptance-tests/suites/LinkedOpenData/CheckDataHiding.html @@ -32,73 +32,22 @@ VIVO - - clickAndWait - link=Log in - - - - assertTitle - Log in to VIVO - - - - type - id=loginName - testAdmin@cornell.edu - - - type - id=loginPassword - Password - - - clickAndWait - name=loginForm - - - - assertTitle - VIVO - - + open /vivo/individual/lodFacultyMember/lodFacultyMember.rdf - - - pause 10000 - - verifyTextPresent - vivo:eRACommonsId - - - - verifyTextNotPresent - vivo:scopusId - - - - - - clickAndWait - link=Log out - - - - verifyTextNotPresent - Scopus Id - - + + + @@ -142,51 +91,37 @@ + open /vivo/individual/lodFacultyMember/lodFacultyMember.rdf - - - pause 10000 - - verifyTextPresent - vivo:eRACommonsId - - - - verifyTextPresent - vivo:scopusId - - - - - - - - - verifyTextNotPresent - Scopus Id - - + + + - - clickAndWait - link=Log out - - open /vivo/ + + assertTitle + VIVO + + + + clickAndWait + link=Log out + + diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/TestRDFAccept.html b/utilities/acceptance-tests/suites/LinkedOpenData/TestRDFAccept.html index c79731c3..61c18360 100644 --- a/utilities/acceptance-tests/suites/LinkedOpenData/TestRDFAccept.html +++ b/utilities/acceptance-tests/suites/LinkedOpenData/TestRDFAccept.html @@ -68,36 +68,656 @@ /vivo/TestLinkedOpenData.html - - pause - 10000 + verifyTextPresent + Test the Linked Open Data requests verifyTextPresent - ????? + Try various accept headers + verifyElementPresent + id=RDFXML_button + + + verifyElementPresent + id=N3_button + + + verifyElementPresent + id=TTL_button + + + + verifyElementPresent + id=JSONLD_button + + + + verifyTextPresent + Try non-existent URI with RDFXML accept header + + + + verifyElementPresent + id=BOGUS_URI_button + + + + verifyElementPresent + id=BOGUS_ACCEPT_button + + + + verifyElementPresent + id=BOGUS_FORMAT_button + + + + verifyElementPresent + id=BOGUS_EXTENSION_button + + + + verifyTextPresent + Response data + + + + verifyElementPresent + id=CLEAR_button + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text - clickAndWait - link=Log out + click + id=RDFXML_button + + pause + 5000 + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is application/rdf+xml + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + verifyTextPresent + <rdf:RDF xmlns:vitro-public="http://vitro.mannlib.cornell.edu/ns/vitro/public#" xmlns:c4o="http://purl.org/spar/c4o/" xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:obo="http://purl.obolibrary.org/obo/" xmlns:ocrer="http://purl.org/net/OCRe/research.owl#" xmlns:event="http://purl.org/NET/c4dm/event.owl#" + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=N3_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is text/n3 + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + verifyTextPresent + @prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> . @prefix geo: <http://aims.fao.org/aos/geopolitical.owl#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix scires: <http://vivoweb.org/ontology/scientific-research#> . @prefix cito: <http://purl.org/spar/cito/> . @prefix fabio: <http://purl.org/spar/fabio/> . @prefix vcard: <http://www.w3.org/2006/vcard/ns#> . + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=TTL_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is text/turtle + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + verifyTextPresent + @prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> . @prefix geo: <http://aims.fao.org/aos/geopolitical.owl#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix scires: <http://vivoweb.org/ontology/scientific-research#> . @prefix cito: <http://purl.org/spar/cito/> . @prefix fabio: <http://purl.org/spar/fabio/> . @prefix vcard: <http://www.w3.org/2006/vcard/ns#> . + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=JSONLD_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is application/json + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=BOGUS_URI_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 404 + + + + verifyTextPresent + MIME type is text/html + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + verifyTextPresent + <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Individual Not Found</title> <!-- vitro base styles (application-wide) --> <link + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=BOGUS_ACCEPT_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is text/html + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + verifyTextPresent + <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Example, Bad </title> <!-- vitro base styles (application-wide) --> <link + + + + verifyTextPresent + Mr. Bad Example + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=BOGUS_FORMAT_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 200 + + + + verifyTextPresent + MIME type is text/html + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + verifyTextPresent + <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Example, Bad </title> <!-- vitro base styles (application-wide) --> <link + + + + verifyTextPresent + Mr. Bad Example + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + + + click + id=BOGUS_EXTENSION_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 404 + + + + verifyTextPresent + MIME type is text/html + + + + verifyTextPresent + Text is: + + + + verifyTextNotPresent + No text + + + + verifyTextPresent + <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Individual Not Found</title> <!-- vitro base styles (application-wide) --> <link + + + + verifyTextNotPresent + Mr. Bad Example + + + + verifyTextPresent + Individual not found + + + + + click + id=CLEAR_button + + + + pause + 5000 + + + + verifyTextPresent + Response code is 000 + + + + verifyTextPresent + MIME type is No type + + + + verifyTextPresent + Text is: + + + + verifyTextPresent + No text + + + open /vivo/ + + clickAndWait + link=Log out + + diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/TestUserCreated.html b/utilities/acceptance-tests/suites/LinkedOpenData/TestUserCreated.html index 52117c10..e3924e5e 100644 --- a/utilities/acceptance-tests/suites/LinkedOpenData/TestUserCreated.html +++ b/utilities/acceptance-tests/suites/LinkedOpenData/TestUserCreated.html @@ -67,16 +67,55 @@ /vivo/display/lodFacultyMember - - + - pause - 10000 + assertTitle + Example, Bad verifyTextPresent - ????? + Faculty Member + + + + verifyTextPresent + Not someone on whom you should base your actions. + + + + verifyElementPresent + link=Slashdot + + + + click + //div[@id='wrapper-content']/ul/li[18] + + + + verifyElementPresent + link=Department of Redundancy Department + + + + verifyTextPresent + Department of Redundancy Department Bozo 1992 - + + + + verifyTextPresent + Mr. Bad Example + + + + verifyTextPresent + My_eRA_ID + + + + verifyElementPresent + link=10982375409 diff --git a/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html b/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html index 2736a519..63dd3d95 100644 --- a/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html +++ b/utilities/acceptance-tests/suites/LinkedOpenData/TestVariousRequests.html @@ -69,17 +69,12 @@ - pause 10000 - - verifyTextPresent - ????? - - + open @@ -87,17 +82,12 @@ - pause 10000 - - verifyTextPresent - ????? - - + open @@ -105,18 +95,18 @@ - - pause 10000 + verifyTextPresent - ????? + [{"@id":"http://localhost:8080/vivo/individual/lodFacultyMember/lodFacultyMember.jsonld","http://purl.org/dc/elements/1.1/rights":[{"@id":"http://vivo.mydomain.edu/termsOfUse"}],"http://purl.org/dc/elements/1.1/date": + open @@ -124,16 +114,16 @@ - - pause 10000 + + verifyTextPresent - ????? + [{"@id":"http://localhost:8080/vivo/display/lodFacultyMember","http://purl.org/dc/elements/1.1/rights":[{"@id":"http://vivo.mydomain.edu/termsOfUse"}],"http://purl.org/dc/elements/1.1/date":[{"@value":"2013-12-09T15:25:39","@type":"http: @@ -143,18 +133,13 @@ - - pause 10000 - - verifyTextPresent - ????? - - + + open @@ -162,18 +147,13 @@ - - pause 10000 - - verifyTextPresent - ????? - - + + open @@ -181,18 +161,13 @@ - - pause 10000 - - verifyTextPresent - ????? - - + + open @@ -200,24 +175,35 @@ - - pause 10000 - - verifyTextPresent - ????? - - + + open /vivo/display/bogus?format=jsonld + + assertTitle + Individual Not Found + + + + verifyTextPresent + Individual not found: + + + + verifyTextPresent + This id is the id of the entity to query for. netid also works. + + + clickAndWait link=Log out diff --git a/utilities/acceptance-tests/suites/ShortViews/CheckResults.html b/utilities/acceptance-tests/suites/ShortViews/CheckResults.html index b77f786a..aac871d3 100644 --- a/utilities/acceptance-tests/suites/ShortViews/CheckResults.html +++ b/utilities/acceptance-tests/suites/ShortViews/CheckResults.html @@ -289,10 +289,15 @@ - clickAndWait + click link=Person (5) + + pause + 5000 + + verifyElementPresent link=Baker, Able diff --git a/utilities/acceptance-tests/suites/ShortViews/CreateTestDepartments.html b/utilities/acceptance-tests/suites/ShortViews/CreateTestDepartments.html index 29210b35..acf6fcad 100644 --- a/utilities/acceptance-tests/suites/ShortViews/CreateTestDepartments.html +++ b/utilities/acceptance-tests/suites/ShortViews/CreateTestDepartments.html @@ -107,7 +107,7 @@ clickAndWait - css=a.add-RO_0001025 > img.add-individual + xpath=(//img[@alt='add'])[38] @@ -234,17 +234,12 @@ clickAndWait - link=Campus + link=Building assertTitle - Campus - - - - verifyElementPresent - link=Building A + Building