From 4cdf7d82ed49c21050c29753c8b4bc1ea98d4c46 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Sun, 17 Jul 2011 20:08:36 +0000 Subject: [PATCH] More test changes from Holly. --- .../AddNonPersonThings/DeleteIndexStuff.html | 2 +- .../VerifyAllThingsSearchable.html | 7 +- .../TestTemporalGraphs.html | 350 ++++++++++++------ 3 files changed, 242 insertions(+), 117 deletions(-) diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/DeleteIndexStuff.html b/utilities/acceptance-tests/suites/AddNonPersonThings/DeleteIndexStuff.html index 59dc5368..89644720 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/DeleteIndexStuff.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/DeleteIndexStuff.html @@ -681,7 +681,7 @@ waitForPageToLoad - 5000 + 10000 diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/VerifyAllThingsSearchable.html b/utilities/acceptance-tests/suites/AddNonPersonThings/VerifyAllThingsSearchable.html index 8f22ceb3..c8776567 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/VerifyAllThingsSearchable.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/VerifyAllThingsSearchable.html @@ -239,6 +239,11 @@ Primate Research Laboratory Laboratory + + verifyTextPresent + Best Primate College Award or Honor + + clickAndWait link=Next @@ -256,7 +261,7 @@ verifyTextPresent - Librarian, Lily Assistant Librarian + Librarian, Lily Assistant Librarian diff --git a/utilities/acceptance-tests/suites/CheckVisualizations/TestTemporalGraphs.html b/utilities/acceptance-tests/suites/CheckVisualizations/TestTemporalGraphs.html index 592f0dbd..16867059 100644 --- a/utilities/acceptance-tests/suites/CheckVisualizations/TestTemporalGraphs.html +++ b/utilities/acceptance-tests/suites/CheckVisualizations/TestTemporalGraphs.html @@ -464,66 +464,6 @@ Total Number of Publications - - verifyTextPresent - You have selected 3 of a maximum 10 people. - - - - click - //span[@id='legend-row-header']/a - - - - verifyTextPresent - You have selected 0 of a maximum 10 people. - - - - verifyElementNotPresent - link=Furter, Frank - - - - verifyElementNotPresent - link=Smith, Sally - - - - verifyElementNotPresent - link=Zink, Zoe - - - - verifyElementNotPresent - link=Johnson, Jane - - - - click - css=input.entity-selector-checkbox - - - - click - //input[@value='http://vivo.mydomain.edu/individual/n4285'] - - - - click - //input[@value='http://vivo.mydomain.edu/individual/n4758'] - - - - click - //input[@value='http://vivo.mydomain.edu/individual/n7915'] - - - - verifyTextPresent - You have selected 4 of a maximum 10 people. - - verifyElementPresent link=Furter, Frank @@ -534,21 +474,96 @@ link=Smith, Sally - - verifyElementPresent - link=Zink, Zoe - - verifyElementPresent link=Johnson, Jane + + comment + Clear visualization cache + + + + clickAndWait + link=Site Admin + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Rebuild visualization cache + + + + assertTitle + Visualization Tools + + + + clickAndWait + link=Refresh Cached Models for Visualization + + + + assertTitle + Regenerate Constructed Models + + + + clickAndWait + link=Child Development + + + + assertTitle + Child Development + + comment Check out temporal graphs for dept grants + + clickAndWait + link=Organizations + + + + assertTitle + Organizations + + + + pause + 5000 + + + + clickAndWait + link=Child Development + + + + assertTitle + Child Development + + + + clickAndWait + link=Temporal Graph + + + + assertTitle + Child Development - Temporal Graph Visualization + + selectAndWait //div[@id='leftUpper']/div/select @@ -709,36 +724,6 @@ link=Smith, Sally - - click - link=Clear - - - - verifyTextPresent - You have selected 0 of a maximum 10 people. - - - - verifyElementNotPresent - link=Furter, Frank - - - - verifyElementNotPresent - link=Johnson, Jane - - - - verifyElementNotPresent - link=Zink, Zoe - - - - verifyElementNotPresent - link=Smith, Sally - - comment Make dept sub-org of a college @@ -824,6 +809,51 @@ Child Development + + comment + Clear visualization cache + + + + clickAndWait + link=Site Admin + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Rebuild visualization cache + + + + assertTitle + Visualization Tools + + + + clickAndWait + link=Refresh Cached Models for Visualization + + + + assertTitle + Regenerate Constructed Models + + + + clickAndWait + link=Child Development + + + + assertTitle + Child Development + + comment Check out temporal graphs for college pubs @@ -965,25 +995,130 @@ - click - //span[@id='legend-row-header']/a + comment + Clear visualization cache - verifyTextPresent - You have selected 0 of a maximum 10 organizations. + clickAndWait + link=Site Admin - verifyElementNotPresent + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Rebuild visualization cache + + + + assertTitle + Visualization Tools + + + + clickAndWait + link=Refresh Cached Models for Visualization + + + + assertTitle + Regenerate Constructed Models + + + + clickAndWait link=Child Development + + assertTitle + Child Development + + + + clickAndWait + link=Site Admin + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Rebuild visualization cache + + + + assertTitle + Visualization Tools + + + + clickAndWait + link=Refresh Cached Models for Visualization + + + + assertTitle + Regenerate Constructed Models + + + + clickAndWait + link=College of Human Ecology + + + + assertTitle + College of Human Ecology + + comment Check out temporal graphs for college grants + + clickAndWait + link=Organizations + + + + assertTitle + Organizations + + + + clickAndWait + link=College of Human Ecology + + + + assertTitle + College of Human Ecology + + + + clickAndWait + link=Temporal Graph + + + + assertTitle + College of Human Ecology - Temporal Graph Visualization + + + + verifyTextPresent + College of Human Ecology + + selectAndWait //div[@id='leftUpper']/div/select @@ -1099,21 +1234,6 @@ link=Child Development - - click - link=Clear - - - - verifyTextPresent - You have selected 0 of a maximum 10 organizations. - - - - verifyElementNotPresent - link=Child Development - - pause 10000