From 6ea5508eb5916884db5a58e48d4464eada4981a3 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Tue, 26 Jun 2012 19:45:11 +0000 Subject: [PATCH] --- .../AddRoles/ChooseGrantsAndProjects.html | 329 ++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100644 utilities/acceptance-tests/suites/AddRoles/ChooseGrantsAndProjects.html diff --git a/utilities/acceptance-tests/suites/AddRoles/ChooseGrantsAndProjects.html b/utilities/acceptance-tests/suites/AddRoles/ChooseGrantsAndProjects.html new file mode 100644 index 00000000..8706770e --- /dev/null +++ b/utilities/acceptance-tests/suites/AddRoles/ChooseGrantsAndProjects.html @@ -0,0 +1,329 @@ + + + + + + +AddLibrarianRoles2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddLibrarianRoles2
commentChoose with Grants & Projects to Display
deleteAllVisibleCookies
setTimeout100000
open/vivo/
assertTitleVIVO
commentMust be logged off to start
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust login as the site admin
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentNavigate to Jane Faculty
clickAndWaitlink=Index
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Faculty, Jane
assertTitleFaculty, Jane
commentVerify manage grants & projects option
clickAndWaitid=manageGrantLink
assertTitleVIVO
verifyTextPresentManage Grants & Projects for Jane Faculty
verifyTextPresentCheck those grants and projects you want to exclude from the profile page.
verifyTextPresentCo-Principal Investigator Role
verifyTextPresentNIH VIVO
verifyTextPresentVIVO Cornell Grant
verifyTextPresentInvestigator Role
verifyTextPresentVIVO Cornell Grant Too
verifyTextPresentPrincipal Investigator Role
verifyTextPresentNIH VIVO Too
verifyTextPresentResearcher Role
verifyTextPresentHabitats for Apes
verifyTextPresentHistory of Apes in Africa
verifyElementPresentlink=Return to profile page
clickAndWaitlink=Return to profile page
assertTitleFaculty, Jane
commentChoose to not display anything
clickAndWaitid=manageGrantLink
assertTitleVIVO
clickcss=input.grantCheckbox
clickxpath=(//input[@type='checkbox'])[2]
clickxpath=(//input[@type='checkbox'])[3]
clickxpath=(//input[@type='checkbox'])[4]
clickxpath=(//input[@type='checkbox'])[5]
clickxpath=(//input[@type='checkbox'])[6]
clickAndWaitlink=Return to profile page
assertTitleFaculty, Jane
commentVerify everything is gone
verifyTextNotPresentNIH VIVO
verifyTextNotPresentVIVO Cornell Grant
verifyTextNotPresentVIVO Cornell Grant Too
verifyTextNotPresentNIH VIVO Too
verifyTextNotPresentHabitats for Apes
verifyTextNotPresentHistory of Apes in Africa
commentAdd back two grants/projects
commentLog out
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
+ +