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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeleteTestActivities
commentDelete all 8 test activities
deleteAllVisibleCookies
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clicklink=Log in
assertTitleVIVO Site Administration
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
clickloginSubmitMode
commentNavigate to Jane Faculty via Index
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
commentVerify 8 activities to be deleted are present
verifyTextPresentCancer Treatment Drug Interactions Lead Researcher, 01/2001 - 01/2002
verifyTextPresentRelationship Between Stress and Children Consulting Researcher, 03/2003 - 03/2007
verifyTextPresentDrug Interactions Associate Professor, 02/2001 - 02/2012
verifyTextPresentIntroduction to Drugs Lecturer, 04/2003 - 04/2007
verifyTextPresentAMA President, 08/2008 - 09/2009
verifyTextPresentPrivate practice Doctor, 06/1990 -
verifyTextPresentFree Cancer Screening Clinic Founder, 12/2001 - 12/2012
verifyTextPresentPublic lectures on reducing stress Speaker, 05/2005 - 06/2006
commentStart deletions
clicklink=Cancer Treatment Drug Interactions
assertTitleCancer Treatment Drug Interactions
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
clicklink=Relationship Between Stress and Children
assertTitleRelationship Between Stress and Children
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
clicklink=Drug Interactions
assertTitleDrug Interactions
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
clicklink=Introduction to Drugs
assertTitleIntroduction to Drugs
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
clicklink=Free Cancer Screening Clinic
assertTitleFree Cancer Screening Clinic
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
clicklink=Public lectures on reducing stress
assertTitlePublic lectures on reducing stress
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
clicklink=AMA
assertTitleAMA
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
clicklink=Private practice
assertTitlePrivate practice
clicklink=edit this individual
assertTitleIndividual Control Panel
click//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
commentEnd deletions
assertTitleVIVO Site Administration
clicklink=Index
assertTitleIndex to VIVO Contents
clicklink=Faculty Member
assertTitleFaculty Member
clicklink=Jane Faculty
assertTitleJane Faculty
commentVerify all 8 activities are gone
verifyTextNotPresentCancer Treatment Drug Interactions Lead Researcher, 01/2001 - 01/2002
verifyTextNotPresentRelationship Between Stress and Children Consulting Researcher, 03/2003 - 03/2007
verifyTextNotPresentDrug Interactions Associate Professor, 02/2001 - 02/2012
verifyTextNotPresentIntroduction to Drugs Lecturer, 04/2003 - 04/2007
verifyTextNotPresentAMA President, 08/2008 - 09/2009
verifyTextNotPresentPrivate practice Doctor, 06/1990 -
verifyTextNotPresentFree Cancer Screening Clinic Founder, 12/2001 - 12/2012
verifyTextNotPresentPublic lectures on reducing stress Speaker, 05/2005 - 06/2006
commentLog out
clicklink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/CreatePeople/Suite.html b/utilities/acceptance-tests/suites/CreatePeople/Suite.html index 188e00dc..66b944d1 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/Suite.html +++ b/utilities/acceptance-tests/suites/CreatePeople/Suite.html @@ -28,6 +28,7 @@ VerifyAllActivitiesAppear VerifyAllActivitiesSearchable VerifyAllRolesSearchable +DeleteTestActivities DeleteTestFacultyMember diff --git a/utilities/acceptance-tests/suites/CreatePeople/VerifyAllActivitiesAppear.html b/utilities/acceptance-tests/suites/CreatePeople/VerifyAllActivitiesAppear.html index 351d8466..6ca242ad 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/VerifyAllActivitiesAppear.html +++ b/utilities/acceptance-tests/suites/CreatePeople/VerifyAllActivitiesAppear.html @@ -49,46 +49,6 @@ 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 Jane Faculty via Index @@ -171,12 +131,12 @@ comment - Log out + Go back to front page clickAndWait - link=Log out + link=VIVO diff --git a/utilities/acceptance-tests/suites/CreatePeople/VerifyAllRolesSearchable.html b/utilities/acceptance-tests/suites/CreatePeople/VerifyAllRolesSearchable.html index 2a4cf068..1c370cdf 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/VerifyAllRolesSearchable.html +++ b/utilities/acceptance-tests/suites/CreatePeople/VerifyAllRolesSearchable.html @@ -131,7 +131,7 @@ verifyTextPresent - Assistant Professor + Assistant Professor @@ -176,12 +176,12 @@ verifyTextPresent - Assistant Professor + Assistant Professor verifyTextPresent - ... and community service Public lectures on reducing stress outreach and community service Free Cancer ... + .. and community service Free Cancer Screening Clinic outreach and community service Public lectures ... @@ -271,7 +271,7 @@ verifyTextPresent - ... Won election. start year and month 2008-08 end year and month 2009-09 role President professional activity by Jane Faculty + ... Won election. start year and month 2008-08 end year and month 2009-09 role President professional activity by Jane Faculty @@ -299,11 +299,6 @@ doctor - VIVO Search Results - - assertTitle - doctor - VIVO Search Results - - verifyElementPresent link=Private practice