From a8f246900ff65a9f215a9d3a78053539cfbb039c Mon Sep 17 00:00:00 2001 From: hlm7 Date: Wed, 7 Dec 2011 19:32:17 +0000 Subject: [PATCH] More test updates by Holly... --- .../suites/AddRoles/RebuildSearchIndex.html | 124 +++++++++++++++ .../AddRoles/VerifyAllRolesSearchable.html | 142 +++--------------- .../suites/AddRoles/suite.html | 58 +++---- .../suites/CreatePeople/AddFacultyInfo.html | 15 -- .../suites/CreatePeople/AddFacultyInfo2.html | 15 -- .../CreatePeople/CreateFacultyMember.html | 25 --- .../suites/CreatePeople/CreateLibrarian.html | 25 --- .../suites/CreatePeople/EditFacultyInfo.html | 19 +-- 8 files changed, 178 insertions(+), 245 deletions(-) create mode 100644 utilities/acceptance-tests/suites/AddRoles/RebuildSearchIndex.html diff --git a/utilities/acceptance-tests/suites/AddRoles/RebuildSearchIndex.html b/utilities/acceptance-tests/suites/AddRoles/RebuildSearchIndex.html new file mode 100644 index 00000000..19bccbaa --- /dev/null +++ b/utilities/acceptance-tests/suites/AddRoles/RebuildSearchIndex.html @@ -0,0 +1,124 @@ + + + + + + +RebuildSearchIndex + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
RebuildSearchIndex
commentRebuild Search Index
deleteAllVisibleCookies
open/vivo/
assertTitleVIVO
clickAndWaitlink=Log in
assertTitleLog in to VIVO
typeid=loginNametestAdmin@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
assertTitleVIVO
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Rebuild search index
assertTitleRebuild Search Index
clickAndWaitname=rebuild
assertTitleRebuild Search Index
waitForTextPresentReset the search index and re-populate it.
clickAndWaitlink=Log out
+ + diff --git a/utilities/acceptance-tests/suites/AddRoles/VerifyAllRolesSearchable.html b/utilities/acceptance-tests/suites/AddRoles/VerifyAllRolesSearchable.html index 2b85fb89..cc706c9a 100644 --- a/utilities/acceptance-tests/suites/AddRoles/VerifyAllRolesSearchable.html +++ b/utilities/acceptance-tests/suites/AddRoles/VerifyAllRolesSearchable.html @@ -74,11 +74,6 @@ VIVO - VIVO Search Results - - verifyElementPresent - link=people - - verifyElementPresent link=activities @@ -114,11 +109,6 @@ VIVO Cornell Grant Too - - verifyTextPresent - Faculty, Jane Assistant Professor - - verifyElementPresent link=VIVO @@ -144,11 +134,6 @@ link=VIVO Cornell Grant Too - - verifyElementPresent - link=Faculty, Jane - - comment Verify search results for APE @@ -174,11 +159,6 @@ Search results for 'ape' - - verifyElementPresent - link=people - - verifyElementPresent link=activities @@ -204,21 +184,11 @@ Ape World Conference - - verifyTextPresent - Faculty, Jane Assistant Professor - - verifyTextPresent Habitats for Apes Grant - - verifyTextPresent - Ape Health Program - - verifyTextPresent Introduction to the Ape World Course @@ -226,7 +196,7 @@ verifyTextPresent - Prototype New Ape Home Project + Ape Health Program @@ -235,8 +205,8 @@ - verifyElementPresent - link=Habitats for Apes + verifyTextPresent + Prototype New Ape Home Project @@ -246,7 +216,7 @@ verifyElementPresent - link=History of Apes in Africa + link=Habitats for Apes @@ -254,11 +224,6 @@ link=Introduction to the Ape World - - verifyElementPresent - link=Prototype New Ape Home - - verifyElementPresent link=Ape Health Program @@ -266,7 +231,12 @@ verifyElementPresent - link=Faculty, Jane + link=History of Apes in Africa + + + + verifyElementPresent + link=Prototype New Ape Home @@ -289,11 +259,6 @@ Search results for 'primate' - - verifyElementPresent - link=people - - verifyElementPresent link=events @@ -304,11 +269,6 @@ link=organizations - - verifyTextPresent - Working with Primates Workshop - - verifyTextPresent Primates of the World Museum @@ -319,6 +279,11 @@ Researching Primates Presentation + + verifyTextPresent + Working with Primates Workshop + + verifyTextPresent Show Me the Primates! Event @@ -329,19 +294,9 @@ Librarians for the Better Treatment of Primates Committee - - verifyTextPresent - Librarian, Lily Associate Librarian - - - - verifyTextPresent - Faculty, Jane Assistant Professor - - verifyElementPresent - link=Working with Primates + link=Primates of the World @@ -351,7 +306,7 @@ verifyElementPresent - link=Primates of the World + link=Working with Primates @@ -364,16 +319,6 @@ link=Librarians for the Better Treatment of Primates - - verifyElementPresent - link=Librarian, Lily - - - - verifyElementPresent - link=Faculty, Jane - - comment Verify search results for LIBRARIAN @@ -411,12 +356,12 @@ verifyTextPresent - Reference Division Department + Librarians for the Better Treatment of Primates Committee verifyTextPresent - Librarians for the Better Treatment of Primates Committee + Reference Division Department @@ -426,12 +371,12 @@ verifyElementPresent - link=Reference Division + link=Librarians for the Better Treatment of Primates verifyElementPresent - link=Librarians for the Better Treatment of Primates + link=Reference Division @@ -454,11 +399,6 @@ Search results for 'animal' - - verifyElementPresent - link=people - - verifyElementPresent link=events @@ -469,21 +409,11 @@ Animal Librarianship Invited Talk - - verifyTextPresent - Librarian, Lily Associate Librarian - - verifyElementPresent link=Animal Librarianship - - verifyElementPresent - link=Librarian, Lily - - comment Verify search results for CARROLL @@ -504,11 +434,6 @@ Search results for 'carroll' - - verifyElementPresent - link=people - - verifyElementPresent link=organizations @@ -519,21 +444,11 @@ Carroll College College - - verifyTextPresent - Librarian, Lily Associate Librarian - - verifyElementPresent link=Carroll College - - verifyElementPresent - link=Librarian, Lily - - comment Verify search results for LIBRARY @@ -554,11 +469,6 @@ Search results for 'library' - - verifyElementPresent - link=people - - verifyElementPresent link=organizations @@ -569,21 +479,11 @@ Amercian Library Association Association - - verifyTextPresent - Librarian, Lily Associate Librarian - - verifyElementPresent link=Amercian Library Association - - verifyElementPresent - link=Librarian, Lily - - comment Verify search results for FACULTY diff --git a/utilities/acceptance-tests/suites/AddRoles/suite.html b/utilities/acceptance-tests/suites/AddRoles/suite.html index 82bf622d..8c0464b2 100644 --- a/utilities/acceptance-tests/suites/AddRoles/suite.html +++ b/utilities/acceptance-tests/suites/AddRoles/suite.html @@ -1,27 +1,31 @@ - - - - - - Test Suite - - - - - - - - - - - - - - - - - - -
Test Suite
CreateTestFacultyMember
CreateTestLibrarian
AddFacultyMemberRoles1
AddFacultyMemberRoles2
AddLibrarianRoles1
AddLibrarianRoles2
AddFacultyMemberRoles3
VerifyAllRolesSearchable
CheckPublicView
CheckIndexView
CheckRepairMode
DeleteTestFacultyMember
DeleteTestLibrarian
DeleteIndexStuff
- - + + + + + + Test Suite + + + + + + + + + + + + + + + + + + + + +
Test Suite
RebuildSearchIndex +
CreateTestFacultyMember
CreateTestLibrarian
AddFacultyMemberRoles1
AddFacultyMemberRoles2
AddLibrarianRoles1
AddLibrarianRoles2
AddFacultyMemberRoles3
VerifyAllRolesSearchable
CheckPublicView
CheckIndexView
CheckRepairMode
DeleteTestFacultyMember
DeleteTestLibrarian
DeleteIndexStuff
RebuildSearchIndex +
+ + diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html index 328ebec2..a5f9a189 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html @@ -154,21 +154,6 @@ id=showAddFormButton - - type - id=searchTerm - Primatia - - - click - id=searchButton - - - - verifyTextPresent - No search results found. - - assertTitle Edit diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html index 201b4cb7..9b37f1d9 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html @@ -144,21 +144,6 @@ id=showAddFormButton - - type - id=searchTerm - African Primates - - - click - id=searchButton - - - - verifyTextPresent - No search results found. - - clickAndWait link=exact:Can't find the concept you want? Create your own. diff --git a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html index a6fc006d..eacaa14b 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html +++ b/utilities/acceptance-tests/suites/CreatePeople/CreateFacultyMember.html @@ -276,31 +276,6 @@ pause - 50000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait 10000 diff --git a/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html b/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html index 7a3a96c1..5d0fc963 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html +++ b/utilities/acceptance-tests/suites/CreatePeople/CreateLibrarian.html @@ -181,31 +181,6 @@ pause - 50000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait 10000 diff --git a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html index 65b099a0..fce55f2b 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html @@ -140,30 +140,15 @@ - click + clickAndWait link=Remove - click + clickAndWait id=showAddFormButton - - type - id=searchTerm - Primatia Africana - - - click - id=searchButton - - - - verifyTextPresent - No search results found. - - clickAndWait link=exact:Can't find the concept you want? Create your own.