diff --git a/utilities/acceptance-tests/suites/SelfEditing/AddSelfEditorId.html b/utilities/acceptance-tests/suites/SelfEditing/AddSelfEditorId.html new file mode 100644 index 00000000..4fbd95cd --- /dev/null +++ b/utilities/acceptance-tests/suites/SelfEditing/AddSelfEditorId.html @@ -0,0 +1,179 @@ + + + + + + +AddFacultyInfo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddFacultyInfo
deleteAllVisibleCookies
setTimeout500000
commentAdd all available fields that aren't tested elsewhere
open/vivo/
assertTitleVIVO
commentMust not be logged in
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust log in as site admin
typeloginNameJaneFaculty@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentFind Jane Faculty via Index
clickAndWaitlink=Index
verifyTextPresentFaculty Member
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Faculty, Jane
assertTitleFaculty, Jane
commentAdd self-editor id
clickAndWaitcss=a.add-orcidId > img.add-individual
assertTitleEdit
typetinymceJaneFaculty@cornell.edu
clickAndWaitid=submit
assertTitleFaculty, Jane
commentLog out
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/SelfEditing/CheckSelfEditorPrivileges.html b/utilities/acceptance-tests/suites/SelfEditing/CheckSelfEditorPrivileges.html index f49ca6f4..efdde855 100644 --- a/utilities/acceptance-tests/suites/SelfEditing/CheckSelfEditorPrivileges.html +++ b/utilities/acceptance-tests/suites/SelfEditing/CheckSelfEditorPrivileges.html @@ -77,12 +77,12 @@ type loginName - RickRookie@cornell.edu + JaneFaculty@cornell.edu type loginPassword - newPassword + Password clickAndWait diff --git a/utilities/acceptance-tests/suites/SelfEditing/CreateFacultyMember.html b/utilities/acceptance-tests/suites/SelfEditing/CreateFacultyMember.html index ebbddb27..6e99f8b9 100644 --- a/utilities/acceptance-tests/suites/SelfEditing/CreateFacultyMember.html +++ b/utilities/acceptance-tests/suites/SelfEditing/CreateFacultyMember.html @@ -114,101 +114,6 @@ //input[@value='Add individual of this class'] - - comment - Validate adding individual - - - - clickAndWait - link=Cancel - - - - assertTitle - VIVO Site Administration - - - - select - VClassURI - label=Faculty Member (vivo) - - - clickAndWait - //input[@value='Add individual of this class'] - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Edit - - - - verifyTextPresent - This field must not be empty. - - - - type - firstName - Jane - - - type - lastName - - - - clickAndWait - submit - - - - assertTitle - Edit - - - - verifyTextPresent - This field must not be empty. - - - - type - firstName - - - - type - lastName - Faculty - - - clickAndWait - submit - - - - assertTitle - Edit - - - - verifyTextPresent - This field must not be empty. - - comment Add Jane Faculty @@ -234,191 +139,6 @@ Faculty, Jane - - comment - Make Jane Faculty an Assistant Professor - - - - clickAndWait - css=a.add-preferredTitle > img.add-individual - - - - assertTitle - Edit - - - - type - tinymce - Assistant Professor - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - pause - 50000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - comment - Verify that Jane Faculty was created - - - - verifyTextPresent - Faculty, Jane - - - - verifyTextPresent - Assistant Professor - - - - comment - Browse for new faculty member - - - - clickAndWait - link=Index - - - - verifyElementPresent - link=Faculty Member - - - - verifyTextPresent - Faculty Member (1) - - - - verifyElementPresent - link=Person - - - - verifyTextPresent - Person (1) - - - - clickAndWait - link=Faculty Member - - - - assertTitle - Faculty Member - - - - verifyElementPresent - link=Faculty, Jane - - - - verifyTextPresent - Faculty, Jane Assistant Professor - - - - comment - Search for new faculty member - - - - type - querytext - faculty - - - clickAndWait - //input[@value='Search'] - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - refreshAndWait - 10000 - - - - assertTitle - faculty - VIVO Search Results - - - - verifyTextPresent - Search results for 'faculty' - - - - verifyElementPresent - link=Faculty, Jane - - - - verifyTextPresent - Faculty, Jane Assistant Professor - - comment Logout diff --git a/utilities/acceptance-tests/suites/SelfEditing/CreateNewSelfEditorUser.html b/utilities/acceptance-tests/suites/SelfEditing/CreateNewSelfEditorUser.html index ba92dfc2..28186f42 100644 --- a/utilities/acceptance-tests/suites/SelfEditing/CreateNewSelfEditorUser.html +++ b/utilities/acceptance-tests/suites/SelfEditing/CreateNewSelfEditorUser.html @@ -132,17 +132,17 @@ type email-address - RickRookie@cornell.edu + JaneFaculty@cornell.edu type first-name - Rick + Jane type last-name - Rookie + Faculty click @@ -181,22 +181,22 @@ verifyTextPresent - A new account for Rick Rookie was successfully created. + A new account for Jane Faculty was successfully created. verifyElementPresent - link=RickRookie@cornell.edu + link=JaneFaculty@cornell.edu verifyTextPresent - Rick + Jane verifyTextPresent - Rookie + Faculty diff --git a/utilities/acceptance-tests/suites/SelfEditing/FirstTimeSelfEditorLogin.html b/utilities/acceptance-tests/suites/SelfEditing/FirstTimeSelfEditorLogin.html index 2eea4cae..aa479f08 100644 --- a/utilities/acceptance-tests/suites/SelfEditing/FirstTimeSelfEditorLogin.html +++ b/utilities/acceptance-tests/suites/SelfEditing/FirstTimeSelfEditorLogin.html @@ -77,37 +77,7 @@ type loginName - Rick Rookie - - - type - loginPassword - incorrect - - - clickAndWait - loginForm - - - - assertTitle - Log in to VIVO - - - - verifyTextPresent - The email or password you entered is incorrect. - - - - comment - Login with correct password - - - - type - loginName - RickRookie@cornell.edu + JaneFaculty@cornell.edu type @@ -124,6 +94,11 @@ Log in to VIVO + + verifyTextPresent + Change Password to Log in + + comment Now it's time to change the password @@ -139,100 +114,15 @@ Confirm Password - - comment - Try an invalid password - - type newPassword - junky + Password type confirmPassword - junky - - - clickAndWait - passwordChangeForm - - - - verifyTextPresent - Please enter a password between 6 and 12 characters in length. - - - - comment - Try using the original password as the new one - - - - type - newPassword - myPassword - - - type - confirmPassword - myPassword - - - clickAndWait - passwordChangeForm - - - - assertTitle - Log in to VIVO - - - - verifyTextPresent - Your new password cannot match the current one. - - - - comment - Try using 2 different passwords - - - - type - newPassword - newPassword - - - type - confirmPassword - newPasword - - - clickAndWait - passwordChangeForm - - - - verifyTextPresent - The passwords entered do not match. - - - - comment - Change password correctly - - - - type - newPassword - newPassword - - - type - confirmPassword - newPassword + Password clickAndWait @@ -246,7 +136,7 @@ verifyTextPresent - Rick + Jane diff --git a/utilities/acceptance-tests/suites/SelfEditing/Suite.html b/utilities/acceptance-tests/suites/SelfEditing/Suite.html index b5ed7bf6..ab195585 100644 --- a/utilities/acceptance-tests/suites/SelfEditing/Suite.html +++ b/utilities/acceptance-tests/suites/SelfEditing/Suite.html @@ -1,21 +1,22 @@ - - - - - - Test Suite - - - - - - - - - - - - -
Test Suite
CreateNewSelfEditorUser
FirstTimeSelfEditorLogin
TryNewSelfEditorPassword
CheckSelfEditorPrivileges
CreateFacultyMember
AddFacultyInfo
DeleteFacultyInfo
DeleteNewSelfEditorUser
- - + + + + + + Test Suite + + + + + + + + + + + + + +
Test Suite
CreateFacultyMember
AddSelfEditorId
CreateNewSelfEditorUser
FirstTimeSelfEditorLogin
TryNewSelfEditorPassword
CheckSelfEditorPrivileges
AddFacultyInfo
DeleteNewSelfEditorUser
DeleteFacultyInfo
+ + diff --git a/utilities/acceptance-tests/suites/SelfEditing/TryNewSelfEditorPassword.html b/utilities/acceptance-tests/suites/SelfEditing/TryNewSelfEditorPassword.html index 6f99225d..1f803be4 100644 --- a/utilities/acceptance-tests/suites/SelfEditing/TryNewSelfEditorPassword.html +++ b/utilities/acceptance-tests/suites/SelfEditing/TryNewSelfEditorPassword.html @@ -67,12 +67,12 @@ type loginName - RickRookie@cornell.edu + JaneFaculty@cornell.edu type loginPassword - newPassword + Password clickAndWait @@ -91,7 +91,7 @@ verifyTextPresent - Rick + Jane