diff --git a/utilities/acceptance-tests/suites/user-management/BookmarkWithoutLoggingIn.html b/utilities/acceptance-tests/suites/user-management/BookmarkWithoutLoggingIn.html new file mode 100644 index 00000000..575384ed --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/BookmarkWithoutLoggingIn.html @@ -0,0 +1,80 @@ + + + + + + +Bookmark Without Logging In + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Bookmark Without Logging In
open./showDataPropertyHierarchy?home=1
assertTitleVIVO Site Administration
typeusernamedefaultAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleData Property Hierarchy
verifyTextPresentData Property Hierarchy
clicklink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/user-management/ConfirmEditedInfo.html b/utilities/acceptance-tests/suites/user-management/ConfirmEditedInfo.html new file mode 100644 index 00000000..4277f88d --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/ConfirmEditedInfo.html @@ -0,0 +1,140 @@ + + + + + + +Confirm Edited Info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Confirm Edited Info
open.
assertTitleVIVO
commentTry to log in with original username
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
typeusernameUser Mgmt
typepasswordresetPasswd
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
verifyTextPresent(unknown username)
verifyTextPresentUnknown username
commentNow log in with new username (and new password)
typeusernameUser Management
typepasswordresetPasswd
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
verifyTextPresentLogged in as
verifyTextPresentUser Management
commentLog out
clickAndWaitloginSubmitMode
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/user-management/CreateNewUser.html b/utilities/acceptance-tests/suites/user-management/CreateNewUser.html new file mode 100644 index 00000000..0e5c6adf --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/CreateNewUser.html @@ -0,0 +1,210 @@ + + + + + + +Create New User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Create New User
open.
assertTitleVIVO
commentLogin as defaultAdmin
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
typeusernamedefaultAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentCreate a new user
clickAndWaitlink=User accounts
assertTitleUser Accounts
clickAndWait//input[@value='Add new user account']
assertTitleUser Account Editing Form
typeUsernameUser Mgmt
typeFirstNameUser
typeLastNameMgmt
typeMd5passwordUserMgmt
commentEnter a mis-matched confirmation password
typepasswordConfirmationsomethingElse
clickprimaryAction
assertAlertThe passwords do not match.
commentNow enter a correct password
typepasswordConfirmationUserMgmt
clickAndWaitprimaryAction
assertTitleUser Account Control Panel
commentConfirm values for new user
verifyText//tr[1]/td[2]User Mgmt
verifyText//tr[2]/td[2]User
verifyText//tr[3]/td[2]Mgmt
verifyText//tr[4]/td[2]0
verifyTextPresentunprivileged
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/user-management/DeleteNewUser.html b/utilities/acceptance-tests/suites/user-management/DeleteNewUser.html new file mode 100644 index 00000000..d270dbaf --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/DeleteNewUser.html @@ -0,0 +1,170 @@ + + + + + + +Delete New User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete New User
open.
assertTitleVIVO
commentLog in as default admin
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
typeusernamedefaultAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentGo to User Accounts
clickAndWaitlink=User accounts
assertTitleUser Accounts
verifyElementPresentlink=User Management
commentView the new user account, and edit it.
clickAndWaitlink=User Management
assertTitleUser Account Control Panel
clickAndWait//input[@value='Edit User Account']
assertTitleUser Account Editing Form
commentDelete the account
click_delete
assertConfirmationAre you SURE you want to delete this user? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleUser Accounts
verifyElementNotPresentlink=User Management
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/user-management/EditUserInfo.html b/utilities/acceptance-tests/suites/user-management/EditUserInfo.html new file mode 100644 index 00000000..adbf1906 --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/EditUserInfo.html @@ -0,0 +1,220 @@ + + + + + + +EditUserInfo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EditUserInfo
open.
assertTitleVIVO
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
typeusernamedefaultAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
clickAndWaitlink=User accounts
assertTitleUser Accounts
clickAndWaitlink=User Mgmt
assertTitleUser Account Control Panel
clickAndWait//input[@value='Edit User Account']
assertTitleUser Account Editing Form
typeUsernameUser Management
typeLastNameManagement
clickAndWaitprimaryAction
assertTitleUser Account Control Panel
clickAndWait//input[@value='Edit User Account']
assertTitleUser Account Editing Form
clickAndWait_cancel
assertTitleUser Account Control Panel
clickAndWait//input[@value='Reset Password']
assertTitleUser Account Editing Form
typeMd5passwordotherPassword
typepasswordConfirmationsomethingElse
clickprimaryAction
assertAlertThe passwords do not match.
typepasswordConfirmationotherPassword
clickprimaryAction
assertAlertPlease enter a password between 6 and 12 characters long.
typeMd5passwordresetPasswd
typepasswordConfirmationresetPasswd
clickAndWaitprimaryAction
assertTitleUser Account Control Panel
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/user-management/FirstTimeLogin.html b/utilities/acceptance-tests/suites/user-management/FirstTimeLogin.html new file mode 100644 index 00000000..f86b991b --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/FirstTimeLogin.html @@ -0,0 +1,255 @@ + + + + + + +First Time Login + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
First Time Login
open.
assertTitleVIVO
commentLogin for the first time
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentTry the wrong password
typeusernameUser Mgmt
typepasswordincorrect
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
verifyTextPresent(1st login; initial password entered incorrectly)
verifyTextPresentPlease try entering provided password again
commentNow the correct password
typepasswordUserMgmt
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
verifyTextPresent(1st login; changing to new private password)
verifyTextPresentPlease now choose a private password
commentTry changing to an invalid password
typepasswordjunk
clickloginSubmitMode
assertAlertPlease enter a password between 6 and 12 characters long
commentNow try a valid one
typepasswordnewPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
verifyTextPresent(changing to new password)
verifyTextPresentPlease re-enter new private password
commentRe-enter it incorrectly
typepasswordgarbage
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
verifyTextPresent(password incorrect)
verifyTextPresentIncorrect password: try again
commentNow re-enter it correctly
typepasswordnewPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentAre we logged in?
verifyTextPresentLogged in as
verifyTextPresentUser Mgmt
commentLog out
clickAndWaitloginSubmitMode
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/user-management/Suite.html b/utilities/acceptance-tests/suites/user-management/Suite.html new file mode 100644 index 00000000..f683c16b --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/Suite.html @@ -0,0 +1,20 @@ + + + + + + Test Suite + + + + + + + + + + + +
Test Suite
Create New User
First Time Login
Try New Password
Edit User Info
Confirm Edited Info
Delete New User
Bookmark Without Logging In
+ + diff --git a/utilities/acceptance-tests/suites/user-management/TryNewPassword.html b/utilities/acceptance-tests/suites/user-management/TryNewPassword.html new file mode 100644 index 00000000..d21a768d --- /dev/null +++ b/utilities/acceptance-tests/suites/user-management/TryNewPassword.html @@ -0,0 +1,105 @@ + + + + + + +Try New Password + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Try New Password
open.
assertTitleVIVO
commentLog in with new password
clickAndWaitlink=Log in
typeusernameUser Mgmt
typepasswordnewPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentConfirm that it worked
verifyTextPresentLogged in as
verifyTextPresentUser Mgmt
commentLog out
clickAndWaitloginSubmitMode
assertTitleVIVO
+ +