From c5428e4d4cfb912e9968b7fcdb482823f97fbe7e Mon Sep 17 00:00:00 2001 From: hlm7 Date: Fri, 29 Jun 2012 00:05:35 +0000 Subject: [PATCH] Holly added a new publication test case to test selecting to not display publications... --- .../AddPublications/PublicationDisplay.html | 224 ++++++++++++++++++ .../suites/AddPublications/Suite.html | 1 + 2 files changed, 225 insertions(+) create mode 100644 utilities/acceptance-tests/suites/AddPublications/PublicationDisplay.html diff --git a/utilities/acceptance-tests/suites/AddPublications/PublicationDisplay.html b/utilities/acceptance-tests/suites/AddPublications/PublicationDisplay.html new file mode 100644 index 00000000..4280cf7c --- /dev/null +++ b/utilities/acceptance-tests/suites/AddPublications/PublicationDisplay.html @@ -0,0 +1,224 @@ + + + + + + +AddArticle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddArticle
deleteAllVisibleCookies
setTimeout100000
commentChange publications to display
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust login as site admin
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentNavigate to Index
clickAndWaitlink=Index
commentNavigate to Frank Furter
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Furter, Frank
assertTitleFurter, Frank
commentVerify publications exist
verifyTextPresentToo Much Nintendo.  Child Development.  29:298-344. 2010
verifyTextPresentNintendo: Good or Bad for Kids?.  New York: Putnam. 2010
verifyTextPresentNintendo O.K. for Kids.  Kids in the 21st Century. Ed. Sony, Sunny.  New York: Marcel Dekker. 765-876.
verifyTextPresentNintendo Case Studies 2010
commentSelect display none
clickAndWaitid=managePropLink
assertTitleVIVO
clickcss=input.pubCheckbox
clickxpath=(//input[@type='checkbox'])[2]
clickxpath=(//input[@type='checkbox'])[3]
clickxpath=(//input[@type='checkbox'])[4]
clickAndWaitlink=Return to profile page
assertTitleFurter, Frank
commentLog out
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/AddPublications/Suite.html b/utilities/acceptance-tests/suites/AddPublications/Suite.html index 08df38b5..b8048453 100644 --- a/utilities/acceptance-tests/suites/AddPublications/Suite.html +++ b/utilities/acceptance-tests/suites/AddPublications/Suite.html @@ -21,6 +21,7 @@ CheckPublicView CheckIndexView SearchPublications +PublicationDisplay DeleteConference DeleteChapter DeleteArticle