From 8f62ab11aa4df48f529b2f741771681f1648db9e Mon Sep 17 00:00:00 2001 From: hlm7 Date: Tue, 26 Jun 2012 21:27:31 +0000 Subject: [PATCH] Holly added the RestrictLogins test case to SelfEditing test suite... --- .../suites/SelfEditing/RestrictLogins.html | 329 ++++++++++++++++++ .../suites/SelfEditing/Suite.html | 63 ++-- 2 files changed, 361 insertions(+), 31 deletions(-) create mode 100644 utilities/acceptance-tests/suites/SelfEditing/RestrictLogins.html diff --git a/utilities/acceptance-tests/suites/SelfEditing/RestrictLogins.html b/utilities/acceptance-tests/suites/SelfEditing/RestrictLogins.html new file mode 100644 index 00000000..54b3c6a6 --- /dev/null +++ b/utilities/acceptance-tests/suites/SelfEditing/RestrictLogins.html @@ -0,0 +1,329 @@ + + + + + + +AdminBookmarkedPage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AdminBookmarkedPage
commentTest restricting logins
deleteAllVisibleCookies
setTimeout100000
commentMust login
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
assertTitleVIVO
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
commentRestrict logins
clickAndWaitlink=Restrict Logins
assertTitleRestrict Logins
verifyTextPresentRestrict Logins
verifyTextPresentLogins are open to all
verifyElementPresentlink=Restrict Logins
clickAndWaitlink=Restrict Logins
assertTitleRestrict Logins
verifyTextPresentRestrict Logins
verifyTextPresentLogins are now restricted.
verifyTextPresentLogins are restricted
verifyElementPresentlink=Remove Restrictions
commentNow login as a self editor and attempt to edit
clickAndWaitlink=Log out
assertTitleVIVO
typeloginNameJaneFaculty@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
assertTitleVIVO
verifyTextPresentUser logins are temporarily disabled while the system is being maintained.
commentTurn login restriction off
clickAndWaitlink=Log in
assertTitleLog in to VIVO
typeid=loginNametestAdmin@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
assertTitleVIVO
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Restrict Logins
assertTitleRestrict Logins
clickAndWaitlink=Remove Restrictions
assertTitleRestrict Logins
verifyTextPresentRestrict Logins
verifyTextPresentLogins are no longer restricted.
verifyTextPresentLogins are open to all
verifyElementPresentlink=Restrict Logins
commentNow login as a self editor and attempt to edit
clickAndWaitlink=Log out
assertTitleVIVO
typeloginNameJaneFaculty@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
assertTitleFaculty, Jane
verifyTextNotPresentUser logins are temporarily disabled while the system is being maintained.
commentLogout now
clickAndWaitlink=Log out
clickAndWaitlink=Home
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/SelfEditing/Suite.html b/utilities/acceptance-tests/suites/SelfEditing/Suite.html index 8272d595..46359938 100644 --- a/utilities/acceptance-tests/suites/SelfEditing/Suite.html +++ b/utilities/acceptance-tests/suites/SelfEditing/Suite.html @@ -1,31 +1,32 @@ - - - - - - Test Suite - - - - - - - - - - - - - - - - - - - - - - -
Test Suite
RebuildSearchIndex
CreateFacultyMember
AddSelfEditorId
CreateNewSelfEditorUser
FirstTimeSelfEditorLogin
TryNewSelfEditorPassword
CheckSelfEditorPrivileges
DeleteNewSelfEditorUser
DeleteFacultyInfo
RebuildSearchIndex
CreateNewSelfEditorUser
FirstTimeSelfEditorLogin2
TryNewSelfEditorPassword2
CreateFacultyMember
AddSelfEditorId
CheckSelfEditorPrivileges
DeleteNewSelfEditorUser
DeleteFacultyInfo
- - + + + + + + Test Suite + + + + + + + + + + + + + + + + + + + + + + + +
Test Suite
RebuildSearchIndex
CreateFacultyMember
AddSelfEditorId
CreateNewSelfEditorUser
FirstTimeSelfEditorLogin
TryNewSelfEditorPassword
CheckSelfEditorPrivileges
RestrictLogins
DeleteNewSelfEditorUser
DeleteFacultyInfo
RebuildSearchIndex
CreateNewSelfEditorUser
FirstTimeSelfEditorLogin2
TryNewSelfEditorPassword2
CreateFacultyMember
AddSelfEditorId
CheckSelfEditorPrivileges
DeleteNewSelfEditorUser
DeleteFacultyInfo
+ +