From 1285dcaa3196312996b4d9ef6cc81b746a2723dd Mon Sep 17 00:00:00 2001 From: hlm7 Date: Mon, 2 Jul 2012 15:42:31 +0000 Subject: [PATCH] Holly made some additional tweaks to the CreatePeople test cases... --- .../CreatePeople/CreateFacultyMember.html | 60 ------------------- .../CreatePeople/DeleteFacultyInfo.html | 60 +++++++++---------- .../DeleteLibToFacAssociation.html | 2 +- .../suites/CreatePeople/EditFacultyInfo.html | 4 +- 4 files changed, 33 insertions(+), 93 deletions(-) diff --git a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html index 76022d31..33279f71 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html +++ b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html @@ -194,66 +194,6 @@ Assistant Professor - - comment - Take a break for indexing - - - - type - querytext - faculty - - - clickAndWait - css=input.search - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - assertTitle - faculty - VIVO Search Results - - - - verifyTextPresent - Search results for 'faculty' - - - - verifyElementPresent - link=Faculty, Jane - - - - verifyTextPresent - Faculty, Jane Assistant Professor - - comment Logout diff --git a/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html index 6b761a5b..ae31ce08 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html @@ -171,7 +171,7 @@ waitForPageToLoad - 5000 + 10000 @@ -186,7 +186,7 @@ waitForPageToLoad - 5000 + 10000 @@ -201,7 +201,7 @@ waitForPageToLoad - 5000 + 10000 @@ -316,7 +316,7 @@ waitForPageToLoad - 5000 + 10000 @@ -329,6 +329,11 @@ Are you sure you want to remove this web page? + + waitForPageToLoad + 5000 + + clickAndWait id=returnToIndividual @@ -564,26 +569,6 @@ Faculty, Jane - - clickAndWait - css=a.delete-eligibleFor > img.delete-individual - - - - assertTitle - Edit - - - - clickAndWait - id=submit - - - - assertTitle - Faculty, Jane - - clickAndWait css=a.delete-hasCredential > img.delete-individual @@ -1869,6 +1854,16 @@ VIVO Site Administration + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + clickAndWait link=Person @@ -1881,12 +1876,17 @@ clickAndWait - link=Smtih, Joe + link=Smith, Joe + + + + verifyElementPresent + link=Chimp Lover for Life (Faculty, Jane) assertTitle - Smtih, Joe + Smith, Joe @@ -2021,12 +2021,12 @@ clickAndWait - link=Chimp Lover for Life + link=Chimp Lover for Life (Faculty, Jane) assertTitle - Chimp Lover for Life + Chimp Lover for Life (Faculty, Jane) @@ -2091,12 +2091,12 @@ clickAndWait - link=Monkey Trainer of the Year + link=Monkey Trainer of the Year (Faculty, Jane) assertTitle - Monkey Trainer of the Year + Monkey Trainer of the Year (Faculty, Jane) diff --git a/utilities/acceptance-tests/suites/CreatePeople/DeleteLibToFacAssociation.html b/utilities/acceptance-tests/suites/CreatePeople/DeleteLibToFacAssociation.html index aa3ef435..4746d9c3 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/DeleteLibToFacAssociation.html +++ b/utilities/acceptance-tests/suites/CreatePeople/DeleteLibToFacAssociation.html @@ -111,7 +111,7 @@ assertTitle - Class Hierarchy + VIVO diff --git a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html index f2fcff9e..27461d5b 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html @@ -211,12 +211,12 @@ type - url + id=url http://library.cornell.edu type - anchor + id=anchor CUL Homepage