diff --git a/utilities/acceptance-tests/suites/AddRoles/ChooseGrantsAndProjects.html b/utilities/acceptance-tests/suites/AddRoles/ChooseGrantsAndProjects.html new file mode 100644 index 00000000..8706770e --- /dev/null +++ b/utilities/acceptance-tests/suites/AddRoles/ChooseGrantsAndProjects.html @@ -0,0 +1,329 @@ + + + +
+ + +AddLibrarianRoles2 | ||
comment | +Choose with Grants & Projects to Display | ++ |
deleteAllVisibleCookies | ++ | + |
setTimeout | +100000 | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must be logged off to start | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +Log in to VIVO | ++ |
comment | +Must login as the site admin | ++ |
type | +loginName | +testAdmin@cornell.edu | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Faculty, Jane | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Verify manage grants & projects option | ++ |
clickAndWait | +id=manageGrantLink | ++ |
assertTitle | +VIVO | ++ |
verifyTextPresent | +Manage Grants & Projects for Jane Faculty | ++ |
verifyTextPresent | +Check those grants and projects you want to exclude from the profile page. | ++ |
verifyTextPresent | +Co-Principal Investigator Role | ++ |
verifyTextPresent | +NIH VIVO | ++ |
verifyTextPresent | +VIVO Cornell Grant | ++ |
verifyTextPresent | +Investigator Role | ++ |
verifyTextPresent | +VIVO Cornell Grant Too | ++ |
verifyTextPresent | +Principal Investigator Role | ++ |
verifyTextPresent | +NIH VIVO Too | ++ |
verifyTextPresent | +Researcher Role | ++ |
verifyTextPresent | +Habitats for Apes | ++ |
verifyTextPresent | +History of Apes in Africa | ++ |
verifyElementPresent | +link=Return to profile page | ++ |
clickAndWait | +link=Return to profile page | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Choose to not display anything | ++ |
clickAndWait | +id=manageGrantLink | ++ |
assertTitle | +VIVO | ++ |
click | +css=input.grantCheckbox | ++ |
click | +xpath=(//input[@type='checkbox'])[2] | ++ |
click | +xpath=(//input[@type='checkbox'])[3] | ++ |
click | +xpath=(//input[@type='checkbox'])[4] | ++ |
click | +xpath=(//input[@type='checkbox'])[5] | ++ |
click | +xpath=(//input[@type='checkbox'])[6] | ++ |
clickAndWait | +link=Return to profile page | ++ |
assertTitle | +Faculty, Jane | ++ |
comment | +Verify everything is gone | ++ |
verifyTextNotPresent | +NIH VIVO | ++ |
verifyTextNotPresent | +VIVO Cornell Grant | ++ |
verifyTextNotPresent | +VIVO Cornell Grant Too | ++ |
verifyTextNotPresent | +NIH VIVO Too | ++ |
verifyTextNotPresent | +Habitats for Apes | ++ |
verifyTextNotPresent | +History of Apes in Africa | ++ |
comment | +Add back two grants/projects | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Home | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |