diff --git a/utilities/acceptance-tests/suites/CreateAccounts/CheckCuratorLoginLogout.html b/utilities/acceptance-tests/suites/CreateAccounts/CheckCuratorLoginLogout.html new file mode 100644 index 00000000..3f886a4f --- /dev/null +++ b/utilities/acceptance-tests/suites/CreateAccounts/CheckCuratorLoginLogout.html @@ -0,0 +1,264 @@ + + + +
+ + +AdminBookmarkedPage | ||
comment | +Test various login/logout processes | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Access secure bookmarked page without being logged in | ++ |
open | +/vivo/siteAdmin | ++ |
assertTitle | +Log in to VIVO | ++ |
verifyTextPresent | +Log in | ++ |
verifyTextNotPresent | +Connie | ++ |
verifyTextNotPresent | +Site Admin | ++ |
comment | +Now login and verify secure page is brought up | ++ |
type | +loginName | +ConnieCurator@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
verifyTextPresent | +Log out | ++ |
verifyTextPresent | +Connie | ++ |
verifyTextPresent | +Site Admin | ++ |
comment | +Go to Site Information and then logout | ++ |
clickAndWait | +link=Site information | ++ |
assertTitle | +Site Information Editing Form | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
verifyTextPresent | +You have logged out. | ++ |
verifyTextPresent | +Welcome to VIVO | ++ |
verifyTextPresent | +Log in | ++ |
comment | +Verify back on front page when logging back in | ++ |
type | +loginName | +ConnieCurator@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
comment | +Go to a public page, logout, and log back in going to directly to public page | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +Index of Contents | ++ |
verifyTextPresent | +You have logged out. | ++ |
verifyElementPresent | +link=Log in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
type | +loginName | +ConnieCurator@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Log out | ++ |
verifyTextPresent | +You have logged out. | ++ |
verifyElementPresent | +link=Log in | ++ |
clickAndWait | +link=Home | ++ |
assertTitle | +VIVO | ++ |
CheckCuratorPrivileges | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Check Curator priviledges | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Log in as Connie Curator | ++ |
type | +loginName | +ConnieCurator@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Check privileges: should see Data Input, Ontology Editor, Site Configuration, Advanced Data Tools. | ++ |
verifyTextPresent | +Data Input | ++ |
verifyTextPresent | +Site Configuration | ++ |
verifyElementPresent | +link=Site information | ++ |
verifyElementNotPresent | +link=Menu management | ++ |
verifyElementPresent | +link=Institutional internal class | ++ |
verifyElementNotPresent | +link=User accounts | ++ |
verifyElementPresent | +link=Manage Profile Editing | ++ |
verifyElementNotPresent | +link=Startup Status | ++ |
verifyTextPresent | +Ontology Editor | ++ |
verifyElementPresent | +link=Ontology list | ++ |
verifyTextPresent | +Class Management | ++ |
verifyElementPresent | +link=Class hierarchy | ++ |
verifyElementPresent | +link=Class groups | ++ |
verifyTextPresent | +Property Management | ++ |
verifyElementPresent | +link=Object property hierarchy | ++ |
verifyElementPresent | +link=Data property hierarchy | ++ |
verifyElementPresent | +link=Property groups | ++ |
verifyTextNotPresent | +Advanced Data Tools | ++ |
verifyElementNotPresent | +link=Ingest tools | ++ |
verifyElementNotPresent | +link=Add/Remove RDF data | ++ |
verifyElementNotPresent | +link=RDF export | ++ |
verifyElementNotPresent | +link=SPARQL query | ++ |
verifyElementNotPresent | +link=SPARQL query builder | ++ |
verifyTextNotPresent | +Refresh Content | ++ |
verifyElementNotPresent | +link=Rebuild search index | ++ |
verifyElementNotPresent | +link=Rebuild class group cache | ++ |
verifyElementNotPresent | +link=Rebuild visualization cache | ++ |
verifyElementNotPresent | +link=Recompute inferences | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AdminBookmarkedPage | ||
comment | +Test various login/logout processes | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Access secure bookmarked page without being logged in | ++ |
open | +/vivo/siteAdmin | ++ |
assertTitle | +Log in to VIVO | ++ |
verifyTextPresent | +Log in | ++ |
verifyTextNotPresent | +Eddie | ++ |
verifyTextNotPresent | +Site Admin | ++ |
comment | +Now login and verify secure page is brought up | ++ |
type | +loginName | +EddieEditor@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
verifyTextPresent | +Log out | ++ |
verifyTextPresent | +Eddie | ++ |
verifyTextPresent | +Site Admin | ++ |
comment | +Go to Site Information and then logout | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
verifyTextPresent | +You have logged out. | ++ |
verifyTextPresent | +Welcome to VIVO | ++ |
verifyTextPresent | +Log in | ++ |
comment | +Verify back on front page when logging back in | ++ |
type | +loginName | +EddieEditor@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
comment | +Go to a public page, logout, and log back in going to directly to public page | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index of Contents | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +Index of Contents | ++ |
verifyTextPresent | +You have logged out. | ++ |
verifyElementPresent | +link=Log in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
type | +loginName | +EddieEditor@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +Index of Contents | ++ |
verifyTextPresent | +You have logged out. | ++ |
verifyElementPresent | +link=Log in | ++ |
clickAndWait | +link=Home | ++ |
assertTitle | +VIVO | ++ |
CheckEditorPrivileges | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Check Editor privileges | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Log in as Eddie Editor | ++ |
type | +loginName | +EddieEditor@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
comment | +Check privileges: should see Data Input, should not see Ontology Editor, Site Configuration, Advanced Data Tools | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
verifyTextPresent | +Data Input | ++ |
verifyTextPresent | +Site Configuration | ++ |
verifyElementNotPresent | +link=Site information | ++ |
verifyElementNotPresent | +link=Menu management | ++ |
verifyElementNotPresent | +link=Institutional internal class | ++ |
verifyElementNotPresent | +link=User accounts | ++ |
verifyElementPresent | +link=Manage Profile Editing | ++ |
verifyElementNotPresent | +link=Startup Status | ++ |
verifyTextNotPresent | +Ontology Editor | ++ |
verifyElementNotPresent | +link=Ontology list | ++ |
verifyTextNotPresent | +Class Management | ++ |
verifyElementNotPresent | +link=Class hierarchy | ++ |
verifyElementNotPresent | +link=Class groups | ++ |
verifyTextNotPresent | +Property Management | ++ |
verifyElementNotPresent | +link=Object property hierarchy | ++ |
verifyElementNotPresent | +link=Data property hierarchy | ++ |
verifyElementNotPresent | +link=Property groups | ++ |
verifyTextNotPresent | +Advanced Data Tools | ++ |
verifyElementNotPresent | +link=Ingest tools | ++ |
verifyElementNotPresent | +link=Add/Remove RDF data | ++ |
verifyElementNotPresent | +link=RDF export | ++ |
verifyElementNotPresent | +link=SPARQL query | ++ |
verifyElementNotPresent | +link=SPARQL query builder | ++ |
verifyTextNotPresent | +Refresh Content | ++ |
verifyElementNotPresent | +link=Rebuild search index | ++ |
verifyElementNotPresent | +link=Rebuild class group cache | ++ |
verifyElementNotPresent | +link=Rebuild visualization cache | ++ |
verifyElementNotPresent | +link=Recompute inferences | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CheckNobodyPrivileges | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Check Unprivileged User Rights | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Login as Richard Rookie | ++ |
type | +loginName | +RickRookie@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO | ++ |
comment | +Check privileges: should not see Data Input, Ontology Editor, Site Configuration, Advanced Data Tools. | ++ |
verifyTextNotPresent | +Site Admin | ++ |
verifyElementNotPresent | +link=Site Admin | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
FirstTimeCuratorLogin | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Check first time login process | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Try logging in with wrong password | ++ |
type | +loginName | +ConnieCurator@cornell.edu | +
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 | +ConnieCurator@cornell.edu | +
type | +loginPassword | +myPassword | +
clickAndWait | +loginForm | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Now it's time to change the password | ++ |
verifyTextPresent | +New Password | ++ |
verifyTextPresent | +Confirm Password | ++ |
comment | +Try an invalid password | ++ |
type | +newPassword | +junky | +
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 | +
clickAndWait | +passwordChangeForm | ++ |
comment | +Verify that account is logged in | ++ |
verifyTextPresent | +Connie | ++ |
verifyElementPresent | +link=Log out | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
FirstTimeEditorLogin | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Check first time login process | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Try logging in with wrong password | ++ |
type | +loginName | +EddieEditor@cornell.edu | +
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 | +EddieEditor@cornell.edu | +
type | +loginPassword | +myPassword | +
clickAndWait | +loginForm | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Now it's time to change the password | ++ |
verifyTextPresent | +New Password | ++ |
verifyTextPresent | +Confirm Password | ++ |
comment | +Try an invalid password | ++ |
type | +newPassword | +junky | +
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 | +
clickAndWait | +passwordChangeForm | ++ |
comment | +Verify that account is logged in | ++ |
verifyTextPresent | +Eddie | ++ |
verifyElementPresent | +link=Log out | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
FirstTimeCuratorLogin | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Check first time login process | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Try logging in with wrong password | ++ |
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 | +
type | +loginPassword | +myPassword | +
clickAndWait | +loginForm | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Now it's time to change the password | ++ |
verifyTextPresent | +New Password | ++ |
verifyTextPresent | +Confirm Password | ++ |
comment | +Try an invalid password | ++ |
type | +newPassword | +junky | +
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 | +
clickAndWait | +passwordChangeForm | ++ |
comment | +Verify that account is logged in | ++ |
verifyTextPresent | +Rick | ++ |
verifyTextPresent | +You have logged in, but the system contains no profile for you. | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
TryNewNobodyPassword | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
comment | +Try the reset password for user | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Log in with new password | ++ |
clickAndWait | +link=Log in | ++ |
type | +loginName | +RickRookie@cornell.edu | +
type | +loginPassword | +newPassword | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO | ++ |
comment | +Confirm that it worked | ++ |
verifyTextPresent | +Rick | ++ |
verifyTextPresent | +Log out | ++ |
verifyTextPresent | +You have logged in, but the system contains no profile for you. | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateAdminProxy | ||
deleteAllVisibleCookies | -- | - |
comment | -Validate Admin Proxy Editing | -- |
open | -/vivo/ | -- |
assertTitle | -VIVO | -- |
clickAndWait | -link=Log in | -- |
assertTitle | -Log in to VIVO | -- |
comment | -Login as admin | -- |
type | -id=loginName | -testAdmin@cornell.edu | -
type | -id=loginPassword | -Password | -
clickAndWait | -name=loginForm | -- |
comment | -Navigate to profile editing | -- |
clickAndWait | -link=Site Admin | -- |
assertTitle | -VIVO Site Administration | -- |
clickAndWait | -link=Manage profile editing | -- |
comment | -Verify that correct fields and text are present | -- |
verifyTextPresent | -Manage profile editing | -- |
verifyTextPresent | -Relate profile editors and profiles | -- |
verifyTextPresent | -Select editors | -- |
verifyTextPresent | -Select profiles | -- |
verifyTextPresent | -Profile editors | -- |
comment | -Enter nothing and get error message | -- |
click | -name=createRelationship | -- |
verifyTextPresent | -You must select a minimum of 1 editor and profile. | -- |
assertTitle | -VIVO | -- |
comment | -Select profile, but not editor | -- |
type | -//form[@id='add-relation']/fieldset[2]/section/input | -Facult | -
type | -//form[@id='add-relation']/fieldset[2]/section/input | -fac | -
click | -id=ui-active-menuitem | -- |
click | -name=createRelationship | -- |
verifyTextPresent | -You must select a minimum of 1 editor and profile. | -- |
click | -link=Remove selection | -- |
comment | -Select editor, but not profile | -- |
type | -id=selectProfileEditors | -edito | -
click | -id=ui-active-menuitem | -- |
click | -name=createRelationship | -- |
verifyTextPresent | -You must select a minimum of 1 editor and profile. | -- |
click | -link=Remove selection | -- |
comment | -Enter one of each | -- |
type | -id=selectProfileEditors | -editor | -
click | -id=ui-active-menuitem | -- |
verifyTextPresent | -Editor, Eddie | | -- |
verifyElementPresent | -link=Remove selection | -- |
type | -//form[@id='add-relation']/fieldset[2]/section/input | -faculty | -
click | -id=ui-active-menuitem | -- |
verifyTextPresent | -Faculty, Jane | Faculty Member | -- |
verifyElementPresent | -link=Remove selection | -- |
comment | -Remove editor and attempt to save | -- |
click | -link=Remove selection | -- |
click | -name=createRelationship | -- |
verifyTextPresent | -You must select a minimum of 1 editor and profile. | -- |
comment | -Add back editor and then remove profile | -- |
type | -id=selectProfileEditors | -editor | -
click | -id=ui-active-menuitem | -- |
click | -css=p.proxy-info-profile > a.remove-proxy | -- |
click | -name=createRelationship | -- |
verifyTextPresent | -You must select a minimum of 1 editor and profile. | -- |
comment | -Add one link | -- |
verifyTextPresent | -Editor, Eddie | | -- |
verifyElementPresent | -link=Remove selection | -- |
type | -//form[@id='add-relation']/fieldset[2]/section/input | -faculty | -
click | -id=ui-active-menuitem | -- |
verifyTextPresent | -Faculty, Jane | Faculty Member | -- |
verifyElementPresent | -link=Remove selection | -- |
clickAndWait | -name=createRelationship | -- |
assertTitle | -VIVO | -- |
comment | -Verify relationship is set | -- |
verifyTextPresent | -Editor, Eddie | | -- |
verifyElementPresent | -link=Delete profile editor | -- |
verifyTextPresent | -Add profile | -- |
verifyTextPresent | -Selected profiles: | -- |
verifyTextPresent | -Faculty, Jane | Faculty Member | -- |
verifyElementPresent | -link=Remove selection | -- |
comment | -Test that editing works | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |
type | -id=loginName | -EddieEditor@cornell.edu | -
type | -id=loginPassword | -myPassword | -
clickAndWait | -name=loginForm | -- |
assertTitle | -VIVO | -- |
type | -id=newPassword | -Password | -
type | -id=confirmPassword | -Password | -
clickAndWait | -name=passwordChangeForm | -- |
assertTitle | -VIVO | -- |
clickAndWait | -link=Faculty Member | -- |
assertTitle | -Faculty Member | -- |
clickAndWait | -link=Faculty, Jane | -- |
assertTitle | -Faculty, Jane | -- |
clickAndWait | -css=a.add-overview > img.add-individual | -- |
assertTitle | -Edit | -- |
type | -tinymce | -I am able to edit. | -
clickAndWait | -id=submit | -- |
assertTitle | -Faculty, Jane | -- |
verifyTextPresent | -Faculty, Jane | -- |
verifyTextPresent | -I am able to edit. | -- |
clickAndWait | -link=My profile | -- |
assertTitle | -Faculty, Jane | -- |
comment | -Check My profile | -- |
clickAndWait | -link=My profile | -- |
assertTitle | -Faculty, Jane | -- |
comment | -Logout | -- |
clickAndWait | -link=Home | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |
ValidateAdminProxy2 | ||
deleteAllVisibleCookiesAndWait | -- | - |
comment | -Validate multiple proxy editors | -- |
open | -/vivo/ | -- |
assertTitle | -VIVO | -- |
clickAndWait | -link=Log in | -- |
assertTitle | -Log in to VIVO | -- |
comment | -Login as admin | -- |
type | -id=loginName | -testAdmin@cornell.edu | -
type | -id=loginPassword | -Password | -
clickAndWait | -name=loginForm | -- |
comment | -Navigate to profile editing | -- |
clickAndWait | -link=Site Admin | -- |
assertTitle | -VIVO Site Administration | -- |
clickAndWait | -link=Manage profile editing | -- |
comment | -Add second profile for Eddie Editor | -- |
clickAndWait | -link=Site Admin | -- |
assertTitle | -VIVO Site Administration | -- |
clickAndWait | -link=Manage profile editing | -- |
assertTitle | -VIVO | -- |
type | -id=selectProfileEditors | -Editor | -
click | -id=ui-active-menuitem | -- |
type | -//form[@id='add-relation']/fieldset[2]/section/input | -Libr | -
click | -id=ui-active-menuitem | -- |
clickAndWait | -name=createRelationship | -- |
assertTitle | -VIVO | -- |
comment | -Verify relationship is set | -- |
verifyTextPresent | -Editor, Eddie | | -- |
verifyElementPresent | -link=Delete profile editor | -- |
verifyTextPresent | -Faculty, Jane | Faculty Member | -- |
verifyElementPresent | -link=Remove selection | -- |
verifyTextPresent | -Librarian, Lily | Librarian | -- |
verifyElementPresent | -link=Remove selection | -- |
comment | -Add third profile for Eddie Editor | -- |
type | -id=addProfile | -Pro | -
click | -id=ui-active-menuitem | -- |
clickAndWait | -name=modifyProfileList | -- |
assertTitle | -VIVO | -- |
verifyTextPresent | -The operation was successful. | -- |
verifyTextPresent | -Editor, Eddie | | -- |
verifyElementPresent | -link=Delete profile editor | -- |
verifyTextPresent | -Selected profiles: | -- |
verifyTextPresent | -Proxy, Paula | Person | -- |
verifyElementPresent | -link=Remove selection | -- |
verifyTextPresent | -Faculty, Jane | Faculty Member | -- |
verifyElementPresent | -link=Remove selection | -- |
verifyTextPresent | -Librarian, Lily | Librarian | -- |
verifyElementPresent | -link=Remove selection | -- |
comment | -Test that editing works | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |
type | -id=loginName | -EddieEditor@cornell.edu | -
type | -id=loginPassword | -Password | -
clickAndWait | -name=loginForm | -- |
assertTitle | -VIVO | -- |
clickAndWait | -link=My profile | -- |
assertTitle | -Proxy, Paula | -- |
clickAndWait | -link=My account | -- |
assertTitle | -VIVO | -- |
comment | -Check My profile | -- |
clickAndWait | -link=My profile | -- |
assertTitle | -Proxy, Paula | -- |
comment | -Logout | -- |
clickAndWait | -link=Home | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |