From 78d16e21e5e2259b113f184ee8b83d8bbaa31db0 Mon Sep 17 00:00:00 2001 From: Holly Mistlebauer Date: Mon, 28 Oct 2013 13:58:49 -0400 Subject: [PATCH] Holly made changes to the Selenium test cases within the CreatePeople test suite. --- .../suites/CreatePeople/AddFacultyInfo.html | 579 +++++++++++------- .../suites/CreatePeople/AddFacultyInfo2.html | 299 ++++----- .../CreatePeople/CreateFacultyMember.html | 11 + .../suites/CreatePeople/CreateLibrarian.html | 83 ++- .../suites/CreatePeople/EditFacultyInfo.html | 367 +++++------ .../CreatePeople/PublicFacultyInfo.html | 295 ++++----- 6 files changed, 934 insertions(+), 700 deletions(-) diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html index 04420c07..50aa6a82 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html @@ -123,7 +123,7 @@ clickAndWait - link=exact:Can't find the concept you want? Create your own. + link=Can't find the concept you want? Create your own. @@ -142,10 +142,40 @@ - verifyElementPresent + clickAndWait link=Return to Manage Concepts + + assertTitle + Edit + + + + verifyTextPresent + Manage Concepts + + + + verifyTextPresent + There are currently no concepts specified. + + + + click + id=showAddFormButton + + + + clickAndWait + link=Create your own concept + + + + assertTitle + Edit + + type id=relatedIndLabel @@ -173,7 +203,7 @@ clickAndWait - css=a.add-webpage > img.add-individual + //img[@alt='manage'] @@ -181,11 +211,51 @@ Edit + + verifyTextPresent + Faculty, Jane + + + + verifyTextPresent + Manage Web Pages + + + + verifyTextPresent + This individual currently has no web pages specified. Add a new web page by clicking on the button below. + + clickAndWait id=showAddForm + + assertTitle + Edit + + + + verifyTextPresent + Add webpage for Faculty, Jane + + + + verifyTextPresent + URL Type + + + + verifyTextPresent + URL + + + + verifyTextPresent + Webpage Name + + select name=urlType @@ -198,7 +268,7 @@ type - anchor + id=label Mann Library Homepage @@ -206,6 +276,51 @@ submit + + assertTitle + Edit + + + + verifyTextPresent + Faculty, Jane + + + + verifyTextPresent + Manage Web Pages + + + + verifyElementPresent + link=Mann Library Homepage + + + + verifyElementPresent + link=Edit + + + + verifyElementPresent + link=Delete + + + + verifyElementPresent + id=showAddForm + + + + verifyElementPresent + id=returnToIndividual + + + + clickAndWait + id=returnToIndividual + + assertTitle Faculty, Jane @@ -331,9 +446,19 @@ Faculty, Jane + + click + //div[@id='wrapper-content']/ul/li[20] + + + + assertTitle + Faculty, Jane + + clickAndWait - //h3[@id='advisorIn']/a/img + xpath=(//img[@alt='add'])[21] @@ -341,6 +466,11 @@ Edit + + + + + select id=selector @@ -461,6 +591,16 @@ Faculty, Jane + + clickAndWait + xpath=(//img[@alt='add'])[29] + + + + assertTitle + Edit + + clickAndWait //h3[@id='awardOrHonor']/a/img @@ -488,7 +628,7 @@ clickAndWait - //h3[@id='middleName']/a/img + css=article.property > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual @@ -497,18 +637,23 @@ - waitForElementPresent - tinymce - + type + id=firstName + Jane type - tinymce + id=middleName Elizabeth + + type + id=lastName + Faculty + clickAndWait - submit + id=submit @@ -518,7 +663,7 @@ clickAndWait - //h2[@id='phoneNumber']/a/img + xpath=(//img[@alt='add'])[4] @@ -526,14 +671,9 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=telephoneNumber 607-255-5555 @@ -548,7 +688,7 @@ clickAndWait - //h3[@id='faxNumber']/a/img + css=article.property > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual @@ -556,19 +696,14 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=telephoneNumber 607-244-4444 clickAndWait - submit + id=submit @@ -578,22 +713,12 @@ clickAndWait - //h2[@id='email']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce + css=a.add-ARG_2000028 > img.add-individual type - tinymce + id=emailAddress mejane@africa.com @@ -608,7 +733,7 @@ clickAndWait - //h3[@id='mailingAddress']/a/img + xpath=(//h3[@id='ARG_2000028']/a)[2] @@ -616,14 +741,9 @@ Edit - - select - id=country - label=Democratic Republic of Congo - type - id=addrLineOne + id=streetAddress The Jungle @@ -631,14 +751,24 @@ id=city Congo City + + type + id=state + Congola State + type id=postalCode 1234567890 + + type + id=countryEditMode + Democratic Republic of Congo + clickAndWait - submit + id=submit @@ -648,7 +778,7 @@ clickAndWait - //h3[@id='prefixName']/a/img + css=#ARG_2000028-Name-List > li > a.edit-ARG_2000028 > img.edit-individual @@ -656,49 +786,19 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=prefix Ms. - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //h3[@id='suffixName']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - type - tinymce + id=suffix III clickAndWait - submit + id=submit @@ -711,24 +811,14 @@ //h3[@id='orcidId']/a/img - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - type - tinymce + id=orcidId 1234 clickAndWait - submit + id=submit @@ -826,6 +916,11 @@ Faculty, Jane + + assertTitle + Faculty, Jane + + clickAndWait @@ -887,16 +982,6 @@ css=a.add-eligibleFor > img.add-individual - - clickAndWait - id=offerCreate - - - - assertTitle - Edit - - type name @@ -914,7 +999,7 @@ clickAndWait - css=a.add-hasCredential > img.add-individual + css=#backgroundGroup > article.property > #relatedBy > a.add-relatedBy > img.add-individual @@ -924,27 +1009,17 @@ select - typeOfNew - label=Licensure (vivo) - - - clickAndWait - id=offerCreate - - - - assertTitle - Edit - + id=typeSelector + label=License type - name + id=credential Licensed Primate Expert clickAndWait - submit + css=input.submit @@ -989,7 +1064,7 @@ verifyTextPresent - Add new entry for: eRA Commons id + Add new entry for: eRA Commons ID @@ -1052,7 +1127,33 @@ Faculty, Jane - + + + clickAndWait + xpath=(//img[@alt='add'])[3] + + + + assertTitle + Edit + + + + type + id=emailAddress + jfac@gmail.com + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + clickAndWait link=Index @@ -1084,13 +1185,13 @@ - verifyElementPresent - link=Primatia + verifyTextPresent + Faculty, Jane verifyTextPresent - Mann Library Homepage + Assistant Professor @@ -1100,17 +1201,50 @@ verifyElementPresent - link=Librarian, Lily + link=Primatia + + + + verifyElementPresent + link=mejane@africa.com + + + + verifyElementPresent + link=jfac@gmail.com verifyTextPresent - Librarian, Lily Assistant Librarian + 607-255-5555 + + + + verifyElementPresent + link=Mann Library Homepage + + + + + click + css=li.nonSelectedGroupTab.clickable + + + + verifyElementPresent + link=Librarian, Lily Lou verifyTextPresent - Foundation + Librarian, Lily Lou Assistant Librarian + + + + + + click + //div[@id='wrapper-content']/ul/li[6] @@ -1123,6 +1257,17 @@ link=Africa + + + click + //div[@id='wrapper-content']/ul/li[8] + + + + verifyTextPresent + I teach monkeys to communicate. + + verifyTextPresent postdoc or fellow advising relationship @@ -1133,9 +1278,10 @@ link=Smith, Joe + - verifyTextPresent - I teach monkeys to communicate. + click + //div[@id='wrapper-content']/ul/li[10] @@ -1143,94 +1289,10 @@ I travel the country teaching monkeys in zoos how to communicate. + - verifyElementPresent - link=Primates Foundation of America - - - - verifyElementPresent - link=Monkey Trainer of the Year - - - - verifyTextPresent - Jane - - - - verifyTextPresent - Elizabeth - - - - verifyTextPresent - Faculty - - - - verifyTextPresent - 607-255-5555 - - - - verifyTextPresent - 607-244-4444 - - - - verifyTextPresent - mejane@africa.com - - - - verifyElementPresent - link=The Jungle - - - - verifyTextPresent - Congo City - - - - verifyTextPresent - 1234567890 - - - - verifyTextPresent - Democratic Republic of Congo - - - - verifyTextPresent - Ms. - - - - verifyTextPresent - III - - - - verifyTextPresent - 1234 - - - - verifyTextPresent - 5678 - - - - verifyTextPresent - 123456789 - - - - verifyTextPresent - Apes + click + //div[@id='wrapper-content']/ul/li[12] @@ -1243,16 +1305,105 @@ link=Licensed Primate Expert + + verifyElementPresent + link=Monkey Trainer of the Year + + + + + click + //div[@id='wrapper-content']/ul/li[14] + + + + verifyTextPresent + Ms. Jane Elizabeth Faculty, III + + + + verifyTextPresent + 607-244-4444 + + + + verifyTextPresent + The Jungle + + + + verifyTextPresent + Congo City + + + + verifyTextPresent + Congola State + + + + verifyTextPresent + 1234567890 + + + + verifyTextPresent + Democratic Republic of Congo + + + + + click + //div[@id='wrapper-content']/ul/li[16] + + + + verifyTextPresent + 1234 + + verifyTextPresent ABC123987 + + verifyTextPresent + 123456789 + + + + verifyElementPresent + link=5678 + + + + + click + //div[@id='wrapper-content']/ul/li[18] + + verifyElementPresent link=USABC123456789 + + verifyTextPresent + Apes + + + + + verifyTextPresent + Foundation + + + + verifyElementPresent + link=Primates Foundation of America + + clickAndWait diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html index f4b797b6..6cc329de 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html @@ -108,7 +108,7 @@ clickAndWait - link=exact:Can't find the concept you want? Create your own. + link=Can't find the concept you want? Create your own. @@ -138,7 +138,7 @@ clickAndWait - css=a.add-webpage > img.add-individual + //img[@alt='manage'] @@ -168,12 +168,22 @@ type - anchor + id=label CIT Homepage clickAndWait - submit + id=submit + + + + assertTitle + Edit + + + + clickAndWait + id=returnToIndividual @@ -213,7 +223,7 @@ clickAndWait - //h3[@id='advisorIn']/a/img + xpath=(//img[@alt='add'])[20] @@ -221,6 +231,11 @@ Edit + + clickAndWait + //h3[@id='advisorIn']/a/img + + select id=selector @@ -278,7 +293,7 @@ clickAndWait - //h3[@id='awardOrHonor']/a/img + xpath=(//img[@alt='add'])[29] @@ -303,7 +318,7 @@ clickAndWait - //h2[@id='phoneNumber']/a/img + xpath=(//img[@alt='add'])[4] @@ -311,19 +326,14 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=telephoneNumber 607-288-8888 clickAndWait - submit + id=submit @@ -331,29 +341,29 @@ Faculty, Jane + + clickAndWait + css=article.property > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual + + + + assertTitle + Edit + + clickAndWait //h3[@id='faxNumber']/a/img - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - type - tinymce + id=telephoneNumber 607-299-9999 clickAndWait - submit + id=submit @@ -361,6 +371,16 @@ Faculty, Jane + + clickAndWait + css=a.add-ARG_2000028 > img.add-individual + + + + assertTitle + Edit + + clickAndWait //h2[@id='email']/a/img @@ -371,19 +391,14 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=emailAddress jane@gmail.com clickAndWait - submit + id=submit @@ -393,7 +408,7 @@ clickAndWait - //h3[@id='mailingAddress']/a/img + xpath=(//img[@alt='add'])[32] @@ -408,13 +423,8 @@ type - id=addrLineOne - CIT - - - type - id=addrLineTwo - Cornell University + id=streetAddress + CIT Cornell University type @@ -422,15 +432,20 @@ Ithaca - select - id=stateSelect - label=New York + type + id=state + New York type id=postalCode 14853 + + type + id=countryEditMode + United States of America + clickAndWait id=submit @@ -451,19 +466,14 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=orcidId 454545 clickAndWait - submit + id=submit @@ -623,6 +633,21 @@ Faculty, Jane + + verifyTextPresent + Faculty, Jane + + + + verifyTextPresent + Assistant Professor + + + + verifyTextPresent + I am named after Jane in the Tarzan stories. Yes, my last name really is faculty. + + verifyElementPresent link=African Primates @@ -630,12 +655,32 @@ verifyElementPresent - link=Primatia + link=Primatia Africana verifyElementPresent - link=Primatia Africana + link=mejane@primates-r-us.com + + + + verifyElementPresent + link=jane@gmail.com + + + + verifyElementPresent + link=jfac@gmail.com + + + + verifyTextPresent + 607-266-6666 + + + + verifyTextPresent + 607-288-8888 @@ -648,19 +693,14 @@ link=CIT Homepage - - verifyTextPresent - I am named after Jane in the Tarzan stories. Yes, my last name really is faculty. - - verifyElementPresent - link=Librarian, Lily + link=Librarian, Lily Lou verifyTextPresent - Librarian, Lily Assistant Librarian + Librarian, Lily Lou Assistant Librarian @@ -668,11 +708,6 @@ I study apes, of course. - - verifyElementPresent - link=Africa - - verifyElementPresent link=Mozamia @@ -683,6 +718,11 @@ link=southern Africa + + verifyTextPresent + I teach apes how to communicate with humans. + + verifyTextPresent postdoc or fellow advising relationship @@ -698,11 +738,6 @@ link=SPCA, The - - verifyTextPresent - I teach apes how to communicate with humans. - - verifyTextPresent I travel the world teaching apes how to communicate with humans. @@ -710,17 +745,12 @@ verifyElementPresent - link=Humane Society of Africa + link=Primate Experts verifyElementPresent - link=Primates Unite - - - - verifyElementPresent - link=Chimp Lover for Life + link=Licensed Primate Instructor @@ -729,23 +759,18 @@ - verifyTextPresent - Jane + verifyElementPresent + link=Chimp Lover for Life verifyTextPresent - E. + Mrs. Jane E. Faculty, Jr. verifyTextPresent - Faculty - - - - verifyTextPresent - 607-288-8888 + 607-299-9999 @@ -755,17 +780,7 @@ verifyTextPresent - jane@gmail.com - - - - verifyTextPresent - mejane@primates-r-us.com - - - - verifyElementPresent - link=Jungle 1234 + Jungle 1234 @@ -775,17 +790,22 @@ verifyTextPresent - 1234567890 - - - - verifyElementPresent - link=CIT + Congola State verifyTextPresent - Cornell University + 1234567890 + + + + verifyTextPresent + Democratic Republic of Congo + + + + verifyTextPresent + CIT Cornell University @@ -795,12 +815,7 @@ verifyTextPresent - Mrs. - - - - verifyTextPresent - Jr. + USA @@ -813,6 +828,16 @@ 454545 + + verifyTextPresent + ABC121212 + + + + verifyTextPresent + ABC123987 + + verifyTextPresent 222222 @@ -823,11 +848,6 @@ 67676767 - - verifyTextPresent - 987654321 - - verifyTextPresent 3333333 @@ -835,37 +855,7 @@ verifyTextPresent - African Primates - - - - verifyTextPresent - African Apes - - - - verifyElementPresent - link=Primate Experts - - - - verifyElementPresent - link=Licensed Primate Expert - - - - verifyElementPresent - link=Licensed Primate Instructor - - - - verifyTextPresent - ABC123987 - - - - verifyTextPresent - ABC121212 + 987654321 @@ -873,9 +863,24 @@ link=USA1234567890 + + verifyTextPresent + African Apes + + + + verifyTextPresent + African Primates + + verifyElementPresent - link=USABC123456789 + link=Primates Unite + + + + verifyElementPresent + link=Humane Society of Africa diff --git a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html index 45c45df6..1c34381c 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html +++ b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html @@ -152,6 +152,17 @@ Assistant Professor + + + verifyTextPresent + No research content found. + + + + verifyElementPresent + link=Faculty, Jane + + clickAndWait diff --git a/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html b/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html index ab7b7c6d..32cbf7e7 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html +++ b/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html @@ -93,7 +93,12 @@ type - lastName + id=middleName + Lou + + + type + id=lastName Librarian @@ -103,13 +108,13 @@ assertTitle - Librarian, Lily + Librarian, Lily Lou clickAndWait - css=a.add-preferredTitle > img.add-individual + css=header > #ARG_2000028 > a.add-ARG_2000028 > img.add-individual @@ -117,24 +122,19 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=preferredTitle Assistant Librarian clickAndWait - submit + id=submit assertTitle - Librarian, Lily + Librarian, Lily Lou @@ -145,7 +145,7 @@ verifyTextPresent - Librarian, Lily + Librarian, Lily Lou @@ -201,12 +201,12 @@ verifyElementPresent - link=Librarian, Lily + link=Librarian, Lily Lou verifyTextPresent - Librarian, Lily Assistant Librarian + Librarian, Lily Lou Assistant Librarian @@ -232,12 +232,63 @@ verifyElementPresent - link=Librarian, Lily + link=Librarian, Lily Lou verifyTextPresent - Librarian, Lily Assistant Librarian + Librarian, Lily Lou Assistant Librarian + + + + + verifyTextPresent + No research content found. + + + + verifyElementPresent + link=Faculty, Jane + + + + verifyElementPresent + link=View all ... + + + + clickAndWait + link=View all ... + + + + assertTitle + People + + + + click + link=Person (2) + + + + verifyElementPresent + link=Faculty, Jane + + + + verifyTextPresent + Assistant Professor + + + + verifyElementPresent + link=Librarian, Lily Lou + + + + verifyTextPresent + Assistant Librarian diff --git a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html index 4e4cb6e6..3fc916cf 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html @@ -131,6 +131,16 @@ Edit + + click + link=Remove + + + + assertConfirmation + Are you sure you want to remove this term? + + clickAndWait link=Return to Profile Page @@ -143,7 +153,12 @@ clickAndWait - css=a.add-webpage > img.add-individual + //img[@alt='manage'] + + + + assertTitle + Edit @@ -178,7 +193,7 @@ type - id=anchor + id=label CUL Homepage @@ -186,6 +201,11 @@ submit + + clickAndWait + id=returnToIndividual + + assertTitle Faculty, Jane @@ -243,7 +263,7 @@ clickAndWait - //div[@id='wrapper-content']/section[4]/article[1]/ul/li/a[1]/img + css=a.edit-researchOverview > img.edit-individual @@ -273,7 +293,7 @@ clickAndWait - //div[@id='wrapper-content']/section[4]/article[6]/ul/li/a[2]/img + css=a.edit-geographicFocus > img.edit-individual @@ -283,8 +303,8 @@ select - typeOfNew - label=Country (vivo) + id=typeOfNew + label=Geopolitical Entity (vivo) clickAndWait @@ -311,6 +331,26 @@ Faculty, Jane + + clickAndWait + css=a.delete-geographicFocus > img.delete-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + clickAndWait css=a.edit-advisorIn > img.edit-individual @@ -343,7 +383,7 @@ clickAndWait - //div[@id='wrapper-content']/section[5]/article[1]/ul/li/a[1]/img + css=a.edit-teachingOverview > img.edit-individual @@ -438,7 +478,7 @@ clickAndWait - css=a.edit-awardOrHonor > img.edit-individual + css=#relatedBy-AwardorHonorReceipt-List > li > a.edit-relatedBy > img.edit-individual @@ -446,6 +486,11 @@ Edit + + clickAndWait + css=a.edit-awardOrHonor > img.edit-individual + + type id=org @@ -463,7 +508,7 @@ clickAndWait - //div[@id='wrapper-content']/section[8]/article[2]/ul/li/a[1]/img + css=#ARG_2000028-Name-List > li > a.edit-ARG_2000028 > img.edit-individual @@ -471,14 +516,9 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=middleName E. @@ -493,7 +533,7 @@ clickAndWait - //ul[@id='individual-phone']/li/a[1]/img + css=#individual-phone > li > a.edit-ARG_2000028 > img.edit-individual @@ -501,14 +541,9 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=telephoneNumber 607-266-6666 @@ -523,7 +558,7 @@ clickAndWait - //div[@id='wrapper-content']/section[8]/article[6]/ul/li/a[1]/img + css=#ARG_2000028-Fax-List > li > a.edit-ARG_2000028 > img.edit-individual @@ -531,19 +566,14 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=telephoneNumber 607-277-7777 clickAndWait - submit + id=submit @@ -553,7 +583,7 @@ clickAndWait - //img[@alt='edit'] + css=img.edit-individual @@ -561,19 +591,14 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=emailAddress mejane@primates-r-us.com clickAndWait - submit + id=submit @@ -583,7 +608,7 @@ clickAndWait - css=a.edit-mailingAddress > img.edit-individual + css=#ARG_2000028-Address-List > li > a.edit-ARG_2000028 > img.edit-individual @@ -593,7 +618,7 @@ type - id=addrLineOne + id=streetAddress Jungle 1234 @@ -608,7 +633,7 @@ clickAndWait - //div[@id='wrapper-content']/section[8]/article[4]/ul/li/a[1]/img + css=#ARG_2000028-Name-List > li > a.edit-ARG_2000028 > img.edit-individual @@ -616,79 +641,19 @@ Edit - - waitForElementPresent - tinymce - - type - tinymce + id=prefix Mrs. - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //div[@id='wrapper-content']/section[8]/article[5]/ul/li/a[1]/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - type - tinymce + id=suffix Jr. clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //div[@id='wrapper-content']/section[9]/article[1]/ul/li/a[1]/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - 11111 - - - clickAndWait - submit + id=submit @@ -706,19 +671,9 @@ Edit - - waitForElementPresent - tinymce - - - - type - tinymce - 222222 - clickAndWait - submit + id=submit @@ -737,18 +692,28 @@ - waitForElementPresent - tinymce + clickAndWait + id=submit - type - tinymce - 3333333 + assertTitle + Faculty, Jane + clickAndWait - submit + css=a.edit-freetextKeyword > img.edit-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit @@ -829,7 +794,7 @@ clickAndWait - css=a.edit-hasCredential > img.edit-individual + css=#backgroundGroup > article.property > #relatedBy > a.add-relatedBy > img.add-individual @@ -839,12 +804,27 @@ select - typeOfNew - label=Licensure (vivo) + id=typeSelector + label=License + + + type + id=credential + Licensed Primate Instructor clickAndWait - id=offerCreate + css=input.submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.delete-relatedBy > img.delete-individual @@ -852,14 +832,9 @@ Edit - - type - name - Licensed Primate Instructor - clickAndWait - submit + id=submit @@ -932,6 +907,26 @@ Faculty, Jane + + clickAndWait + xpath=(//img[@alt='delete this entry'])[23] + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + clickAndWait @@ -964,13 +959,13 @@ - verifyElementPresent - link=Primatia Africana + verifyTextPresent + Faculty, Jane - verifyElementPresent - link=CUL Homepage + verifyTextPresent + Assistant Professor @@ -980,12 +975,37 @@ verifyElementPresent - link=Librarian, Lily + link=Primatia Africana + + + + verifyElementPresent + link=mejane@primates-r-us.com + + + + verifyElementPresent + link=jfac@gmail.com verifyTextPresent - Librarian, Lily Assistant Librarian + 607-266-6666 + + + + verifyElementPresent + link=CUL Homepage + + + + verifyElementPresent + link=Librarian, Lily Lou + + + + verifyTextPresent + Librarian, Lily Lou Assistant Librarian @@ -998,6 +1018,11 @@ link=Mozamia + + verifyTextPresent + I teach apes how to communicate with humans. + + verifyTextPresent postdoc or fellow advising relationship @@ -1008,11 +1033,6 @@ link=Smith, Joe - - verifyTextPresent - I teach apes how to communicate with humans. - - verifyTextPresent I travel the world teaching apes how to communicate with humans. @@ -1023,6 +1043,11 @@ link=Primates Unite + + verifyElementPresent + link=Licensed Primate Instructor + + verifyElementPresent link=Ape Trainer of the Decade @@ -1030,22 +1055,7 @@ verifyTextPresent - Jane - - - - verifyTextPresent - E. - - - - verifyTextPresent - Faculty - - - - verifyTextPresent - 607-266-6666 + Mrs. Jane E. Faculty, Jr. @@ -1055,12 +1065,7 @@ verifyTextPresent - mejane@primates-r-us.com - - - - verifyElementPresent - link=Jungle 1234 + Jungle 1234 @@ -1068,6 +1073,11 @@ Congo City + + verifyTextPresent + Congola State + + verifyTextPresent 1234567890 @@ -1095,12 +1105,22 @@ verifyTextPresent - 222222 + ABC121212 verifyTextPresent - 3333333 + 222222 + + + + verifyElementPresent + link=3333333 + + + + verifyElementPresent + link=USA1234567890 @@ -1113,21 +1133,6 @@ link=Primate Experts - - verifyTextPresent - Licensed Primate Instructor - - - - verifyTextPresent - ABC121212 - - - - verifyElementPresent - link=USA1234567890 - - clickAndWait diff --git a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html index d2fca690..df684590 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html @@ -28,6 +28,37 @@ + + + verifyTextNotPresent + No research found. + + + + verifyElementPresent + link=View all ... + + + + verifyTextNotPresent + No faculty members found. + + + + verifyElementPresent + link=Faculty, Jane + + + + verifyElementPresent + css=a[alt="view all faculty"] + + + + verifyTextPresent + No academic departments found. + + clickAndWait @@ -62,7 +93,12 @@ verifyTextPresent - Faculty, Jane Assistant Professor + Faculty, Jane + + + + verifyTextPresent + Assistant Professor @@ -77,12 +113,12 @@ verifyElementPresent - link=Primatia + link=Primatia Africana verifyElementPresent - link=Primatia Africana + link=mejane@primates-r-us.com @@ -92,7 +128,7 @@ verifyElementPresent - link=mejane@primates-r-us.com + link=jfac@gmail.com @@ -117,12 +153,12 @@ verifyElementPresent - link=Librarian, Lily + link=Librarian, Lily Lou verifyTextPresent - Librarian, Lily Assistant Librarian + Librarian, Lily Lou Assistant Librarian @@ -130,11 +166,6 @@ I study apes, of course. - - verifyElementPresent - link=Africa - - verifyElementPresent link=Mozamia @@ -175,26 +206,21 @@ link=Primate Experts - - verifyElementPresent - link=Licensed Primate Expert - - verifyElementPresent link=Licensed Primate Instructor - - verifyElementPresent - link=Chimp Lover for Life - - verifyElementPresent link=Monkey Trainer of the Year + + verifyElementPresent + link=Chimp Lover for Life + + verifyElementPresent link=Ape Trainer of the Decade @@ -202,7 +228,112 @@ verifyTextPresent - Monkey Trainer of the Year, conferred by Ape Trainer of the Decade + Mrs. Jane E. Faculty, Jr. + + + + verifyTextPresent + 607-299-9999 + + + + verifyTextPresent + 607-277-7777 + + + + verifyTextPresent + Jungle 1234 + + + + verifyTextPresent + Congo City + + + + verifyTextPresent + Congola State + + + + verifyTextPresent + 1234567890 + + + + verifyTextPresent + Democratic Republic of Congo + + + + verifyTextPresent + CIT Cornell University + + + + verifyTextPresent + Ithaca, New York  14853 + + + + verifyTextPresent + United States of America + + + + verifyTextPresent + 11111 + + + + verifyTextPresent + 454545 + + + + verifyTextPresent + ABC121212 + + + + verifyTextPresent + ABC123987 + + + + verifyTextPresent + 222222 + + + + verifyTextPresent + 67676767 + + + + verifyTextPresent + 3333333 + + + + verifyTextPresent + 987654321 + + + + verifyElementPresent + link=USA1234567890 + + + + verifyTextPresent + African Apes + + + + verifyTextPresent + African Primates @@ -220,126 +351,6 @@ link=Primates Unite - - verifyTextPresent - Mrs. - - - - verifyTextPresent - Jr. - - - - verifyTextPresent - 607-277-7777 - - - - verifyTextPresent - 607-299-9999 - - - - verifyElementPresent - link=Jungle 1234 - - - - verifyTextPresent - Congo City - - - - verifyTextPresent - 1234567890 - - - - verifyTextPresent - Democratic Republic of Congo - - - - verifyElementPresent - link=CIT - - - - verifyTextPresent - Cornell University - - - - verifyTextPresent - Ithaca, New York  14853 - - - - verifyTextPresent - United States of America - - - - verifyTextPresent - ABC121212 - - - - verifyTextPresent - ABC123987 - - - - verifyElementPresent - link=USA1234567890 - - - - verifyElementPresent - link=USABC123456789 - - - - verifyTextPresent - African Apes - - - - verifyTextPresent - African Primates - - - - verifyTextNotPresent - 11111 - - - - verifyTextNotPresent - 454545 - - - - verifyTextNotPresent - 222222 - - - - verifyTextNotPresent - 67676767 - - - - verifyTextNotPresent - 987654321 - - - - verifyTextNotPresent - 3333333 - - open