From 80fc0cadef1749275e5546bfd7105d634217c273 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Mon, 2 Jul 2012 18:54:05 +0000 Subject: [PATCH] Holly made some more changes to the AddPublications test cases... --- .../suites/AddPublications/AddConference.html | 27 +- .../AddPublications/CheckIndexView.html | 32 +- .../AddPublications/CheckPublicView.html | 62 ++-- .../DeleteValidationStuff.html | 313 +++++++++++++++++- .../AddPublications/SearchPublications.html | 4 +- .../AddPublications/ValidateFields.html | 21 +- 6 files changed, 392 insertions(+), 67 deletions(-) diff --git a/utilities/acceptance-tests/suites/AddPublications/AddConference.html b/utilities/acceptance-tests/suites/AddPublications/AddConference.html index ab490db7..6eb18e4c 100644 --- a/utilities/acceptance-tests/suites/AddPublications/AddConference.html +++ b/utilities/acceptance-tests/suites/AddPublications/AddConference.html @@ -429,21 +429,6 @@ Faculty Member (1) - - clickAndWait - link=Person - - - - assertTitle - Person - - - - assertTitle - Index of Contents - - verifyElementPresent link=Person @@ -521,7 +506,7 @@ verifyTextPresent - Article (1) + Article (2) @@ -544,6 +529,16 @@ Concept (1) + + verifyElementPresent + link=Conference Paper + + + + verifyTextPresent + Conference Paper (1) + + comment Verify Conference Paper shows up for Frank Furter diff --git a/utilities/acceptance-tests/suites/AddPublications/CheckIndexView.html b/utilities/acceptance-tests/suites/AddPublications/CheckIndexView.html index 86d9140f..244fb899 100644 --- a/utilities/acceptance-tests/suites/AddPublications/CheckIndexView.html +++ b/utilities/acceptance-tests/suites/AddPublications/CheckIndexView.html @@ -86,7 +86,7 @@ verifyTextPresent - Faculty Member (2) + Faculty Member (1) @@ -114,6 +114,16 @@ Conference (1) + + verifyElementPresent + link=Event + + + + verifyTextPresent + Event (1) + + verifyTextPresent organizations @@ -184,16 +194,6 @@ Chapter (1) - - verifyElementPresent - link=Conference Paper - - - - verifyTextPresent - Conference Paper (1) - - verifyElementPresent link=Concept @@ -204,6 +204,16 @@ Concept (1) + + verifyElementPresent + link=Conference Paper + + + + verifyTextPresent + Conference Paper (1) + + comment All done diff --git a/utilities/acceptance-tests/suites/AddPublications/CheckPublicView.html b/utilities/acceptance-tests/suites/AddPublications/CheckPublicView.html index 83fc7f46..cd6116d3 100644 --- a/utilities/acceptance-tests/suites/AddPublications/CheckPublicView.html +++ b/utilities/acceptance-tests/suites/AddPublications/CheckPublicView.html @@ -100,38 +100,18 @@ - verifyElementPresent - link=Nintendo O.K. for Kids + verifyTextPresent + academic article verifyTextPresent - chapter - - - - verifyTextPresent - Nintendo O.K. for Kids.  Ed. Sunny Sony.  New York: Marcel Dekker. 765-876. + Too Much Nintendo.  Child Development.  29:298-344. 2010 verifyElementPresent - link=Nintendo Case Studies - - - - verifyTextPresent - conference paper - - - - verifyTextPresent - Nintendo Case Studies 2010 - - - - verifyElementPresent - link=Nintendo: Good or Bad for Kids? + link=Too Much Nintendo @@ -146,17 +126,37 @@ verifyElementPresent - link=Too Much Nintendo + link=Nintendo: Good or Bad for Kids? verifyTextPresent - academic article + chapter verifyTextPresent - Too Much Nintendo 2010 + Nintendo O.K. for Kids.  Kids in the 21st Century. Ed. Sony, Sunny.  New York: Marcel Dekker. 765-876. + + + + verifyElementPresent + link=Nintendo O.K. for Kids + + + + verifyTextPresent + conference paper + + + + verifyElementPresent + link=Nintendo Case Studies + + + + verifyElementPresent + link=Nintendo Case Studies @@ -181,12 +181,12 @@ verifyElementPresent - link=Sunny Sony + link=Sony, Sunny verifyTextPresent - Sunny Sony + Sony, Sunny Person @@ -281,7 +281,7 @@ verifyTextPresent - April 1, 2010 + 2010 @@ -451,7 +451,7 @@ verifyTextPresent - October 27, 2010 + 2010 diff --git a/utilities/acceptance-tests/suites/AddPublications/DeleteValidationStuff.html b/utilities/acceptance-tests/suites/AddPublications/DeleteValidationStuff.html index de2fa1a6..22f62ddb 100644 --- a/utilities/acceptance-tests/suites/AddPublications/DeleteValidationStuff.html +++ b/utilities/acceptance-tests/suites/AddPublications/DeleteValidationStuff.html @@ -206,12 +206,12 @@ clickAndWait - link=Mouse, Minnie M + link=Mouse, Minnie assertTitle - Mouse, Minnie M + Mouse, Minnie @@ -401,12 +401,12 @@ clickAndWait - link=Marcel Decker + link=Marcel Dekker assertTitle - Marcel Decker + Marcel Dekker @@ -584,6 +584,311 @@ link=Index + + comment + Some stuff not caught + + + + clickAndWait + link=Competition + + + + assertTitle + Competition + + + + clickAndWait + link=Kids Now Conference + + + + assertTitle + Kids Now Conference + + + + clickAndWait + link=Edit this individual + + + + assertTitle + Individual Control Panel + + + + clickAndWait + //input[@value='Edit This Individual'] + + + + assertTitle + Individual Editing Form + + + + clickAndWait + id=primaryAction + + + + 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 + 10000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Academic Article + + + + assertTitle + Academic Article + + + + clickAndWait + link=Children Today + + + + assertTitle + Children Today + + + + 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 + 10000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Academic Article + + + + assertTitle + Academic Article + + + + clickAndWait + link=Kids of the 21st Century + + + + assertTitle + Kids of the 21st Century + + + + 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 + 10000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + + + clickAndWait + link=Academic Article + + + + assertTitle + Academic Article + + + + clickAndWait + link=Kids Today + + + + assertTitle + Kids Today + + + + 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 + 10000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index of Contents + + refreshAndWait 10000 diff --git a/utilities/acceptance-tests/suites/AddPublications/SearchPublications.html b/utilities/acceptance-tests/suites/AddPublications/SearchPublications.html index b29ed144..82d503ff 100644 --- a/utilities/acceptance-tests/suites/AddPublications/SearchPublications.html +++ b/utilities/acceptance-tests/suites/AddPublications/SearchPublications.html @@ -181,12 +181,12 @@ verifyElementPresent - link=Sunny Sony + link=Sony, Sunny verifyTextPresent - Sunny Sony + Sony, Sunny Person diff --git a/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html b/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html index 1dc10510..75a71b77 100644 --- a/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html +++ b/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html @@ -302,7 +302,7 @@ type id=firstName - Minne + Minnie type @@ -324,6 +324,16 @@ id=number 15 + + type + id=startPage + 123 + + + type + id=endPage + 144 + type id=dateTime-year @@ -762,7 +772,7 @@ type id=lastName - Mou + Mous click @@ -1842,7 +1852,12 @@ type id=object - Kids Now Conference + Kids + + + click + id=ui-active-menuitem + clickAndWait