diff --git a/utilities/acceptance-tests/suites/CreatePeople/DeleteTestActivities.html b/utilities/acceptance-tests/suites/CreatePeople/DeleteTestActivities.html new file mode 100644 index 00000000..441fe07b --- /dev/null +++ b/utilities/acceptance-tests/suites/CreatePeople/DeleteTestActivities.html @@ -0,0 +1,885 @@ + + + +
+ + +DeleteTestActivities | ||
comment | +Delete all 8 test activities | ++ |
deleteAllVisibleCookies | ++ | + |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
click | +link=Log in | ++ |
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 | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
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 | ++ |
assertTitle | +Cancer Treatment Drug Interactions | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Relationship Between Stress and Children | ++ |
assertTitle | +Relationship Between Stress and Children | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Drug Interactions | ++ |
assertTitle | +Drug Interactions | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Introduction to Drugs | ++ |
assertTitle | +Introduction to Drugs | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Free Cancer Screening Clinic | ++ |
assertTitle | +Free Cancer Screening Clinic | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Public lectures on reducing stress | ++ |
assertTitle | +Public lectures on reducing stress | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=AMA | ++ |
assertTitle | +AMA | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
click | +link=Private practice | ++ |
assertTitle | +Private practice | ++ |
click | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
click | +//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 | ++ |
comment | +End deletions | ++ |
assertTitle | +VIVO Site Administration | ++ |
click | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
click | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
click | +link=Jane Faculty | ++ |
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 | ++ |
assertTitle | +VIVO | ++ |