diff --git a/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html b/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html index 53411a92..b578d782 100644 --- a/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html +++ b/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html @@ -199,7 +199,7 @@ verifyTextPresent - Password must be between 6 and 12 characters. + Please enter a password between 6 and 12 characters in length. diff --git a/utilities/acceptance-tests/suites/AdminSecurity/NewAdminCheckPrivileges.html b/utilities/acceptance-tests/suites/AdminSecurity/NewAdminCheckPrivileges.html index 355c44ad..678a560a 100644 --- a/utilities/acceptance-tests/suites/AdminSecurity/NewAdminCheckPrivileges.html +++ b/utilities/acceptance-tests/suites/AdminSecurity/NewAdminCheckPrivileges.html @@ -96,11 +96,21 @@ VIVO Site Administration + + verifyTextPresent + Site Administration + + verifyTextPresent Data Input + + verifyValue + id=submit + Add individual of this class + verifyTextPresent Site Configuration @@ -163,12 +173,12 @@ verifyElementPresent - link=Class groups + link=Class hierarchy verifyElementPresent - link=Class hierarchy + link=Class groups @@ -178,12 +188,12 @@ verifyElementPresent - link=Data property hierarchy + link=Object property hierarchy verifyElementPresent - link=Object property hierarchy + link=Data property hierarchy @@ -292,6 +302,11 @@ Manage profile editing + + verifyTextPresent + Relate profile editors and profiles + + verifyTextPresent Select editors @@ -302,6 +317,11 @@ Select profiles + + verifyTextPresent + Profile editors + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -332,11 +352,46 @@ Page management + + verifyTextPresent + Title + + + + verifyTextPresent + URL + + + + verifyTextPresent + Custom Template + + + + verifyTextPresent + Menu Page + + + + verifyTextPresent + Controls + + verifyTextPresent Home + + verifyTextPresent + Use Menu Ordering to set the order of menu items. + + + + verifyElementPresent + id=menuMgmtLink + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -372,6 +427,31 @@ Home + + verifyTextPresent + People + + + + verifyTextPresent + Organizations + + + + verifyTextPresent + Research + + + + verifyTextPresent + Events + + + + verifyTextPresent + Refresh page after reordering menu items + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -389,7 +469,7 @@ clickAndWait - link=Restrict Logins + link=Restrict logins @@ -402,6 +482,16 @@ Restrict Logins + + verifyTextPresent + Logins are open to all. + + + + verifyElementPresent + link=Restrict Logins + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -437,6 +527,31 @@ Editing Existing Record + + verifyTextPresent + Site name (max 50 characters) + + + + verifyTextPresent + Contact email address contact form submissions will be sent to this address + + + + verifyTextPresent + Theme + + + + verifyTextPresent + Copyright text used in footer (e.g., name of your institution) + + + + verifyTextPresent + Copyright URL copyright text links to this URL + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -504,7 +619,37 @@ verifyTextPresent - Email address + Email Address + + + + verifyTextPresent + First name + + + + verifyTextPresent + Last name + + + + verifyTextPresent + Status + + + + verifyTextPresent + Roles + + + + verifyTextPresent + Login count + + + + verifyTextPresent + Last Login @@ -530,22 +675,42 @@ clickAndWait - link=Class groups + link=Ontology list assertTitle - VIVO + Ontologies verifyTextPresent - Class Groups + Ontologies + + + + verifyValue + css=input.form-button + Add new ontology + + + verifyTextPresent + Ontology + + + + verifyTextPresent + Namespace + + + + verifyTextPresent + Prefix verifyElementPresent - link=people + link=VIVO Core @@ -575,12 +740,32 @@ verifyTextPresent - Class Hierarchy + Asserted Class Hierarchy + + verifyTextPresent + Display Options + + + + verifyValue + id=addClass + Add New Class + verifyElementPresent - link=exact:vivo:Address + link=expand all + + + + verifyTextPresent + Ontology + + + + verifyTextPresent + Subclasses @@ -600,7 +785,7 @@ clickAndWait - link=Data property hierarchy + link=Class groups @@ -610,12 +795,42 @@ verifyTextPresent - Data Property Hierarchy + Class Groups + + + + verifyTextPresent + Display Options verifyElementPresent - link=abbreviation + id=addClass + + + + verifyElementPresent + id=addGroup + + + + verifyElementPresent + link=hide subclasses + + + + verifyElementPresent + link=people + + + + verifyTextPresent + Display Rank: + + + + verifyTextPresent + Classes: @@ -648,9 +863,109 @@ Object Property Hierarchy + + verifyTextPresent + Display Options + + verifyElementPresent - link=administered by + link=expand all + + + + verifyElementPresent + link=access provided by + + + + verifyTextPresent + Local Name: + + + + verifyTextPresent + Group: + + + + verifyTextPresent + Domain Class: + + + + verifyTextPresent + Range Class: + + + + verifyTextNotPresent + We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. + + + + clickAndWait + link=Site Admin + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Data property hierarchy + + + + assertTitle + VIVO + + + + verifyTextPresent + Data Property Hierarchy + + + + verifyTextPresent + Display Options + + + + verifyElementPresent + id=addProperty + + + + verifyElementPresent + link=expand all + + + + verifyElementPresent + link=abbreviation (vivo) + + + + verifyTextPresent + Local Name: + + + + verifyTextPresent + Group: + + + + verifyTextPresent + Domain Class: + + + + verifyTextPresent + Range Class: @@ -685,42 +1000,27 @@ verifyElementPresent - link=overview - - - - verifyTextNotPresent - We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. - - - - clickAndWait - link=Site Admin - - - - assertTitle - VIVO Site Administration - - - - clickAndWait - link=Ontology list - - - - assertTitle - Ontologies - - - - verifyTextPresent - Ontologies + id=addProperty verifyElementPresent - link=VIVO core + link=hide properties + + + + verifyElementPresent + link=contact + + + + verifyTextPresent + Display Rank: + + + + verifyTextPresent + Properties: @@ -759,6 +1059,41 @@ Enter Web-accessible URL of document containing RDF to add or remove: + + verifyTextPresent + Or upload a file from your computer: + + + + verifyElementPresent + name=rdfStream + + + + verifyTextPresent + add instance data (supports large data files) + + + + verifyTextPresent + add mixed RDF (instances and/or ontology) + + + + verifyTextPresent + remove mixed RDF (instances and/or ontology) + + + + verifyTextPresent + create classgroups automatically + + + + verifyElementPresent + id=submit + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -794,6 +1129,11 @@ link=Connect DB + + verifyElementPresent + link=Execute Workflow + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -829,6 +1169,11 @@ Select format + + verifyElementPresent + name=submit + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -869,6 +1214,11 @@ Format for SELECT query results: + + verifyTextPresent + Format for CONSTRUCT and DESCRIBE query results: + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -904,6 +1254,21 @@ Subject + + verifyTextPresent + Predicate + + + + verifyTextPresent + Object + + + + verifyValue + css=input.submit + Generate Query + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -935,11 +1300,21 @@ Search Index Status + + verifyTextPresent + The search indexer is idle. + + verifyTextPresent The most recent update was at + + verifyElementPresent + name=rebuild + + verifyTextPresent Reset the search index and re-populate it. @@ -980,6 +1355,16 @@ link=Refresh Cached Models for Visualization + + verifyTextPresent + Why is it needed? + + + + verifyTextPresent + What's involved in the caching process? + + verifyTextNotPresent We're sorry, but you are not authorized to view the page you requested. If you think this is an error, please contact us and we'll be happy to help. @@ -1005,6 +1390,11 @@ VIVO + + verifyValue + name=submit + Recompute Inferences + clickAndWait diff --git a/utilities/acceptance-tests/suites/AdminSecurity/NewAdminDelete.html b/utilities/acceptance-tests/suites/AdminSecurity/NewAdminDelete.html index ea6beae1..cda4b2cd 100644 --- a/utilities/acceptance-tests/suites/AdminSecurity/NewAdminDelete.html +++ b/utilities/acceptance-tests/suites/AdminSecurity/NewAdminDelete.html @@ -109,7 +109,7 @@ assertConfirmation - Are you sure you want to delete this account? + Are you sure you want to delete this account?? diff --git a/utilities/acceptance-tests/suites/AdminSecurity/NewAdminFirstLogin.html b/utilities/acceptance-tests/suites/AdminSecurity/NewAdminFirstLogin.html index 8b0c615a..0543f143 100644 --- a/utilities/acceptance-tests/suites/AdminSecurity/NewAdminFirstLogin.html +++ b/utilities/acceptance-tests/suites/AdminSecurity/NewAdminFirstLogin.html @@ -223,7 +223,7 @@ verifyTextPresent - Password must be between 6 and 12 characters. + Please enter a password between 6 and 12 characters in length. diff --git a/utilities/acceptance-tests/suites/AdminSecurity/Suite.html b/utilities/acceptance-tests/suites/AdminSecurity/Suite.html index adf48069..7d41f5aa 100644 --- a/utilities/acceptance-tests/suites/AdminSecurity/Suite.html +++ b/utilities/acceptance-tests/suites/AdminSecurity/Suite.html @@ -1,21 +1,21 @@ - - - - - - Test Suite - - - - - - - - - - - - -
Test Suite
RebuildSearchIndex
AdminBadLogin
AdminLoginLogout
AdminChangePassword
NewAdminAccount
NewAdminFirstLogin
NewAdminCheckPrivileges
NewAdminDelete
- - + + + + + + Test Suite + + + + + + + + + + + + +
Test Suite
RebuildSearchIndex
AdminBadLogin
AdminLoginLogout
AdminChangePassword
NewAdminAccount
NewAdminFirstLogin
NewAdminCheckPrivileges
NewAdminDelete
+ + diff --git a/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewCuratorUser.html b/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewCuratorUser.html index ee4f3fc0..181057c8 100644 --- a/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewCuratorUser.html +++ b/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewCuratorUser.html @@ -118,7 +118,7 @@ verifyTextPresent - Deleted 1 accounts. + Deleted 1 account. diff --git a/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewEditorUser.html b/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewEditorUser.html index 4cd30713..356432b6 100644 --- a/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewEditorUser.html +++ b/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewEditorUser.html @@ -118,7 +118,7 @@ verifyTextPresent - Deleted 1 accounts. + Deleted 1 account. diff --git a/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewSelfEditorUser.html b/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewSelfEditorUser.html index 77f74908..bfc8e31d 100644 --- a/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewSelfEditorUser.html +++ b/utilities/acceptance-tests/suites/CreateAccounts/DeleteNewSelfEditorUser.html @@ -118,7 +118,7 @@ verifyTextPresent - Deleted 1 accounts. + Deleted 1 account. diff --git a/utilities/acceptance-tests/suites/CreateClasses/AddClassGroupTimes.html b/utilities/acceptance-tests/suites/CreateClasses/AddClassGroupTimes.html index e9375cd4..2eef3f91 100644 --- a/utilities/acceptance-tests/suites/CreateClasses/AddClassGroupTimes.html +++ b/utilities/acceptance-tests/suites/CreateClasses/AddClassGroupTimes.html @@ -109,7 +109,7 @@ assertTitle - VIVO + Classgroup Editing Form diff --git a/utilities/acceptance-tests/suites/CreatePeople/ReorderMenus.html b/utilities/acceptance-tests/suites/CreatePeople/ReorderMenus.html index 0381daf6..9e9d57d6 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/ReorderMenus.html +++ b/utilities/acceptance-tests/suites/CreatePeople/ReorderMenus.html @@ -80,7 +80,12 @@ Default Menu - + + + verifyTextPresent + Menu Ordering + + verifyTextPresent Home @@ -106,6 +111,16 @@ Events + + verifyValue + id=submit + Add new menu page + + + verifyTextPresent + Refresh page after reordering menu items + + open @@ -154,7 +169,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -205,7 +220,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -256,7 +271,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -307,7 +322,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -358,7 +373,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -409,7 +424,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -460,7 +475,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -511,7 +526,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index diff --git a/utilities/acceptance-tests/suites/InitialSetup/EditSiteInfo.html b/utilities/acceptance-tests/suites/InitialSetup/EditSiteInfo.html index 27fedd3c..3e0a91e6 100644 --- a/utilities/acceptance-tests/suites/InitialSetup/EditSiteInfo.html +++ b/utilities/acceptance-tests/suites/InitialSetup/EditSiteInfo.html @@ -32,6 +32,142 @@ VIVO + + + verifyTextPresent + Welcome to VIVO + + + + verifyTextPresent + VIVO is a research-focused discovery tool that enables collaboration among scientists across all disciplines. + + + + verifyTextPresent + Browse or search information on people, departments, courses, grants, and grants. + + + + verifyTextPresent + Log in + + + + verifyTextPresent + Email + + + + verifyTextPresent + Password + + + + verifyValue + name=loginForm + Log in + + + verifyElementPresent + name=loginForm + + + + verifyTextPresent + Search VIVO + + + + verifyValue + css=input.search + Search + + + verifyElementPresent + css=input.search + + + + verifyElementPresent + css=h4 + + + + verifyTextPresent + No research content found. + + + + verifyElementPresent + css=#home-faculty-mbrs > h4 + + + + verifyTextPresent + No faculty members found. + + + + verifyElementPresent + css=#home-academic-depts > h4 + + + + verifyTextPresent + No academic departments found. + + + + verifyElementPresent + css=#home-stats > h4 + + + + verifyElementPresent + css=p.stats-count + + + + verifyTextPresent + ©2013 VIVO Project + + + + verifyElementPresent + link=Terms of Use + + + + verifyTextPresent + Powered by VIVO + + + + verifyElementPresent + link=VIVO + + + + verifyTextNotPresent + Version + + + + verifyElementNotPresent + link=unknown + + + + verifyElementPresent + link=About + + + + verifyElementPresent + link=Support + + clickAndWait @@ -59,6 +195,132 @@ loginForm + + + verifyTextPresent + Welcome to VIVO + + + + verifyTextPresent + VIVO is a research-focused discovery tool that enables collaboration among scientists across all disciplines. + + + + verifyTextPresent + Browse or search information on people, departments, courses, grants, and grants. + + + + verifyTextNotPresent + Log in + + + + verifyTextNotPresent + Email + + + + verifyTextNotPresent + Password + + + + verifyTextPresent + Search VIVO + + + + verifyValue + css=input.search + Search + + + verifyElementPresent + css=input.search + + + + verifyElementPresent + css=h4 + + + + verifyTextPresent + No research content found. + + + + verifyElementPresent + css=#home-faculty-mbrs > h4 + + + + verifyTextPresent + No faculty members found. + + + + verifyElementPresent + css=#home-academic-depts > h4 + + + + verifyTextPresent + No academic departments found. + + + + verifyElementPresent + css=#home-stats > h4 + + + + verifyElementPresent + css=p.stats-count + + + + verifyTextPresent + ©2013 VIVO Project + + + + verifyElementPresent + link=Terms of Use + + + + verifyTextPresent + Powered by VIVO + + + + verifyElementPresent + link=VIVO + + + + verifyTextPresent + Version rel-1.6-rc1 + + + + verifyElementPresent + link=rel-1.6-rc1 + + + + verifyElementPresent + link=About + + + + verifyElementPresent + link=Support + + clickAndWait @@ -80,16 +342,137 @@ Site Information + + + verifyTextPresent + Site Information + + + + verifyTextPresent + Editing Existing Record + + + + verifyTextPresent + Site name (max 50 characters) + + + + verifyValue + name=ApplicationName + VIVO + + + verifyElementPresent + name=ApplicationName + + + + verifyTextPresent + Contact email address contact form submissions will be sent to this address + + + + verifyValue + name=ContactMail + + + + verifyElementPresent + name=ContactMail + + + + verifyTextPresent + Theme + + + + verifyElementPresent + id=ThemeDir + + + + verifyTextPresent + Copyright text used in footer (e.g., name of your institution) + + + + verifyValue + name=CopyrightAnchor + VIVO Project + + + verifyElementPresent + name=CopyrightAnchor + + + + verifyTextPresent + Copyright URL copyright text links to this URL + + + + verifyValue + name=CopyrightURL + + + + verifyElementPresent + name=CopyrightURL + + + + verifyValue + id=primaryAction + Save changes + + + verifyElementPresent + id=primaryAction + + + + verifyValue + name=_cancel + Cancel + + + verifyElementPresent + name=_cancel + + type ApplicationName VIVO Test Site + + type + name=ContactMail + hlm7@cornell.edu + + + select + id=ThemeDir + label=vitro + + + select + id=ThemeDir + label=wilma + type CopyrightAnchor - VIVO Project 2012 + VIVO Project 2013 + + + type + CopyrightURL + vivoweb.org clickAndWait @@ -111,17 +494,48 @@ link=Home + assertTitle VIVO Test Site - verifyTextPresent - VIVO Project 2012 + VIVO Project 2013 + + verifyTextPresent + ©2013 + + + + verifyElementPresent + link=VIVO Project 2013 + + + + verifyElementPresent + link=Terms of Use + + + + verifyTextPresent + Powered by VIVO + + + + verifyElementPresent + link=VIVO + + + + verifyTextPresent + Version rel-1.6-rc1 + + + clickAndWait link=Site Admin @@ -142,17 +556,36 @@ Site Information - type ApplicationName VIVO + + type + name=ContactMail + + + + select + id=ThemeDir + label=vitro + + + select + id=ThemeDir + label=wilma + type CopyrightAnchor VIVO Project + + type + name=CopyrightURL + + clickAndWait primaryAction @@ -174,6 +607,46 @@ VIVO Project + + assertTitle + VIVO + + + + verifyTextPresent + VIVO Project + + + + verifyTextPresent + ©2013 VIVO Project + + + + verifyElementPresent + link=Terms of Use + + + + verifyTextPresent + Powered by VIVO + + + + verifyElementPresent + link=VIVO + + + + verifyTextPresent + Version rel-1.6-rc1 + + + + verifyElementPresent + link=rel-1.6-rc1 + + clickAndWait diff --git a/utilities/acceptance-tests/suites/InitialSetup/RemoveMenuChanges.html b/utilities/acceptance-tests/suites/InitialSetup/RemoveMenuChanges.html index 75e3f290..0150889b 100644 --- a/utilities/acceptance-tests/suites/InitialSetup/RemoveMenuChanges.html +++ b/utilities/acceptance-tests/suites/InitialSetup/RemoveMenuChanges.html @@ -126,10 +126,15 @@ Locations + + verifyTextPresent + Test HTML Page + + clickAndWait - css=img[alt="delete"] + xpath=(//img[@alt='delete this page'])[2] @@ -139,7 +144,7 @@ click - css=img[alt="delete"] + xpath=(//img[@alt='delete this page'])[4] @@ -159,7 +164,7 @@ click - css=img[alt="delete"] + xpath=(//img[@alt='delete this page'])[6] @@ -179,7 +184,7 @@ click - xpath=(//img[@alt='delete'])[3] + xpath=(//img[@alt='delete this page'])[7] @@ -199,7 +204,7 @@ click - xpath=(//img[@alt='delete'])[7] + xpath=(//img[@alt='delete this page'])[11] @@ -263,6 +268,11 @@ Locations + + verifyTextNotPresent + Test HTML Page + + clickAndWait diff --git a/utilities/acceptance-tests/suites/InitialSetup/ValidateNewMenus.html b/utilities/acceptance-tests/suites/InitialSetup/ValidateNewMenus.html index 7f5e708e..a79ab8fe 100644 --- a/utilities/acceptance-tests/suites/InitialSetup/ValidateNewMenus.html +++ b/utilities/acceptance-tests/suites/InitialSetup/ValidateNewMenus.html @@ -93,17 +93,27 @@ verifyTextPresent - Title + Add New Page verifyTextPresent - Content Type + Title * verifyTextPresent - Pretty URL + Content Type * + + + + verifyTextPresent + Add one or more types + + + + verifyTextPresent + Pretty URL * @@ -123,7 +133,12 @@ verifyTextPresent - Custom template + Custom template requiring content + + + + verifyTextPresent + Custom template containing all content @@ -141,13 +156,18 @@ If left blank, the page title will be used. + + verifyTextPresent + Select page permissions + + verifyElementPresent link=Cancel - click + clickAndWait id=cancelPage @@ -156,11 +176,6 @@ 10000 - - assertTitle - Edit - - clickAndWait link=Site Admin @@ -722,7 +737,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -773,7 +788,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -824,7 +839,7 @@ verifyElementPresent - link=rebuilding the search index + link=Try rebuilding the search index @@ -848,6 +863,46 @@ Continent + + pause + 10000 + + + + verifyElementPresent + link=Africa + + + + verifyElementPresent + link=Asia + + + + verifyElementPresent + link=Australia and New Zealand + + + + verifyElementPresent + link=Europe + + + + verifyElementPresent + link=northern America + + + + verifyElementPresent + link=Oceania + + + + verifyElementPresent + link=South America + + clickAndWait