From 6958088261b169bd0833740b9bdba30c9e8c1438 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Thu, 28 Jun 2012 20:35:16 +0000 Subject: [PATCH] Holly made major changes to the CreatePeople test suite... --- .../suites/CreatePeople/AddFacultyInfo.html | 59 +- .../suites/CreatePeople/AddFacultyInfo2.html | 213 +- .../CreatePeople/AssociateLibToFac.html | 82 +- .../CreatePeople/ChangeLibrarianImage.html | 26 +- .../CreatePeople/CreateFacultyMember.html | 48 +- .../CreatePeople/DeleteFacultyInfo.html | 1802 ++++++++++++----- .../suites/CreatePeople/EditFacultyInfo.html | 86 +- .../CreatePeople/PublicFacultyInfo.html | 239 ++- .../CreatePeople/SearchFacultyInfo.html | 148 +- .../suites/CreatePeople/Suite.html | 78 +- .../CreatePeople/UploadLibrarianImage.html | 24 +- 11 files changed, 1815 insertions(+), 990 deletions(-) diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html index 63db98df..988c821b 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html @@ -227,7 +227,7 @@ select name=urlType - label=Other + label=Standard Web Link type @@ -387,7 +387,7 @@ type id=advisee - Smtih + Smith type @@ -509,19 +509,14 @@ Edit - - clickAndWait - submit - - type - name + id=award Monkey Trainer of the Year clickAndWait - submit + css=input.submit @@ -674,6 +669,11 @@ id=city Congo City + + type + id=postalCode + 1234567890 + clickAndWait submit @@ -911,7 +911,7 @@ clickAndWait - submit + id=offerCreate @@ -929,14 +929,9 @@ css=a.add-eligibleFor > img.add-individual - - assertTitle - Edit - - clickAndWait - submit + id=offerCreate @@ -976,7 +971,7 @@ clickAndWait - submit + id=offerCreate @@ -1076,7 +1071,7 @@ clickAndWait - submit + id=offerCreate @@ -1151,12 +1146,12 @@ verifyElementPresent - link=Faculty, Jane + link=Librarian, Lily verifyTextPresent - Assistant Professor + Librarian, Lily Assistant Librarian @@ -1174,9 +1169,14 @@ link=Africa + + verifyTextPresent + postdoc or fellow advising relationship + + verifyElementPresent - link=Primates-R-Us Fellowship + link=Smith, Joe @@ -1231,7 +1231,22 @@ verifyElementPresent - link=The Jungle, Africa, 12345678 + link=The Jungle + + + + verifyTextPresent + Congo City + + + + verifyTextPresent + 1234567890 + + + + verifyTextPresent + Democratic Republic of Congo diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html index cbcd55ed..560fd760 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html @@ -194,6 +194,11 @@ Edit + + select + name=urlType + label=Standard Web Link + type url @@ -225,13 +230,18 @@ - select - objectVar - label=Africa + type + id=object + southern afri + + + click + id=ui-active-menuitem + clickAndWait - submit + id=submit @@ -250,23 +260,23 @@ - clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] - - - - assertTitle - Edit - + select + id=selector + label=Other type - name + id=advisee SPCA + + type + id=firstName + The + clickAndWait - submit + css=input.submit @@ -279,14 +289,9 @@ //h3[@id='adviseeIn']/a/img - - assertTitle - Edit - - clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + id=offerCreate @@ -319,24 +324,14 @@ Edit - - clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] - - - - assertTitle - Edit - - type - name + id=award Chimp Lover for Life clickAndWait - submit + css=input.submit @@ -445,23 +440,38 @@ - clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] - - - - assertTitle - Edit - + select + id=country + label=United States of America type - name - CIT, Cornell University, Ithaca, NY, 14853 + id=addrLineOne + CIT + + + type + id=addrLineTwo + Cornell University + + + type + id=city + Ithaca + + + select + id=stateSelect + label=New York + + + type + id=postalCode + 14853 clickAndWait - submit + id=submit @@ -594,46 +604,6 @@ Add new release 1.3 fields - - clickAndWait - css=a.add-eligibleFor > img.add-individual - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=a.add-hasCredential > img.add-individual - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - clickAndWait css=a.add-eRACommonsId > img.add-individual @@ -664,26 +634,6 @@ Faculty, Jane - - clickAndWait - css=a.add-assigneeFor > img.add-individual - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - comment Verify all fields added @@ -724,6 +674,11 @@ link=African Primates + + verifyElementPresent + link=Primatia + + verifyElementPresent link=Primatia Africana @@ -746,12 +701,12 @@ verifyElementPresent - link=Faculty, Jane + link=Librarian, Lily verifyTextPresent - Assistant Professor + Librarian, Lily Assistant Librarian @@ -771,12 +726,22 @@ verifyElementPresent - link=Primate Foundation of Africa + link=southern Africa + + + + verifyTextPresent + postdoc or fellow advising relationship verifyElementPresent - link=SPCA + link=Smtih, Joe + + + + verifyElementPresent + link=SPCA, The @@ -846,12 +811,42 @@ verifyElementPresent - link=CIT, Cornell University, Ithaca, NY, 14853 + link=Jungle 1234 + + + + verifyTextPresent + Congo City + + + + verifyTextPresent + 1234567890 + + + + verifyTextPresent + Democratic Republic of Congo
verifyElementPresent - link=Jungle 1234, Africa, 1234-56789 + link=CIT + + + + verifyTextPresent + Cornell University + + + + verifyTextPresent + Ithaca, New York  14853 + + + + verifyTextPresent + United States of America
diff --git a/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html b/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html index de2c2241..c3f7aa54 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AssociateLibToFac.html @@ -99,86 +99,11 @@ VIVO Site Administration - - comment - Put Jane's title back - - - - clickAndWait - link=Index - - - - assertTitle - Index of Contents - - - - clickAndWait - link=Faculty Member - - - - assertTitle - Faculty Member - - - - clickAndWait - link=Faculty, Jane - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=a.add-preferredTitle > img.add-individual - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - Assistant Professor - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - comment Navigate to the core:Librarian in the ontology - - clickAndWait - link=Site Admin - - - - assertTitle - VIVO Site Administration - - clickAndWait link=Class hierarchy @@ -186,7 +111,12 @@ assertTitle - Class Hierarchy + VIVO + + + + verifyTextPresent + Asserted Class Hierarchy diff --git a/utilities/acceptance-tests/suites/CreatePeople/ChangeLibrarianImage.html b/utilities/acceptance-tests/suites/CreatePeople/ChangeLibrarianImage.html index d09c7281..fe6b88c3 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/ChangeLibrarianImage.html +++ b/utilities/acceptance-tests/suites/CreatePeople/ChangeLibrarianImage.html @@ -131,7 +131,12 @@ clickAndWait - //img[@alt='edit'] + css=img.add-individual + + + + assertTitle + Upload image for Librarian, Lily @@ -291,7 +296,7 @@ clickAndWait - //input[@value='Upload photo'] + css=input.submit @@ -299,24 +304,9 @@ Crop Photo for Librarian, Lily - - verifyTextPresent - Photo Upload - - - - verifyTextPresent - Your profile photo will look like the image below. - - - - verifyTextPresent - To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. - - clickAndWait - //input[@value='Save photo'] + css=input.submit diff --git a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html index 5074a95c..76022d31 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html +++ b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html @@ -61,7 +61,7 @@ assertTitle - VIVO + Log in to VIVO @@ -72,7 +72,7 @@ type loginName - testAdmin + testAdmin@cornell.edu type @@ -84,6 +84,16 @@ loginForm + + assertTitle + VIVO + + + + clickAndWait + link=Site Admin + + assertTitle VIVO Site Administration @@ -96,12 +106,17 @@ select - VClassURI - label=Faculty Member (core) + id=VClassURI + label=Faculty Member (vivo) clickAndWait - //input[@value='Add individual of this class'] + id=submit + + + + assertTitle + Edit @@ -136,37 +151,32 @@ clickAndWait - link=edit this individual + css=a.add-preferredTitle > img.add-individual assertTitle - Individual Control Panel + Edit - clickAndWait - //input[@value='Edit This Individual'] - - - - assertTitle - Individual Editing Form + waitForElementPresent + tinymce type - MonikerSelectAlt + tinymce Assistant Professor clickAndWait - primaryAction + id=submit assertTitle - Individual Control Panel + Faculty, Jane @@ -196,7 +206,7 @@ clickAndWait - link=Search + css=input.search @@ -241,7 +251,7 @@ verifyTextPresent - Faculty, Jane | Assistant Professor + Faculty, Jane Assistant Professor diff --git a/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html index 3a9fe6bb..6b761a5b 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html @@ -131,7 +131,27 @@ clickAndWait - css=a.edit-hasResearchArea > img.edit-individual + css=a.delete-overview > img.delete-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.add-hasResearchArea > img.add-individual @@ -149,6 +169,11 @@ Are you sure you want to remove this term? + + waitForPageToLoad + 5000 + + click link=Remove @@ -159,16 +184,31 @@ Are you sure you want to remove this term? + + waitForPageToLoad + 5000 + + + + click + link=Remove + + + + assertConfirmation + Are you sure you want to remove this term? + + + + waitForPageToLoad + 5000 + + clickAndWait link=Return to Profile Page - - pause - 5000 - - assertTitle Faculty, Jane @@ -176,7 +216,7 @@ clickAndWait - //section[@id='individual-info']/div/a[2]/img + css=img.delete-individual @@ -186,7 +226,7 @@ clickAndWait - submit + id=submit @@ -196,7 +236,7 @@ clickAndWait - //img[@alt='delete'] + css=img.delete-individual @@ -206,7 +246,7 @@ clickAndWait - submit + id=submit @@ -216,7 +256,7 @@ clickAndWait - //img[@alt='delete'] + css=img.delete-individual @@ -226,7 +266,7 @@ clickAndWait - submit + id=submit @@ -236,7 +276,7 @@ clickAndWait - //img[@alt='delete'] + css=img.delete-individual @@ -246,7 +286,7 @@ clickAndWait - submit + id=submit @@ -254,96 +294,6 @@ Faculty, Jane - - clickAndWait - //img[@alt='delete'] - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //img[@alt='delete'] - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - css=img.edit-individual - - - - click - link=Delete - - - - assertConfirmation - Are you sure you want to remove this web page? - - - - assertTitle - Edit - - - - click - link=Delete - - - - assertConfirmation - Are you sure you want to remove this web page? - - - - assertTitle - Edit - - - - clickAndWait - id=returnToIndividual - - - - assertTitle - Faculty, Jane - - - - pause - 5000 - - clickAndWait css=a.add-webpage > img.add-individual @@ -365,13 +315,23 @@ - clickAndWait - id=returnToIndividual + waitForPageToLoad + 5000 - pause - 5000 + click + link=Delete + + + + assertConfirmation + Are you sure you want to remove this web page? + + + + clickAndWait + id=returnToIndividual @@ -386,7 +346,7 @@ clickAndWait - css=img.delete-individual + css=a.delete-hasCollaborator > img.delete-individual @@ -411,7 +371,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-researchOverview > img.delete-individual @@ -421,7 +381,7 @@ clickAndWait - submit + id=submit @@ -431,7 +391,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-geographicFocus > img.delete-individual @@ -441,7 +401,7 @@ clickAndWait - submit + id=submit @@ -451,7 +411,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-geographicFocus > img.delete-individual @@ -461,7 +421,27 @@ clickAndWait - submit + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.delete-geographicFocus > img.delete-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit @@ -476,7 +456,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-teachingOverview > img.delete-individual @@ -486,7 +466,7 @@ clickAndWait - submit + id=submit @@ -496,7 +476,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-advisorIn > img.delete-individual @@ -506,7 +486,7 @@ clickAndWait - submit + id=submit @@ -516,7 +496,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-advisorIn > img.delete-individual @@ -526,7 +506,7 @@ clickAndWait - submit + id=submit @@ -541,7 +521,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-outreachOverview > img.delete-individual @@ -551,7 +531,7 @@ clickAndWait - submit + id=submit @@ -566,7 +546,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-eligibleFor > img.delete-individual @@ -576,7 +556,7 @@ clickAndWait - submit + id=submit @@ -586,7 +566,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-eligibleFor > img.delete-individual @@ -596,7 +576,7 @@ clickAndWait - submit + id=submit @@ -606,7 +586,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-hasCredential > img.delete-individual @@ -616,7 +596,7 @@ clickAndWait - submit + id=submit @@ -626,7 +606,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-hasCredential > img.delete-individual @@ -636,7 +616,7 @@ clickAndWait - submit + id=submit @@ -646,7 +626,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-awardOrHonor > img.delete-individual @@ -656,7 +636,7 @@ clickAndWait - submit + id=submit @@ -666,7 +646,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-awardOrHonor > img.delete-individual @@ -676,7 +656,7 @@ clickAndWait - submit + id=submit @@ -686,7 +666,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-adviseeIn > img.delete-individual @@ -696,7 +676,7 @@ clickAndWait - submit + id=submit @@ -706,7 +686,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-adviseeIn > img.delete-individual @@ -716,7 +696,27 @@ clickAndWait - submit + id=submit + + + + assertTitle + Faculty, Jane + + + + clickAndWait + css=a.delete-adviseeIn > img.delete-individual + + + + assertTitle + Edit + + + + clickAndWait + id=submit @@ -731,7 +731,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-firstName > img.delete-individual @@ -741,7 +741,7 @@ clickAndWait - submit + id=submit @@ -751,7 +751,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-middleName > img.delete-individual @@ -761,7 +761,7 @@ clickAndWait - submit + id=submit @@ -771,7 +771,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-lastName > img.delete-individual @@ -781,7 +781,7 @@ clickAndWait - submit + id=submit @@ -791,7 +791,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-prefixName > img.delete-individual @@ -801,7 +801,7 @@ clickAndWait - submit + id=submit @@ -811,7 +811,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-suffixName > img.delete-individual @@ -821,7 +821,7 @@ clickAndWait - submit + id=submit @@ -831,7 +831,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-faxNumber > img.delete-individual @@ -841,7 +841,7 @@ clickAndWait - submit + id=submit @@ -851,7 +851,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-faxNumber > img.delete-individual @@ -861,7 +861,7 @@ clickAndWait - submit + id=submit @@ -871,7 +871,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-mailingAddress > img.delete-individual @@ -881,7 +881,7 @@ clickAndWait - submit + id=submit @@ -891,7 +891,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-mailingAddress > img.delete-individual @@ -901,7 +901,7 @@ clickAndWait - submit + id=submit @@ -916,7 +916,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-orcidId > img.delete-individual @@ -926,7 +926,7 @@ clickAndWait - submit + id=submit @@ -936,7 +936,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-orcidId > img.delete-individual @@ -946,7 +946,7 @@ clickAndWait - submit + id=submit @@ -956,7 +956,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-eRACommonsId > img.delete-individual @@ -966,7 +966,7 @@ clickAndWait - submit + id=submit @@ -976,7 +976,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-eRACommonsId > img.delete-individual @@ -986,7 +986,7 @@ clickAndWait - submit + id=submit @@ -996,7 +996,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-researcherId > img.delete-individual @@ -1006,7 +1006,7 @@ clickAndWait - submit + id=submit @@ -1016,7 +1016,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-researcherId > img.delete-individual @@ -1026,7 +1026,7 @@ clickAndWait - submit + id=submit @@ -1036,7 +1036,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-scopusId > img.delete-individual @@ -1046,7 +1046,7 @@ clickAndWait - submit + id=submit @@ -1056,7 +1056,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-scopusId > img.delete-individual @@ -1066,7 +1066,7 @@ clickAndWait - submit + id=submit @@ -1081,7 +1081,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-assigneeFor > img.delete-individual @@ -1091,7 +1091,7 @@ clickAndWait - submit + id=submit @@ -1101,7 +1101,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-assigneeFor > img.delete-individual @@ -1111,7 +1111,7 @@ clickAndWait - submit + id=submit @@ -1121,7 +1121,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-freetextKeyword > img.delete-individual @@ -1131,7 +1131,7 @@ clickAndWait - submit + id=submit @@ -1141,7 +1141,7 @@ clickAndWait - //img[@alt='delete'] + css=a.delete-freetextKeyword > img.delete-individual @@ -1151,12 +1151,7 @@ clickAndWait - submit - - - - pause - 5000 + id=submit @@ -1169,11 +1164,21 @@ Verify everything is gone + + verifyTextNotPresent + I am named after Jane in the Tarzan stories. Yes, my last name really is faculty. + + verifyElementNotPresent link=African Primates + + verifyElementNotPresent + link=Primatia + + verifyElementNotPresent link=Primatia Africana @@ -1181,7 +1186,22 @@ verifyElementNotPresent - link=CUL Homepage + link=jane@gmail.com + + + + verifyElementNotPresent + link=mejane@primates-r-us.com + + + + verifyTextNotPresent + 607-266-6666 + + + + verifyTextNotPresent + 607-288-8888 @@ -1189,24 +1209,9 @@ link=CIT Homepage - - verifyTextNotPresent - I am named after Jane in the Tarzan stories. Yes, my last name really is faculty. - - verifyElementNotPresent - link=Faculty, Jane - - - - verifyTextPresent - Faculty Member - - - - verifyTextNotPresent - Assistant Professor + link=CUL Homepage @@ -1216,12 +1221,7 @@ verifyTextNotPresent - Assistant Librarian - - - - verifyTextNotPresent - Queen + Librarian, Lily Assistant Librarian @@ -1234,11 +1234,6 @@ link=Africa - - verifyTextNotPresent - geographical_region - - verifyElementNotPresent link=Mozamia @@ -1246,22 +1241,7 @@ verifyElementNotPresent - link=Primate Foundation of Africa - - - - verifyTextNotPresent - Advising Relationship - - - - verifyElementNotPresent - link=SPCA - - - - verifyTextNotPresent - Advising Relationship + link=southern Africa @@ -1269,6 +1249,21 @@ I teach apes how to communicate with humans. + + verifyTextNotPresent + postdoc or fellow advising relationship + + + + verifyElementNotPresent + link=Smith, Joe + + + + verifyElementNotPresent + link=SPCA, The + + verifyTextNotPresent I travel the world teaching apes how to communicate with humans. @@ -1276,22 +1271,22 @@ verifyElementNotPresent - link=Humane Society of Africa - - - - verifyTextNotPresent - Advising Relationship + link=Primate Expert Association verifyElementNotPresent - link=Primates Unite + link=Primate Experts - verifyTextNotPresent - Advising Relationship + verifyElementNotPresent + link=Licensed Primate Expert + + + + verifyElementNotPresent + link=Licensed Primate Instructor @@ -1300,8 +1295,8 @@ - verifyTextNotPresent - Award or Honor + verifyElementNotPresent + link=Monkey Trainer of the Year @@ -1311,52 +1306,22 @@ verifyTextNotPresent - Award or Honor - - - - verifyTextNotPresent - E. - - - - verifyTextNotPresent - 607-288-8888 - - - - verifyTextNotPresent - 607-277-7777 - - - - verifyTextNotPresent - jane@gmail.com - - - - verifyTextNotPresent - mejane@primates-r-us.com + Monkey Trainer of the Year, conferred by Ape Trainer of the Decade verifyElementNotPresent - link=CIT, Cornell University, Ithaca, NY, 14853 - - - - verifyTextNotPresent - Address + link=Humane Society of Africa verifyElementNotPresent - link=Jungle 1234, Africa, 1234-56789 + link=Primates Foundation of America - verifyTextNotPresent - Address + verifyElementNotPresent + link=Primates Unite @@ -1369,6 +1334,86 @@ Jr. + + verifyTextNotPresent + 607-277-7777 + + + + verifyTextNotPresent + 607-299-9999 + + + + verifyElementNotPresent + link=Jungle 1234 + + + + verifyTextNotPresent + Congo City + + + + verifyTextNotPresent + 1234567890 + + + + verifyTextNotPresent + Democratic Republic of Congo + + + + verifyElementNotPresent + link=CIT + + + + verifyTextNotPresent + Cornell University + + + + verifyTextNotPresent + Ithaca, New York  14853 + + + + verifyTextNotPresent + United States of America + + + + verifyTextNotPresent + ABC121212 + + + + verifyTextNotPresent + ABC123987 + + + + verifyElementNotPresent + link=USA1234567890 + + + + verifyElementNotPresent + link=USABC123456789 + + + + verifyTextNotPresent + African Apes + + + + verifyTextNotPresent + African Primates + + verifyTextNotPresent 11111 @@ -1399,56 +1444,6 @@ 3333333 - - verifyTextNotPresent - African Primates - - - - verifyTextNotPresent - African Apes - - - - verifyElementNotPresent - link=Primate Expert Association - - - - verifyElementNotPresent - link=Primate Experts - - - - verifyElementNotPresent - link=Licensed Primate Expert - - - - verifyElementNotPresent - link=Licensed Primate Instructor - - - - verifyTextNotPresent - ABC123987 - - - - verifyTextNotPresent - ABC121212 - - - - verifyElementNotPresent - link=USA1234567890 - - - - verifyElementNotPresent - link=USABC123456789 - - comment Delete Index stuff @@ -1874,229 +1869,24 @@ VIVO Site Administration - - comment - Search for more stuff to be deleted - - - - type - querytext - primate - clickAndWait - css=input.search + link=Person assertTitle - primate - VIVO Search Results + Person clickAndWait - link=Primate Experts + link=Smtih, Joe assertTitle - Primate Experts - - - - clickAndWait - link=Edit this individual - - - - assertTitle - Individual Control Panel - - - - clickAndWait - //input[@value="Edit This Individual"] - - - - assertTitle - Individual Editing Form - - - - click - _delete - - - - assertConfirmation - Are you SURE you want to delete this individual? If in doubt, CANCEL. - - - - waitForPageToLoad - 5000 - - - - assertTitle - VIVO Site Administration - - - - type - querytext - primate - - - clickAndWait - css=input.search - - - - assertTitle - primate - VIVO Search Results - - - - clickAndWait - link=Licensed Primate Expert - - - - assertTitle - Licensed Primate Expert - - - - clickAndWait - link=Edit this individual - - - - assertTitle - Individual Control Panel - - - - clickAndWait - //input[@value="Edit This Individual"] - - - - assertTitle - Individual Editing Form - - - - click - _delete - - - - assertConfirmation - Are you SURE you want to delete this individual? If in doubt, CANCEL. - - - - waitForPageToLoad - 5000 - - - - assertTitle - VIVO Site Administration - - - - type - querytext - primate - - - clickAndWait - css=input.search - - - - assertTitle - primate - VIVO Search Results - - - - clickAndWait - link=Licensed Primate Instructor - - - - assertTitle - Licensed Primate Instructor - - - - clickAndWait - link=Edit this individual - - - - assertTitle - Individual Control Panel - - - - clickAndWait - //input[@value="Edit This Individual"] - - - - assertTitle - Individual Editing Form - - - - click - _delete - - - - assertConfirmation - Are you SURE you want to delete this individual? If in doubt, CANCEL. - - - - waitForPageToLoad - 5000 - - - - assertTitle - VIVO Site Administration - - - - type - name=querytext - jungle - - - clickAndWait - css=input.search - - - - assertTitle - jungle - VIVO Search Results - - - - clickAndWait - link=Jungle 1234, Africa, 1234-56789 - - - - assertTitle - Jungle 1234, Africa, 1234-56789 + Smtih, Joe @@ -2139,29 +1929,734 @@ VIVO Site Administration - - type - name=querytext - jungle - clickAndWait - css=input.search + link=Index assertTitle - jungle - VIVO Search Results + Index of Contents clickAndWait - link=The Jungle, Africa, 12345678 + link=Person assertTitle - The Jungle, Africa, 12345678 + Person + + + + clickAndWait + link=SPCA, The + + + + assertTitle + SPCA, The + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Award or Honor Receipt + + + + assertTitle + Award or Honor Receipt + + + + clickAndWait + link=Chimp Lover for Life + + + + assertTitle + Chimp Lover for Life + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Award or Honor Receipt + + + + assertTitle + Award or Honor Receipt + + + + clickAndWait + link=Monkey Trainer of the Year + + + + assertTitle + Monkey Trainer of the Year + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Issued Credential + + + + assertTitle + Issued Credential + + + + clickAndWait + link=Licensed Primate Expert + + + + assertTitle + Licensed Primate Expert + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Issued Credential + + + + assertTitle + Issued Credential + + + + clickAndWait + link=Licensed Primate Instructor + + + + assertTitle + Licensed Primate Instructor + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Organization + + + + assertTitle + Organization + + + + clickAndWait + link=Ape Trainer of the Decade + + + + assertTitle + Ape Trainer of the Decade + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Award or Honor + + + + assertTitle + Award or Honor + + + + clickAndWait + link=Chimp Lover for Life + + + + assertTitle + Chimp Lover for Life + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Award or Honor + + + + assertTitle + Award or Honor + + + + clickAndWait + link=Monkey Trainer of the Year + + + + assertTitle + Monkey Trainer of the Year + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Concept + + + + assertTitle + Concept + + + + clickAndWait + link=Primate Foundation of Africa + + + + assertTitle + Primate Foundation of Africa + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Concept + + + + assertTitle + Concept + + + + clickAndWait + link=Primates-R-Us Fellowship + + + + assertTitle + Primates-R-Us Fellowship + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Credential + + + + assertTitle + Credential + + + + clickAndWait + link=Primate Experts + + + + assertTitle + Primate Experts @@ -2226,12 +2721,12 @@ clickAndWait - link=CIT, Cornell University, Ithaca, NY, 14853 + link=CIT Ithaca New York assertTitle - CIT, Cornell University, Ithaca, NY, 14853 + CIT Ithaca New York @@ -2264,6 +2759,86 @@ Are you SURE you want to delete this individual? If in doubt, CANCEL. + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Address + + + + assertTitle + Address + + + + clickAndWait + link=Jungle 1234 Congo City Democratic Republic of Congo + + + + assertTitle + Jungle 1234 Congo City Democratic Republic of Congo + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + clickAndWait link=Index @@ -2359,6 +2934,141 @@ VIVO Site Administration + + comment + Search for more stuff to be deleted + + + + type + querytext + primate + + + clickAndWait + css=input.search + + + + assertTitle + primate - VIVO Search Results + + + + clickAndWait + link=Primates Unite + + + + assertTitle + Primates Unite + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + type + name=querytext + primate + + + clickAndWait + css=input.search + + + + assertTitle + primate - VIVO Search Results + + + + clickAndWait + link=Primates Foundation of America + + + + assertTitle + Primates Foundation of America + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + click + name=_delete + + + + assertConfirmation + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + comment Logout diff --git a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html index 3ae43ad2..70c8c2cd 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html @@ -209,6 +209,11 @@ 5000 + + select + name=urlType + label=Standard Web Link + type url @@ -326,7 +331,7 @@ clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + id=offerCreate @@ -351,7 +356,7 @@ clickAndWait - //div[@id='wrapper-content']/section[5]/article[3]/ul/li/a[2]/img + css=a.edit-advisorIn > img.edit-individual @@ -360,13 +365,8 @@ - clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] - - - - assertTitle - Edit + click + xpath=(//a[contains(text(),'change selection)')])[2] @@ -376,7 +376,7 @@ clickAndWait - submit + css=input.submit @@ -456,7 +456,7 @@ clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + id=offerCreate @@ -489,24 +489,14 @@ Edit - - clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] - - - - assertTitle - Edit - - type - name + id=org Ape Trainer of the Decade clickAndWait - submit + css=input.submit @@ -636,17 +626,7 @@ clickAndWait - //div[@id='wrapper-content']/section[8]/article[7]/ul/li/a[2]/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + css=a.edit-mailingAddress > img.edit-individual @@ -656,8 +636,8 @@ type - name - Jungle 1234, Africa, 1234-56789 + id=addrLineOne + Jungle 1234 clickAndWait @@ -871,7 +851,7 @@ clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + id=offerCreate @@ -911,7 +891,7 @@ clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + id=offerCreate @@ -976,7 +956,7 @@ clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + id=offerCreate @@ -1051,12 +1031,12 @@ verifyElementPresent - link=Faculty, Jane + link=Librarian, Lily verifyTextPresent - Assistant Professor + Librarian, Lily Assistant Librarian @@ -1069,9 +1049,14 @@ link=Mozamia + + verifyTextPresent + postdoc or fellow advising relationship + + verifyElementPresent - link=Primate Foundation of Africa + link=Smith, Joe @@ -1126,7 +1111,22 @@ verifyElementPresent - link=Jungle 1234, Africa, 1234-56789 + link=Jungle 1234 + + + + verifyTextPresent + Congo City + + + + verifyTextPresent + 1234567890 + + + + verifyTextPresent + Democratic Republic of Congo diff --git a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html index bc752bc9..a819f8bb 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html @@ -94,11 +94,26 @@ Verify fields that should and shouldn't be present + + verifyTextPresent + Faculty, Jane Assistant Professor + + + + verifyTextPresent + I am named after Jane in the Tarzan stories. Yes, my last name really is faculty. + + verifyElementPresent link=African Primates + + verifyElementPresent + link=Primatia + + verifyElementPresent link=Primatia Africana @@ -106,12 +121,22 @@ verifyElementPresent - link=CUL Homepage + link=jane@gmail.com - verifyTextNotPresent - (primary link) + verifyElementPresent + link=mejane@primates-r-us.com + + + + verifyTextPresent + 607-266-6666 + + + + verifyTextPresent + 607-288-8888 @@ -120,23 +145,18 @@ - verifyTextNotPresent - (additional link) - - - - verifyTextPresent - I am named after Jane in the Tarzan stories. Yes, my last name really is faculty. + verifyElementPresent + link=CUL Homepage verifyElementPresent - link=Faculty, Jane + link=Librarian, Lily verifyTextPresent - Assistant Professor + Librarian, Lily Assistant Librarian @@ -156,12 +176,7 @@ verifyElementPresent - link=Primate Foundation of Africa - - - - verifyElementPresent - link=SPCA + link=southern Africa @@ -169,6 +184,21 @@ I teach apes how to communicate with humans. + + verifyTextPresent + postdoc or fellow advising relationship + + + + verifyElementPresent + link=Smith, Joe + + + + verifyElementPresent + link=SPCA, The + + verifyTextPresent I travel the world teaching apes how to communicate with humans. @@ -176,12 +206,22 @@ verifyElementPresent - link=Humane Society of Africa + link=Primate Expert Association verifyElementPresent - link=Primates Unite + link=Primate Experts + + + + verifyElementPresent + link=Licensed Primate Expert + + + + verifyElementPresent + link=Licensed Primate Instructor @@ -189,6 +229,11 @@ link=Chimp Lover for Life + + verifyElementPresent + link=Monkey Trainer of the Year + + verifyElementPresent link=Ape Trainer of the Decade @@ -196,32 +241,22 @@ verifyTextPresent - 607-288-8888 + Monkey Trainer of the Year, conferred by Ape Trainer of the Decade - verifyTextPresent - 607-277-7777 + verifyElementPresent + link=Humane Society of Africa - verifyTextPresent - jane@gmail.com + verifyElementPresent + link=Primates Foundation of America - verifyTextPresent - mejane@primates-r-us.com - - - - verifyTextPresent - CIT, Cornell University, Ithaca, NY, 14853 - - - - verifyTextPresent - Jungle 1234, Africa, 1234-56789 + verifyElementPresent + link=Primates Unite @@ -234,6 +269,86 @@ 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 @@ -264,56 +379,6 @@ 3333333 - - verifyTextPresent - African Apes - - - - verifyTextPresent - African Primates - - - - verifyElementPresent - link=Primate Expert Association - - - - verifyElementPresent - link=Primate Experts - - - - verifyElementPresent - link=Licensed Primate Expert - - - - verifyElementPresent - link=Licensed Primate Instructor - - - - verifyTextPresent - ABC123987 - - - - verifyTextPresent - ABC121212 - - - - verifyElementPresent - link=USA1234567890 - - - - verifyElementPresent - link=USABC123456789 - - comment Logout diff --git a/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html index a6c9283a..75dc96ae 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html @@ -89,6 +89,36 @@ link=people + + verifyElementPresent + link=organizations + + + + verifyElementPresent + link=research + + + + verifyElementPresent + link=Ape Trainer of the Decade + + + + verifyTextPresent + Ape Trainer of the Decade Organization + + + + verifyElementPresent + link=Monkey Trainer of the Year + + + + verifyTextPresent + Monkey Trainer of the Year Award or Honor + + verifyElementPresent link=Faculty, Jane @@ -126,12 +156,12 @@ verifyElementPresent - link=research + link=activities verifyElementPresent - link=activities + link=research @@ -144,6 +174,11 @@ Primate Experts License + + verifyElementPresent + link=Primates Unite + + verifyElementPresent link=African Primates @@ -154,6 +189,16 @@ African Primates Concept + + verifyElementPresent + link=Licensed Primate Expert + + + + verifyTextPresent + Licensed Primate Expert Licensure + + verifyElementPresent link=Licensed Primate Instructor @@ -164,16 +209,6 @@ Licensed Primate Instructor Licensure - - verifyElementPresent - link=Faculty, Jane - - - - verifyTextPresent - Faculty, Jane Assistant Professor - - verifyElementPresent link=Primate Expert Association @@ -186,12 +221,42 @@ verifyElementPresent - link=Licensed Primate Expert + link=Primate Foundation of Africa verifyTextPresent - Licensed Primate Expert Licensure + Primate Foundation of Africa Concept + + + + verifyElementPresent + link=Primates Foundation of America + + + + verifyElementPresent + link=Primates-R-Us Fellowship + + + + verifyTextPresent + Primates-R-Us Fellowship Concept + + + + verifyElementPresent + link=Faculty, Jane advising Smith, Joe + + + + verifyElementPresent + link=Faculty, Jane + + + + verifyTextPresent + Faculty, Jane Assistant Professor @@ -219,6 +284,46 @@ link=people + + verifyElementPresent + link=activities + + + + verifyElementPresent + link=organizations + + + + verifyElementPresent + link=research + + + + verifyElementPresent + link=locations + + + + verifyElementPresent + link=Chimp Lover for Life + + + + verifyTextPresent + Chimp Lover for Life Award or Honor Receipt + + + + verifyElementPresent + xpath=(//a[contains(text(),'Chimp Lover for Life')])[2] + + + + verifyTextPresent + Chimp Lover for Life Award or Honor + + verifyElementPresent link=Faculty, Jane @@ -299,6 +404,11 @@ link=Mozamia + + verifyTextPresent + Mozamia Country + + verifyElementPresent link=Faculty, Jane @@ -334,6 +444,16 @@ link=people + + verifyElementPresent + link=Humane Society of Africa + + + + verifyElementPresent + link=L.H.D. Doctor of Humane Letters + + verifyElementPresent link=Faculty, Jane diff --git a/utilities/acceptance-tests/suites/CreatePeople/Suite.html b/utilities/acceptance-tests/suites/CreatePeople/Suite.html index 201f1847..11a3b14d 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/Suite.html +++ b/utilities/acceptance-tests/suites/CreatePeople/Suite.html @@ -1,39 +1,39 @@ - - - - - - Test Suite - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Test Suite
RebuildSearchIndex
CreateFacultyMember
CreateLibrarian
AddFacultyInfo
EditFacultyInfo
AddFacultyInfo2
RebuildSearchIndex
PublicFacultyInfo
SearchFacultyInfo
DeleteFacultyInfo
RebuildSearchIndex
UploadFacultyImage
ChangeFacultyImage
VerifyImageDisplay
UploadLibrarianImage
ChangeLibrarianImage
AssociateLibToFac
SearchPeople
BrowseIndex
TestUnicodeName
DeleteFacultyImage
DeleteLibrarianImage
DeleteLibtoFacAssociation
DeleteTestPeople
UploadNonPersonImage
ReorderPeople
- - + + + + + + Test Suite + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Suite
RebuildSearchIndex
CreateFacultyMember
CreateLibrarian
AddFacultyInfo
EditFacultyInfo
AddFacultyInfo2
RebuildSearchIndex
PublicFacultyInfo
SearchFacultyInfo
DeleteFacultyInfo
RebuildSearchIndex
UploadFacultyImage
ChangeFacultyImage
VerifyImageDisplay
UploadLibrarianImage
ChangeLibrarianImage
AssociateLibToFac
SearchPeople
BrowseIndex
TestUnicodeName
DeleteFacultyImage
DeleteLibrarianImage
DeleteLibtoFacAssociation
DeleteTestPeople
UploadNonPersonImage
ReorderPeople
+ + diff --git a/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html b/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html index dafbdd4a..a56f0f60 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html +++ b/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html @@ -426,7 +426,7 @@ clickAndWait - //input[@value='Upload photo'] + css=input.submit @@ -434,24 +434,14 @@ Crop Photo for Librarian, Lily - - verifyTextPresent - Photo Upload - - - - verifyTextPresent - Your profile photo will look like the image below. - - - - verifyTextPresent - To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. - - clickAndWait - //input[@value='Save photo'] + css=input.submit + + + + assertTitle + Librarian, Lily