diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/TestMenuManagement.html b/utilities/acceptance-tests/suites/AddNonPersonThings/TestMenuManagement.html new file mode 100644 index 00000000..4277c030 --- /dev/null +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/TestMenuManagement.html @@ -0,0 +1,944 @@ + + + +
+ + +EditSiteInfo | ||
deleteAllVisibleCookies | ++ | + |
setTimeout | +10000000 | ++ |
comment | +Test Menu Management | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must be logged out | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin@cornell.edu | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
comment | +Navigate to Menu Management | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Menu management | ++ |
assertTitle | +Default Menu | ++ |
comment | +Validate adding menu item with Activities | ++ |
clickAndWait | +link=Add menu item | ++ |
assertTitle | +Add Menu Item | ++ |
verifyTextPresent | +Name * | ++ |
verifyTextPresent | +Pretty URL * | ++ |
verifyTextPresent | +(Format: / - ie. /people) | ++ |
verifyTextPresent | +Template * | ++ |
verifyTextPresent | +Default | ++ |
verifyTextPresent | +Custom template | ++ |
verifyTextPresent | +Select content type for the associated page * | ++ |
verifyTextPresent | +or Cancel | ++ |
verifyElementPresent | +link=Cancel | ++ |
verifyTextPresent | +* required fields | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Default Menu | ++ |
clickAndWait | +link=Add menu item | ++ |
assertTitle | +Add Menu Item | ++ |
click | +submit-Add | ++ |
verifyTextPresent | +You must supply a Name | ++ |
verifyTextPresent | +You must supply a Pretty URL | ++ |
verifyTextPresent | +You must supply a Content type | ++ |
type | +menuName | +Activities | +
click | +submit-Add | ++ |
verifyTextPresent | +You must supply a Pretty URL | ++ |
verifyTextPresent | +You must supply a Content type | ++ |
type | +prettyUrl | +/activities | +
click | +submit-Add | ++ |
verifyTextPresent | +You must supply a Content type | ++ |
select | +selectClassGroup | +label=activities | +
verifyTextPresent | +Selected content type for the associated page | ++ |
verifyTextPresent | +activities Change content type | ++ |
verifyElementPresent | +changeContentType | ++ |
verifyTextPresent | +Select content to display * | ++ |
verifyTextPresent | +Only display within my institution | ++ |
verifyTextPresent | +To enable this option, you must first select an institutional internal class for your instance | ++ |
verifyElementPresent | +link=institutional internal class | ++ |
clickAndWait | +submit-Add | ++ |
assertTitle | +Default Menu | ++ |
verifyTextPresent | +Home | ++ |
verifyTextPresent | +People | ++ |
verifyTextPresent | +Organizations | ++ |
verifyTextPresent | +Research | ++ |
verifyTextPresent | +Events | ++ |
verifyTextPresent | +Activities | ++ |
comment | +Add Courses menu | ++ |
clickAndWait | +link=Add menu item | ++ |
assertTitle | +Add Menu Item | ++ |
type | +menuName | +Courses | +
type | +prettyUrl | +/courses | +
select | +selectClassGroup | +label=people | +
click | +changeContentType | ++ |
select | +selectClassGroup | +label=courses | +
click | +css=option[value=http://vivoweb.org/ontology#vitroClassGroupcourses] | ++ |
clickAndWait | +submit-Add | ++ |
assertTitle | +Default Menu | ++ |
verifyTextPresent | +Home | ++ |
verifyTextPresent | +People | ++ |
verifyTextPresent | +Organizations | ++ |
verifyTextPresent | +Research | ++ |
verifyTextPresent | +Events | ++ |
verifyTextPresent | +Activities | ++ |
verifyTextPresent | +Courses | ++ |
comment | +Add Equipment menu | ++ |
clickAndWait | +link=Add menu item | ++ |
assertTitle | +Add Menu Item | ++ |
type | +menuName | +Equipment | +
type | +prettyUrl | +/equipment | +
select | +selectClassGroup | +label=equipment | +
clickAndWait | +submit-Add | ++ |
assertTitle | +Default Menu | ++ |
verifyTextPresent | +Home | ++ |
verifyTextPresent | +People | ++ |
verifyTextPresent | +Organizations | ++ |
verifyTextPresent | +Research | ++ |
verifyTextPresent | +Events | ++ |
verifyTextPresent | +Activities | ++ |
verifyTextPresent | +Courses | ++ |
verifyTextPresent | +Equipment | ++ |
comment | +Add Locations menu | ++ |
clickAndWait | +link=Add menu item | ++ |
assertTitle | +Add Menu Item | ++ |
type | +menuName | +Locations | +
type | +prettyUrl | +/locations | +
select | +selectClassGroup | +label=locations | +
clickAndWait | +submit-Add | ++ |
assertTitle | +Default Menu | ++ |
verifyTextPresent | +Home | ++ |
verifyTextPresent | +People | ++ |
verifyTextPresent | +Organizations | ++ |
verifyTextPresent | +Research | ++ |
verifyTextPresent | +Events | ++ |
verifyTextPresent | +Activities | ++ |
verifyTextPresent | +Courses | ++ |
verifyTextPresent | +Equipment | ++ |
verifyTextPresent | +Locations | ++ |
comment | +Check Activities menu tab | ++ |
clickAndWait | +link=Activities | ++ |
assertTitle | +Activities | ++ |
verifyTextPresent | +There is currently no Activities content in the system | ++ |
verifyTextPresent | +You can add content and manage this site from the Site Administration page. | ++ |
verifyElementPresent | +link=add content and manage this site | ++ |
verifyTextPresent | +You can browse all of the public content currently in the system using the index page. | ++ |
verifyElementPresent | +link=index page | ++ |
verifyTextPresent | +Expecting content? | ++ |
verifyTextPresent | +Try rebuilding the search index. | ++ |
verifyElementPresent | +link=rebuilding the search index | ++ |
comment | +Check Courses menu tab | ++ |
clickAndWait | +link=Courses | ++ |
assertTitle | +Courses | ++ |
verifyTextPresent | +There is currently no Courses content in the system | ++ |
verifyTextPresent | +You can add content and manage this site from the Site Administration page. | ++ |
verifyElementPresent | +link=add content and manage this site | ++ |
verifyTextPresent | +You can browse all of the public content currently in the system using the index page. | ++ |
verifyElementPresent | +link=index page | ++ |
verifyTextPresent | +Expecting content? | ++ |
verifyTextPresent | +Try rebuilding the search index. | ++ |
verifyElementPresent | +link=rebuilding the search index | ++ |
comment | +Check Equipment menu tab | ++ |
clickAndWait | +link=Equipment | ++ |
assertTitle | +Equipment | ++ |
verifyTextPresent | +There is currently no Equipment content in the system | ++ |
verifyTextPresent | +You can add content and manage this site from the Site Administration page. | ++ |
verifyElementPresent | +link=add content and manage this site | ++ |
verifyTextPresent | +You can browse all of the public content currently in the system using the index page. | ++ |
verifyElementPresent | +link=index page | ++ |
verifyTextPresent | +Expecting content? | ++ |
verifyTextPresent | +Try rebuilding the search index. | ++ |
verifyElementPresent | +link=rebuilding the search index | ++ |
comment | +Check Locations menu | ++ |
clickAndWait | +link=Locations | ++ |
assertTitle | +Locations | ++ |
verifyTextPresent | +Locations | ++ |
click | +link=Geographic Location (37) | ++ |
verifyTextPresent | +Geographic Location | ++ |
comment | +Change People menu name | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Menu management | ++ |
assertTitle | +Default Menu | ++ |
clickAndWait | +css=img.edit-individual | ++ |
assertTitle | +Edit Menu Item | ++ |
type | +menuName | +People at CU | +
clickAndWait | +submit-Edit | ++ |
assertTitle | +Default Menu | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People at CU | ++ |
verifyTextPresent | +There is currently no People at CU content in the system | ++ |
comment | +Change People menu name back | ++ |
clickAndWait | +link=Site Admin | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Menu management | ++ |
assertTitle | +Default Menu | ++ |
clickAndWait | +css=img.edit-individual | ++ |
assertTitle | +Edit Menu Item | ++ |
type | +menuName | +People | +
clickAndWait | +submit-Edit | ++ |
assertTitle | +Default Menu | ++ |
clickAndWait | +link=People | ++ |
assertTitle | +People | ++ |
verifyTextPresent | +There is currently no People content in the system | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
verifyTextPresent | +Log in | ++ |