diff --git a/utilities/acceptance-tests/suites/CustomActivityForms/AddOutreachService1.html b/utilities/acceptance-tests/suites/CustomActivityForms/AddOutreachService1.html new file mode 100644 index 00000000..6cc8a3b2 --- /dev/null +++ b/utilities/acceptance-tests/suites/CustomActivityForms/AddOutreachService1.html @@ -0,0 +1,235 @@ + + + +
+ + +AddOutreachService1 | ||
comment | +Test Custom Form: Outreach & Community Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Free Cancer Screening Clinic | ++ |
verifyTextNotPresent | +Founder | ++ |
verifyTextNotPresent | +12/2001 - 12/2012 | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Free Cancer Screening Clinic | +
type | +description | +Founder of clinic to conduct free cancer screenings. | +
type | +role | +Founder | +
type | +startYearMonth | +2001-12 | +
type | +endYearMonth | +2012-12 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Free Cancer Screening Clinic | ++ |
verifyTextPresent | +Founder | ++ |
verifyTextPresent | +12/2001 - 12/2012 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddOutreachService2 | ||
comment | +Test Custom Form Again: Outreach & Community Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Free Cancer Screening Clinic | ++ |
verifyTextPresent | +Founder | ++ |
verifyTextPresent | +12/2001 - 12/2012 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Public lectures on reducing stress | ++ |
verifyTextNotPresent | +Speaker | ++ |
verifyTextNotPresent | +05/2005 - 06/2006 | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Public lectures on reducing stress | +
type | +description | +Providing helpful ideas and answer questions about reducing stress. | +
type | +role | +Speaker | +
type | +startYearMonth | +2005-05 | +
type | +endYearMonth | +2006-06 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Free Cancer Screening Clinic | ++ |
verifyTextPresent | +Founder | ++ |
verifyTextPresent | +12/2001 - 12/2012 | ++ |
verifyTextPresent | +Public lectures on reducing stress | ++ |
verifyTextPresent | +Speaker | ++ |
verifyTextPresent | +05/2005 - 06/2006 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddProfessionalService1 | ||
comment | +Test Custom Form: Professional Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Private practice | ++ |
verifyTextNotPresent | +Doctor | ++ |
verifyTextNotPresent | +06/1990 | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Private practice | +
type | +description | +Practice focuses on reducing stress while taking cancer drugs. | +
type | +role | +Doctor | +
type | +startYearMonth | +1990-06 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Private practice | ++ |
verifyTextPresent | +Doctor | ++ |
verifyTextPresent | +06/1990 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddProfessionalService2 | ||
comment | +Test Custom Form Again: Professional Service | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Private practice | ++ |
verifyTextPresent | +Doctor | ++ |
verifyTextPresent | +06/1990 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +AMA | ++ |
verifyTextNotPresent | +President | ++ |
verifyTextNotPresent | +08/2008 - 09/2009 | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +AMA | +
type | +description | +Won election. | +
type | +role | +President | +
type | +startYearMonth | +2008-08 | +
type | +endYearMonth | +2009-09 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Private practice | ++ |
verifyTextPresent | +Doctor | ++ |
verifyTextPresent | +06/1990 | ++ |
verifyTextPresent | +AMA | ++ |
verifyTextPresent | +President | ++ |
verifyTextPresent | +08/2008 - 09/2009 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddResearchFocus1 | ||
comment | +Test Custom Form: Research Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextNotPresent | +Lead Researcher | ++ |
verifyTextNotPresent | +01/2001 - 01/2002 | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Cancer Treatment Drug Interactions | +
type | +description | +Testing new cancer treatment drugs with other drugs to determine interactions. | +
type | +role | +Lead Researcher | +
type | +startYearMonth | +2001-01 | +
type | +endYearMonth | +2002-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +Lead Researcher | ++ |
verifyTextPresent | +01/2001 - 01/2002 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddResearchFocus2 | ||
comment | +Test Custom Form Again: Research Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +Lead Researcher | ++ |
verifyTextPresent | +01/2001 - 01/2002 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Relationship Between Stress and Children | ++ |
verifyTextNotPresent | +Consulting Researcher | ++ |
verifyTextNotPresent | +03/2003 - 03/2007 | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Relationship Between Stress and Children | +
type | +description | +Testing to determine if having children makes your life more stressful. | +
type | +role | +Consulting Researcher | +
type | +startYearMonth | +2003-03 | +
type | +endYearMonth | +2007-03 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +Lead Researcher | ++ |
verifyTextPresent | +01/2001 - 01/2002 | ++ |
verifyTextPresent | +Relationship Between Stress and Children | ++ |
verifyTextPresent | +Consulting Researcher | ++ |
verifyTextPresent | +03/2003 - 03/2007 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddTeachingFocus1 | ||
comment | +Test Custom Form: Teaching Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Drug Interactons | ++ |
verifyTextNotPresent | +Associate Professor | ++ |
verifyTextNotPresent | +02/2001 - 02/2012 | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Drug Interactions | +
type | +description | +Teaching how drugs interact with one another. | +
type | +role | +Associate Professor | +
type | +startYearMonth | +2001-02 | +
type | +endYearMonth | +2012-02 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info was added properly | ++ |
verifyTextPresent | +Drug Interactions | ++ |
verifyTextPresent | +Associate Professor | ++ |
verifyTextPresent | +02/2001 - 02/2012 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddTeachingFocus2 | ||
comment | +Test Custom Form Again: Teaching Focus and Activity | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify that the first entry is there | ++ |
verifyTextPresent | +Drug Interactions | ++ |
verifyTextPresent | +Associate Professor | ++ |
verifyTextPresent | +02/2001 - 02/2012 | ++ |
comment | +Verify that you won't be creating a duplicate | ++ |
verifyTextNotPresent | +Introduction to Drugs | ++ |
verifyTextNotPresent | +Lecturer | ++ |
verifyTextNotPresent | +04/2003 - 04/2007 | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Type in activity information | ++ |
type | +label | +Introduction to Drugs | +
type | +description | +Intoduces first year pre-med students to drugs. | +
type | +role | +Lecturer | +
type | +startYearMonth | +2003-04 | +
type | +endYearMonth | +2007-04 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity info for both are there | ++ |
verifyTextPresent | +Drug Interactions | ++ |
verifyTextPresent | +Associate Professor | ++ |
verifyTextPresent | +02/2001 - 02/2012 | ++ |
verifyTextPresent | +Introduction to Drugs | ++ |
verifyTextPresent | +Lecturer | ++ |
verifyTextPresent | +04/2003 - 04/2007 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
CreateTestFacultyMember | ||
comment | +Add test Faculty member named Jane Faculty | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must be logged off to start | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as the site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
verifyTextPresent | +Data Input | ++ |
select | +VClassURI | +label=Faculty Member (core) | +
clickAndWait | +//input[@value='Add individual of this class'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Add Assistant Professor Jane Faculty | ++ |
type | +Name | +Jane Faculty | +
type | +MonikerSelectAlt | +Assistant Professor | +
verifyTextPresent | +Creating New Record | ++ |
clickAndWait | +primaryAction | ++ |
assertTitle | +Individual Control Panel | ++ |
comment | +Verify that account was created | ++ |
verifyTextPresent | +Jane Faculty | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteTestActivities | ||
comment | +Delete all 8 test activities | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
click | +link=Log in | ++ |
pause | +10000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
click | +loginSubmitMode | ++ |
comment | +Navigate to Jane Faculty via Index | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify 8 activities to be deleted are present | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions Lead Researcher, 01/2001 - 01/2002 | ++ |
verifyTextPresent | +Relationship Between Stress and Children Consulting Researcher, 03/2003 - 03/2007 | ++ |
verifyTextPresent | +Drug Interactions Associate Professor, 02/2001 - 02/2012 | ++ |
verifyTextPresent | +Introduction to Drugs Lecturer, 04/2003 - 04/2007 | ++ |
verifyTextPresent | +AMA President, 08/2008 - 09/2009 | ++ |
verifyTextPresent | +Private practice Doctor, 06/1990 - | ++ |
verifyTextPresent | +Free Cancer Screening Clinic Founder, 12/2001 - 12/2012 | ++ |
verifyTextPresent | +Public lectures on reducing stress Speaker, 05/2005 - 06/2006 | ++ |
comment | +Start deletions | ++ |
click | +link=Cancer Treatment Drug Interactions | ++ |
pause | +10000 | ++ |
assertTitle | +Cancer Treatment Drug Interactions | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Relationship Between Stress and Children | ++ |
pause | +10000 | ++ |
assertTitle | +Relationship Between Stress and Children | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Drug Interactions | ++ |
pause | +10000 | ++ |
assertTitle | +Drug Interactions | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Introduction to Drugs | ++ |
pause | +10000 | ++ |
assertTitle | +Introduction to Drugs | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Free Cancer Screening Clinic | ++ |
pause | +10000 | ++ |
assertTitle | +Free Cancer Screening Clinic | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Public lectures on reducing stress | ++ |
pause | +10000 | ++ |
assertTitle | +Public lectures on reducing stress | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=AMA | ++ |
pause | +10000 | ++ |
assertTitle | +AMA | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Private practice | ++ |
pause | +10000 | ++ |
assertTitle | +Private practice | ++ |
click | +link=edit this individual | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
comment | +End deletions | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
pause | +10000 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
pause | +10000 | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
pause | +10000 | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 8 activities are gone | ++ |
verifyTextNotPresent | +Cancer Treatment Drug Interactions Lead Researcher, 01/2001 - 01/2002 | ++ |
verifyTextNotPresent | +Relationship Between Stress and Children Consulting Researcher, 03/2003 - 03/2007 | ++ |
verifyTextNotPresent | +Drug Interactions Associate Professor, 02/2001 - 02/2012 | ++ |
verifyTextNotPresent | +Introduction to Drugs Lecturer, 04/2003 - 04/2007 | ++ |
verifyTextNotPresent | +AMA President, 08/2008 - 09/2009 | ++ |
verifyTextNotPresent | +Private practice Doctor, 06/1990 - | ++ |
verifyTextNotPresent | +Free Cancer Screening Clinic Founder, 12/2001 - 12/2012 | ++ |
verifyTextNotPresent | +Public lectures on reducing stress Speaker, 05/2005 - 06/2006 | ++ |
comment | +Log out | ++ |
click | +link=Log out | ++ |
pause | +10000 | ++ |
assertTitle | +VIVO | ++ |
DeleteTestFacultyMember | ||
comment | +Delete test person Jane Faculty | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +link=edit this individual | ++ |
comment | +Delete Jane Faculty | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Verify that Jane Faculty is indeed gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateCustomActivityForm | ||
comment | +Validate custom form error checking | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Make sure research focus doesn't already exist | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/a | ++ |
comment | +Don't enter data in any fields | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Enter only the name | ++ |
assertTitle | +Edit | ++ |
type | +label | +This is a test name | +
comment | +Enter only the name and description | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +description | +This is a test description | +
clickAndWait | +submit | ++ |
comment | +Enter name, description, and role but no dates | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +role | +This is a test role | +
clickAndWait | +submit | ++ |
comment | +Verify that the new research focus was added | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/ul/li/span/span/a[1] | ++ |
comment | +Edit research focus to add dates | ++ |
assertTitle | +Edit | ++ |
comment | +Add invalid start date | ++ |
type | +startYearMonth | +99-02 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct start date with invalid end date | ++ |
type | +startYearMonth | +1999-02 | +
type | +endYearMonth | +99-12 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct end date | ++ |
type | +endYearMonth | +1999-12 | +
clickAndWait | +submit | ++ |
comment | +Verify that date fields are appearing now | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +02/1999 - 12/1999 | ++ |
comment | +Open up the research focus entry | ++ |
clickAndWait | +link=This is a test name | ++ |
assertTitle | +This is a test name | ++ |
comment | +Verify that all fields are there | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Assistant Professor | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +This is a test description | ++ |
verifyTextPresent | +1999-02 | ++ |
verifyTextPresent | +1999-12 | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the role text | ++ |
type | +tinymce | +This is a test role 2 | +
clickAndWait | +submit | ++ |
comment | +Change the name text | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the start and end date, with errors first | ++ |
type | +tinymce | +99-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-01 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-01 | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +99-11 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-11 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-11 | ++ |
assertTitle | +This is a test name | ++ |
comment | +Delete activity one field at a time | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-description']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +link=edit this individual | ++ |
comment | +Delete activity form | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate back to test faculty member to verify activity is gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity was deleted | ++ |
verifyTextNotPresent | +This is a test name | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateOutreachServiceForm | ||
comment | +Validate Outreach & Community Service custom form error checking | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Make sure activity doesn't already exist | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/a | ++ |
comment | +Don't enter data in any fields | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Enter only the name | ++ |
assertTitle | +Edit | ++ |
type | +label | +This is a test name | +
comment | +Enter only the name and description | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +description | +This is a test description | +
clickAndWait | +submit | ++ |
comment | +Enter name, description, and role but no dates | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +role | +This is a test role | +
clickAndWait | +submit | ++ |
comment | +Verify that the new activity was added | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/ul/li/span/span/a[1] | ++ |
comment | +Edit activity to add dates | ++ |
assertTitle | +Edit | ++ |
comment | +Add invalid start date | ++ |
type | +startYearMonth | +99-02 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct start date with invalid end date | ++ |
type | +startYearMonth | +1999-02 | +
type | +endYearMonth | +99-12 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct end date | ++ |
type | +endYearMonth | +1999-12 | +
clickAndWait | +submit | ++ |
comment | +Verify that date fields are appearing now | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +02/1999 - 12/1999 | ++ |
comment | +Open up activity entry | ++ |
clickAndWait | +link=This is a test name | ++ |
assertTitle | +This is a test name | ++ |
comment | +Verify that all fields are there | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Assistant Professor | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +This is a test description | ++ |
verifyTextPresent | +1999-02 | ++ |
verifyTextPresent | +1999-12 | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the role text | ++ |
type | +tinymce | +This is a test role 2 | +
clickAndWait | +submit | ++ |
comment | +Change the name text | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the start and end date, with errors first | ++ |
type | +tinymce | +99-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-01 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-01 | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +99-11 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-11 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-11 | ++ |
assertTitle | +This is a test name | ++ |
comment | +Delete activity one field at a time | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-vitro-description']/div/div/div/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +link=edit this individual | ++ |
comment | +Delete activity form | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate back to test faculty member to verify activity is gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity was deleted | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
verifyTextNotPresent | +1999-01 | ++ |
verifyTextNotPresent | +1999-11 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateOutreachServiceShortView | ||
comment | +Check Outreach & Community Service custom short view | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity entry does not exist already | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
comment | +Edit activity to test date display | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view without start and end dates | ++ |
type | +label | +This is another test name | +
type | +description | +This is another test description | +
type | +role | +This is another test role | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with start date only | ++ |
type | +startYearMonth | +2010-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with both start and end dates | ++ |
type | +endYearMonth | +2010-03 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - 03/2010 | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with only end date | ++ |
type | +startYearMonth | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +- 03/2010 | ++ |
verifyTextNotPresent | +01/2010 - 03/2010 | ++ |
comment | +Delete test activity | ++ |
clickAndWait | +//div[@id='oprop-core-hasOutreachActivity']/ul/li/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
verifyTextNotPresent | +03/2010 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateProfessionalServiceForm | ||
comment | +Validate Professional Service custom form error checking | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Make sure activity doesn't already exist | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/a | ++ |
comment | +Don't enter data in any fields | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Enter only the name | ++ |
assertTitle | +Edit | ++ |
type | +label | +This is a test name | +
comment | +Enter only the name and description | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +description | +This is a test description | +
clickAndWait | +submit | ++ |
comment | +Enter name, description, and role but no dates | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +role | +This is a test role | +
clickAndWait | +submit | ++ |
comment | +Verify that the new activity was added | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/ul/li/span/span/a[1] | ++ |
comment | +Edit activity to add dates | ++ |
assertTitle | +Edit | ++ |
comment | +Add invalid start date | ++ |
type | +startYearMonth | +99-02 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct start date with invalid end date | ++ |
type | +startYearMonth | +1999-02 | +
type | +endYearMonth | +99-12 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct end date | ++ |
type | +endYearMonth | +1999-12 | +
clickAndWait | +submit | ++ |
comment | +Verify that date fields are appearing now | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +02/1999 - 12/1999 | ++ |
comment | +Open up activity entry | ++ |
clickAndWait | +link=This is a test name | ++ |
assertTitle | +This is a test name | ++ |
comment | +Verify that all fields are there | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Assistant Professor | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +This is a test description | ++ |
verifyTextPresent | +1999-02 | ++ |
verifyTextPresent | +1999-12 | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the role text | ++ |
type | +tinymce | +This is a test role 2 | +
clickAndWait | +submit | ++ |
comment | +Change the name text | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the start and end date, with errors first | ++ |
type | +tinymce | +99-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-01 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-01 | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +99-11 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-11 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-11 | ++ |
assertTitle | +This is a test name | ++ |
comment | +Delete activity one field at a time | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-vitro-description']/div/div/div/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
pause | +10000 | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +link=edit this individual | ++ |
comment | +Delete activity form | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate back to test faculty member to verify activity is gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity was deleted | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
verifyTextNotPresent | +1999-01 | ++ |
verifyTextNotPresent | +1999-11 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateProfessionalServiceShortView | ||
comment | +Check Outreach & Community Service custom short view | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity entry does not exist already | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
comment | +Edit activity to test date display | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view without start and end dates | ++ |
type | +label | +This is another test name | +
type | +description | +This is another test description | +
type | +role | +This is another test role | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with start date only | ++ |
type | +startYearMonth | +2010-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with both start and end dates | ++ |
type | +endYearMonth | +2010-03 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - 03/2010 | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with only end date | ++ |
type | +startYearMonth | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +- 03/2010 | ++ |
verifyTextNotPresent | +01/2010 - 03/2010 | ++ |
comment | +Delete test activity | ++ |
clickAndWait | +//div[@id='oprop-core-hasProfessionalServiceActivity']/ul/li/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
verifyTextNotPresent | +03/2010 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateResearchFocusForm | ||
comment | +Validate Research Focus and Activity custom form error checking | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Make sure activity doesn't already exist | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/a | ++ |
comment | +Don't enter data in any fields | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Enter only the name | ++ |
assertTitle | +Edit | ++ |
type | +label | +This is a test name | +
comment | +Enter only the name and description | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +description | +This is a test description | +
clickAndWait | +submit | ++ |
comment | +Enter name, description, and role but no dates | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +role | +This is a test role | +
clickAndWait | +submit | ++ |
comment | +Verify that the new activity was added | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/ul/li/span/span/a[1] | ++ |
comment | +Edit activity to add dates | ++ |
assertTitle | +Edit | ++ |
comment | +Add invalid start date | ++ |
type | +startYearMonth | +99-02 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct start date with invalid end date | ++ |
type | +startYearMonth | +1999-02 | +
type | +endYearMonth | +99-12 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct end date | ++ |
type | +endYearMonth | +1999-12 | +
clickAndWait | +submit | ++ |
comment | +Verify that date fields are appearing now | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +02/1999 - 12/1999 | ++ |
comment | +Open up activity entry | ++ |
clickAndWait | +link=This is a test name | ++ |
assertTitle | +This is a test name | ++ |
comment | +Verify that all fields are there | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Assistant Professor | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +This is a test description | ++ |
verifyTextPresent | +1999-02 | ++ |
verifyTextPresent | +1999-12 | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the role text | ++ |
type | +tinymce | +This is a test role 2 | +
clickAndWait | +submit | ++ |
comment | +Change the name text | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the start and end date, with errors first | ++ |
type | +tinymce | +99-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-01 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-01 | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +99-11 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-11 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-11 | ++ |
assertTitle | +This is a test name | ++ |
comment | +Delete activity one field at a time | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-vitro-description']/div/div/div/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +link=edit this individual | ++ |
pause | +10000 | ++ |
comment | +Delete activity form | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
pause | +10000 | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate back to test faculty member to verify activity is gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity was deleted | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
verifyTextNotPresent | +1999-01 | ++ |
verifyTextNotPresent | +1999-11 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateResearchFocusShortView | ||
comment | +Check Research Focus and Activity custom short view | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity entry does not exist already | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
comment | +Edit activity to test date display | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view without start and end dates | ++ |
type | +label | +This is another test name | +
type | +description | +This is another test description | +
type | +role | +This is another test role | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with start date only | ++ |
type | +startYearMonth | +2010-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with both start and end dates | ++ |
type | +endYearMonth | +2010-03 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - 03/2010 | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with only end date | ++ |
type | +startYearMonth | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +- 03/2010 | ++ |
verifyTextNotPresent | +01/2010 - 03/2010 | ++ |
comment | +Delete test activity | ++ |
clickAndWait | +//div[@id='oprop-core-hasResearchActivity']/ul/li/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
verifyTextNotPresent | +03/2010 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateTeachingFocusForm | ||
comment | +Validate Teaching Focus and Activity custom form error checking | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Make sure activity doesn't already exist | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/a | ++ |
comment | +Don't enter data in any fields | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Enter only the name | ++ |
assertTitle | +Edit | ++ |
type | +label | +This is a test name | +
comment | +Enter only the name and description | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +description | +This is a test description | +
clickAndWait | +submit | ++ |
comment | +Enter name, description, and role but no dates | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
type | +role | +This is a test role | +
clickAndWait | +submit | ++ |
comment | +Verify that the new activity was added | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/ul/li/span/span/a[1] | ++ |
comment | +Edit activity to add dates | ++ |
assertTitle | +Edit | ++ |
comment | +Add invalid start date | ++ |
type | +startYearMonth | +99-02 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct start date with invalid end date | ++ |
type | +startYearMonth | +1999-02 | +
type | +endYearMonth | +99-12 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
comment | +Add correct end date | ++ |
type | +endYearMonth | +1999-12 | +
clickAndWait | +submit | ++ |
comment | +Verify that date fields are appearing now | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is a test name | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +02/1999 - 12/1999 | ++ |
comment | +Open up activity entry | ++ |
clickAndWait | +link=This is a test name | ++ |
assertTitle | +This is a test name | ++ |
comment | +Verify that all fields are there | ++ |
verifyTextPresent | +Jane Faculty | ++ |
verifyTextPresent | +Assistant Professor | ++ |
verifyTextPresent | +This is a test role | ++ |
verifyTextPresent | +This is a test description | ++ |
verifyTextPresent | +1999-02 | ++ |
verifyTextPresent | +1999-12 | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the role text | ++ |
type | +tinymce | +This is a test role 2 | +
clickAndWait | +submit | ++ |
comment | +Change the name text | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Change the start and end date, with errors first | ++ |
type | +tinymce | +99-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-01 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-01 | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +99-11 | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Please correct this value: must be a valid year and month (YYYY-MM). | ++ |
type | +tinymce | +1999-11 | +
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
verifyTextPresent | +1999-11 | ++ |
assertTitle | +This is a test name | ++ |
comment | +Delete activity one field at a time | ++ |
clickAndWait | +//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-vitro-description']/div/div/div/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +//div[@id='dprop-core-role']/div/div/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +This is a test name | ++ |
clickAndWait | +link=edit this individual | ++ |
comment | +Delete activity form | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
click | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate back to test faculty member to verify activity is gone | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity was deleted | ++ |
verifyTextNotPresent | +This is a test name | ++ |
verifyTextNotPresent | +This is a test role | ++ |
verifyTextNotPresent | +1999-01 | ++ |
verifyTextNotPresent | +1999-11 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
ValidateTeachingFocusShortView | ||
comment | +Check Teaching Focus and Activity custom short view | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +username | +testAdmin | +
type | +password | +Password | +
clickAndWait | +loginSubmitMode | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to test faculty member via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify activity entry does not exist already | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
comment | +Edit activity to test date display | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view without start and end dates | ++ |
type | +label | +This is another test name | +
type | +description | +This is another test description | +
type | +role | +This is another test role | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with start date only | ++ |
type | +startYearMonth | +2010-01 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with both start and end dates | ++ |
type | +endYearMonth | +2010-03 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +01/2010 - 03/2010 | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/ul/li/span/span/a[1] | ++ |
assertTitle | +Edit | ++ |
comment | +Test custom short view with only end date | ++ |
type | +startYearMonth | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextPresent | +This is another test name | ++ |
verifyTextPresent | +This is another test role | ++ |
verifyTextPresent | +- 03/2010 | ++ |
verifyTextNotPresent | +01/2010 - 03/2010 | ++ |
comment | +Delete test activity | ++ |
clickAndWait | +//div[@id='oprop-core-hasTeachingActivity']/ul/li/span/span/a[2] | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
verifyTextNotPresent | +This is another test name | ++ |
verifyTextNotPresent | +This is another test role | ++ |
verifyTextNotPresent | +03/2010 | ++ |
comment | +Log out | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
VerifyAllActivitiesAppear | ||
comment | +Verify all 8 activities show up | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Navigate to Jane Faculty via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all 8 activities are present | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions Lead Researcher, 01/2001 - 01/2002 | ++ |
verifyTextPresent | +Relationship Between Stress and Children Consulting Researcher, 03/2003 - 03/2007 | ++ |
verifyTextPresent | +Drug Interactions Associate Professor, 02/2001 - 02/2012 | ++ |
verifyTextPresent | +Introduction to Drugs Lecturer, 04/2003 - 04/2007 | ++ |
verifyTextPresent | +AMA President, 08/2008 - 09/2009 | ++ |
verifyTextPresent | +Private practice Doctor, 06/1990 - | ++ |
verifyTextPresent | +Free Cancer Screening Clinic Founder, 12/2001 - 12/2012 | ++ |
verifyTextPresent | +Public lectures on reducing stress Speaker, 05/2005 - 06/2006 | ++ |
comment | +Go back to front page | ++ |
clickAndWait | +link=VIVO | ++ |
assertTitle | +VIVO | ++ |
VerifyAllActivitiesSearchable | ||
comment | +Verify all 8 activities are searchable | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
comment | +Verify Research Focus 1 is searchable | ++ |
type | +search | +cancer treatment | +
clickAndWait | +submit | ++ |
assertTitle | +cancer treatment - VIVO Search Results | ++ |
verifyTextPresent | +Cancer Treatment Drug Interactions | ++ |
clickAndWait | +link=Cancer Treatment Drug Interactions | ++ |
assertTitle | +Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +Lead Researcher | ++ |
verifyTextPresent | +2001-01 | ++ |
verifyTextPresent | +2002-01 | ++ |
comment | +Verify Research Focus 2 is searchable | ++ |
type | +search | +stress and children | +
clickAndWait | +submit | ++ |
assertTitle | +stress and children - VIVO Search Results | ++ |
verifyTextPresent | +Relationship Between Stress and Children | ++ |
clickAndWait | +link=Relationship Between Stress and Children | ++ |
assertTitle | +Relationship Between Stress and Children | ++ |
verifyTextPresent | +Consulting Researcher | ++ |
verifyTextPresent | +2003-03 | ++ |
verifyTextPresent | +2007-03 | ++ |
comment | +Verify Teaching Focus 1 is searchable | ++ |
type | +search | +drug interactions | +
clickAndWait | +submit | ++ |
assertTitle | +drug interactions - VIVO Search Results | ++ |
verifyTextPresent | +Drug Interactions | ++ |
clickAndWait | +link=Drug Interactions | ++ |
assertTitle | +Drug Interactions | ++ |
verifyTextPresent | +Associate Professor | ++ |
verifyTextPresent | +2001-02 | ++ |
verifyTextPresent | +2012-02 | ++ |
comment | +Verify Teaching Focus 2 is searchable | ++ |
type | +search | +drugs | +
clickAndWait | +submit | ++ |
assertTitle | +drugs - VIVO Search Results | ++ |
verifyTextPresent | +Introduction to Drugs | ++ |
clickAndWait | +link=Introduction to Drugs | ++ |
assertTitle | +Introduction to Drugs | ++ |
verifyTextPresent | +Lecturer | ++ |
verifyTextPresent | +2003-04 | ++ |
verifyTextPresent | +2007-04 | ++ |
comment | +Verify Outrearch Focus 1 is searchable | ++ |
type | +search | +cancer screening | +
clickAndWait | +submit | ++ |
assertTitle | +cancer screening - VIVO Search Results | ++ |
verifyTextPresent | +Free Cancer Screening Clinic | ++ |
clickAndWait | +link=Free Cancer Screening Clinic | ++ |
assertTitle | +Free Cancer Screening Clinic | ++ |
verifyTextPresent | +Founder | ++ |
verifyTextPresent | +2001-12 | ++ |
verifyTextPresent | +2012-12 | ++ |
comment | +Verify Outrearch Focus 2 is searchable | ++ |
type | +search | +reducing stress | +
clickAndWait | +submit | ++ |
assertTitle | +reducing stress - VIVO Search Results | ++ |
verifyTextPresent | +Public lectures on reducing stress | ++ |
clickAndWait | +link=Public lectures on reducing stress | ++ |
assertTitle | +Public lectures on reducing stress | ++ |
verifyTextPresent | +Speaker | ++ |
verifyTextPresent | +2005-05 | ++ |
verifyTextPresent | +2006-06 | ++ |
comment | +Verify Professional Service 1 is searchable | ++ |
type | +search | +AMA | +
clickAndWait | +submit | ++ |
assertTitle | +AMA - VIVO Search Results | ++ |
verifyTextPresent | +AMA | ++ |
clickAndWait | +link=AMA | ++ |
assertTitle | +AMA | ++ |
verifyTextPresent | +President | ++ |
verifyTextPresent | +2008-08 | ++ |
verifyTextPresent | +2009-09 | ++ |
comment | +Verify Professional Service 2 is searchable | ++ |
type | +search | +private practice | +
clickAndWait | +submit | ++ |
assertTitle | +private practice - VIVO Search Results | ++ |
verifyTextPresent | +private practice | ++ |
clickAndWait | +link=Private practice | ++ |
assertTitle | +Private practice | ++ |
verifyTextPresent | +Doctor | ++ |
verifyTextPresent | +1990-06 | ++ |
VerifyAllRolesSearchable | ||
comment | +Verify all 8 roles are searchable | ++ |
deleteAllVisibleCookies | ++ | + |
comment | +No need to log in | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Search for RESEARCHER--will find 2 research focus roles | ++ |
type | +search | +researcher | +
clickAndWait | +submit | ++ |
assertTitle | +researcher - VIVO Search Results | ++ |
verifyElementPresent | +link=Cancer Treatment Drug Interactions | ++ |
verifyTextPresent | +... Testing new cancer treatment drugs with other drugs to determine interactions. start year and month 2001-01 end year and month 2002-01 role Lead Researcher research activity by Jane Faculty ... | ++ |
verifyElementPresent | +link=Relationship Between Stress and Children | ++ |
verifyTextPresent | +... Testing to determine if having children makes your life more stressful. start year and month 2003-03 end year and month 2007-03 role Consulting Researcher research activity by Jane Faculty ... | ++ |
comment | +Search for PROFESSOR--will find 1 teaching focus role | ++ |
type | +search | +professor | +
clickAndWait | +submit | ++ |
assertTitle | +professor - VIVO Search Results | ++ |
verifyElementPresent | +link=Drug Interactions | ++ |
verifyTextPresent | +... Teaching how drugs interact with one another. start year and month 2001-02 end year and month 2012-02 role Associate Professor teaching activity by Jane Faculty ... | ++ |
verifyElementPresent | +link=Jane Faculty | ++ |
verifyTextPresent | +Assistant Professor | ++ |
comment | +Search for LECTURER--will find 1 teaching focus role | ++ |
type | +search | +lecturer | +
clickAndWait | +submit | ++ |
assertTitle | +lecturer - VIVO Search Results | ++ |
verifyElementPresent | +link=Public lectures on reducing stress | ++ |
verifyElementPresent | +link=Introduction to Drugs | ++ |
verifyTextPresent | +... Intoduces first year pre-med students to drugs. start year and month 2003-04 end year and month 2007-04 role Lecturer teaching activity by Jane Faculty ... | ++ |
verifyElementPresent | +link=Jane Faculty | ++ |
verifyTextPresent | +Assistant Professor | ++ |
comment | +For some reason verifying of the last line in the search results bombs out | ++ |
comment | +Search for FOUNDER--will find 1 outreach focus role | ++ |
type | +search | +founder | +
clickAndWait | +submit | ++ |
assertTitle | +founder - VIVO Search Results | ++ |
verifyElementPresent | +link=Free Cancer Screening Clinic | ++ |
verifyTextPresent | +... Founder of clinic to conduct free cancer screenings. start year and month 2001-12 end year and month 2012-12 role Founder outreach activity by Jane Faculty ... | ++ |
comment | +Search for SPEAKER--will find 1 outreach focus role | ++ |
type | +search | +speaker | +
clickAndWait | +submit | ++ |
assertTitle | +speaker - VIVO Search Results | ++ |
verifyElementPresent | +link=Public lectures on reducing stress | ++ |
verifyTextPresent | +... Providing helpful ideas and answer questions about reducing stress. start year and month 2005-05 end year and month 2006-06 role Speaker outreach activity by Jane Faculty ... | ++ |
comment | +Search for PRESIDENT--will find 1 professional service role | ++ |
type | +search | +president | +
clickAndWait | +submit | ++ |
assertTitle | +president - VIVO Search Results | ++ |
verifyElementPresent | +link=AMA | ++ |
verifyTextPresent | +... Won election. start year and month 2008-08 end year and month 2009-09 role President professional activity by Jane Faculty | ++ |
comment | +Search for DOCTOR--will find 1 professional service role | ++ |
type | +search | +doctor | +
clickAndWait | +submit | ++ |
clickAndWait | +link=2 | ++ |
assertTitle | +doctor - VIVO Search Results | ++ |
verifyElementPresent | +link=Private practice | ++ |
verifyTextPresent | +... Practice focuses on reducing stress while taking cancer drugs. start year and month 1990-06 role Doctor professional activity by Jane Faculty ... | ++ |
comment | +All done | ++ |
clickAndWait | +link=VIVO | ++ |
assertTitle | +VIVO | ++ |