diff --git a/utilities/acceptance-tests/suites/CreateAccounts/Suite.html b/utilities/acceptance-tests/suites/CreateAccounts/Suite.html index 93ebba4f..a452b451 100644 --- a/utilities/acceptance-tests/suites/CreateAccounts/Suite.html +++ b/utilities/acceptance-tests/suites/CreateAccounts/Suite.html @@ -14,6 +14,8 @@ CreateNewProxyEditor CreateNewFacultyMember CreateNewLibrarian +ValidateAdminProxy +ValidateAdminProxy2 DeleteNewSelfEditorUser DeleteNewCuratorUser DeleteNewEditorUser diff --git a/utilities/acceptance-tests/suites/CreateAccounts/ValidateAdminProxy.html b/utilities/acceptance-tests/suites/CreateAccounts/ValidateAdminProxy.html new file mode 100644 index 00000000..7a99a0dd --- /dev/null +++ b/utilities/acceptance-tests/suites/CreateAccounts/ValidateAdminProxy.html @@ -0,0 +1,549 @@ + + + + + + +ValidateAdminProxy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValidateAdminProxy
deleteAllVisibleCookies
commentValidate Admin Proxy Editing
open/vivo/
assertTitleVIVO
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentLogin as admin
typeid=loginNametestAdmin@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
commentNavigate to profile editing
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Manage profile editing
commentVerify that correct fields and text are present
verifyTextPresentManage profile editing
verifyTextPresentRelate profile editors and profiles
verifyTextPresentSelect editors
verifyTextPresentSelect profiles
verifyTextPresentProfile editors
commentEnter nothing and get error message
clickname=createRelationship
verifyTextPresentYou must select a minimum of 1 editor and profile.
assertTitleVIVO
commentSelect profile, but not editor
type//form[@id='add-relation']/fieldset[2]/section/inputFacult
type//form[@id='add-relation']/fieldset[2]/section/inputfac
clickid=ui-active-menuitem
clickname=createRelationship
verifyTextPresentYou must select a minimum of 1 editor and profile.
clicklink=Remove selection
commentSelect editor, but not profile
typeid=selectProfileEditorsedito
clickid=ui-active-menuitem
clickname=createRelationship
verifyTextPresentYou must select a minimum of 1 editor and profile.
clicklink=Remove selection
commentEnter one of each
typeid=selectProfileEditorseditor
clickid=ui-active-menuitem
verifyTextPresentEditor, Eddie |
verifyElementPresentlink=Remove selection
type//form[@id='add-relation']/fieldset[2]/section/inputfaculty
clickid=ui-active-menuitem
verifyTextPresentFaculty, Jane | Faculty Member
verifyElementPresentlink=Remove selection
commentRemove editor and attempt to save
clicklink=Remove selection
clickname=createRelationship
verifyTextPresentYou must select a minimum of 1 editor and profile.
commentAdd back editor and then remove profile
typeid=selectProfileEditorseditor
clickid=ui-active-menuitem
clickcss=p.proxy-info-profile > a.remove-proxy
clickname=createRelationship
verifyTextPresentYou must select a minimum of 1 editor and profile.
commentAdd one link
verifyTextPresentEditor, Eddie |
verifyElementPresentlink=Remove selection
type//form[@id='add-relation']/fieldset[2]/section/inputfaculty
clickid=ui-active-menuitem
verifyTextPresentFaculty, Jane | Faculty Member
verifyElementPresentlink=Remove selection
clickAndWaitname=createRelationship
assertTitleVIVO
commentVerify relationship is set
verifyTextPresentEditor, Eddie |
verifyElementPresentlink=Delete profile editor
verifyTextPresentAdd profile
verifyTextPresentSelected profiles:
verifyTextPresentFaculty, Jane | Faculty Member
verifyElementPresentlink=Remove selection
commentTest that editing works
clickAndWaitlink=Log out
assertTitleVIVO
typeid=loginNameEddieEditor@cornell.edu
typeid=loginPasswordmyPassword
clickAndWaitname=loginForm
assertTitleVIVO
typeid=newPasswordPassword
typeid=confirmPasswordPassword
clickAndWaitname=passwordChangeForm
assertTitleVIVO
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Faculty, Jane
assertTitleFaculty, Jane
clickAndWaitcss=a.add-overview > img.add-individual
assertTitleEdit
typetinymceI am able to edit.
clickAndWaitid=submit
assertTitleFaculty, Jane
verifyTextPresentFaculty, Jane
verifyTextPresentI am able to edit.
clickAndWaitlink=My profile
assertTitleFaculty, Jane
commentCheck My profile
clickAndWaitlink=My profile
assertTitleFaculty, Jane
commentLogout
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CreateAccounts/ValidateAdminProxy2.html b/utilities/acceptance-tests/suites/CreateAccounts/ValidateAdminProxy2.html new file mode 100644 index 00000000..af7450b8 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreateAccounts/ValidateAdminProxy2.html @@ -0,0 +1,359 @@ + + + + + + +ValidateAdminProxy2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValidateAdminProxy2
deleteAllVisibleCookiesAndWait
commentValidate multiple proxy editors
open/vivo/
assertTitleVIVO
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentLogin as admin
typeid=loginNametestAdmin@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
commentNavigate to profile editing
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Manage profile editing
commentAdd second profile for Eddie Editor
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Manage profile editing
assertTitleVIVO
typeid=selectProfileEditorsEditor
clickid=ui-active-menuitem
type//form[@id='add-relation']/fieldset[2]/section/inputLibr
clickid=ui-active-menuitem
clickAndWaitname=createRelationship
assertTitleVIVO
commentVerify relationship is set
verifyTextPresentEditor, Eddie |
verifyElementPresentlink=Delete profile editor
verifyTextPresentFaculty, Jane | Faculty Member
verifyElementPresentlink=Remove selection
verifyTextPresentLibrarian, Lily | Librarian
verifyElementPresentlink=Remove selection
commentAdd third profile for Eddie Editor
typeid=addProfilePro
clickid=ui-active-menuitem
clickAndWaitname=modifyProfileList
assertTitleVIVO
verifyTextPresentThe operation was successful.
verifyTextPresentEditor, Eddie |
verifyElementPresentlink=Delete profile editor
verifyTextPresentSelected profiles:
verifyTextPresentProxy, Paula | Person
verifyElementPresentlink=Remove selection
verifyTextPresentFaculty, Jane | Faculty Member
verifyElementPresentlink=Remove selection
verifyTextPresentLibrarian, Lily | Librarian
verifyElementPresentlink=Remove selection
commentTest that editing works
clickAndWaitlink=Log out
assertTitleVIVO
typeid=loginNameEddieEditor@cornell.edu
typeid=loginPasswordPassword
clickAndWaitname=loginForm
assertTitleVIVO
clickAndWaitlink=My profile
assertTitleProxy, Paula
clickAndWaitlink=My account
assertTitleVIVO
commentCheck My profile
clickAndWaitlink=My profile
assertTitleProxy, Paula
commentLogout
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
+ +