From f96260b40eef78af7aa93ecd411c8fa9b283c4a0 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Mon, 17 Jan 2011 23:15:45 +0000 Subject: [PATCH] Holly made additional changes to the CreatePeople test suite due to changes in messages. --- .../suites/CreatePeople/AddFacultyInfo.html | 35 --- .../suites/CreatePeople/AddFacultyInfo2.html | 45 ---- .../CreatePeople/DeleteFacultyInfo.html | 232 +++++++----------- .../suites/CreatePeople/EditFacultyInfo.html | 40 --- .../CreatePeople/PublicFacultyInfo.html | 10 - .../CreatePeople/SearchFacultyInfo.html | 40 --- 6 files changed, 91 insertions(+), 311 deletions(-) diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html index 81127203..5f32a0cb 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html @@ -259,36 +259,6 @@ Faculty, Jane - - clickAndWait - //section[@id='individual-info']/h3[2]/a/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='add a new item to this list'] - - - - type - name - Monkeys - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - clickAndWait //div[@id='wrapper-content']/section[5]/article[6]/h3/a/img @@ -794,11 +764,6 @@ geographical_region - - verifyElementPresent - link=Monkeys - - verifyElementPresent link=Primates-R-Us Fellowship diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html index 6bbb2a45..d763b1a1 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo2.html @@ -189,41 +189,6 @@ Faculty, Jane - - clickAndWait - //section[@id='individual-info']/h3[2]/a/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='add a new item to this list'] - - - - assertTitle - Edit - - - - type - name - Chimps - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - clickAndWait //div[@id='wrapper-content']/section[6]/article[3]/h3/a/img @@ -594,16 +559,6 @@ link=Mozambique - - verifyElementPresent - link=Apes - - - - verifyElementPresent - link=Chimps - - verifyElementPresent link=Primate Foundation of Africa diff --git a/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html index b291c2b3..fb6a499f 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/DeleteFacultyInfo.html @@ -134,66 +134,6 @@ Delete it all - - clickAndWait - //section[@id='individual-info']/p/a[2]/img - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //ul[@id='individual-areas']/li[1]/a[3]/img - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //ul[@id='individual-areas']/li/a[3]/img - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - clickAndWait //img[@alt='delete'] @@ -215,28 +155,13 @@ - clickAndWait + click //img[@alt='delete'] - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //ul[@id='individual-phone']/li[1]/a[2]/img + assertConfirmation + Are you sure you want to delete your photo? @@ -255,8 +180,13 @@ - clickAndWait - //ul[@id='individual-phone']/li/a[2]/img + click + //img[@alt='delete'] + + + + assertConfirmation + Are you sure you want to delete your photo? @@ -274,9 +204,89 @@ Faculty, Jane + + click + //img[@alt='delete'] + + + + assertConfirmation + Are you sure you want to delete your photo? + + + + assertTitle + Edit + + clickAndWait - //ul[@id='links-primary']/li[1]/a[3]/img + submit + + + + assertTitle + Faculty, Jane + + + + click + //img[@alt='delete'] + + + + assertConfirmation + Are you sure you want to delete your photo? + + + + assertTitle + Edit + + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + click + //img[@alt='delete'] + + + + assertConfirmation + Are you sure you want to delete your photo? + + + + assertTitle + Edit + + + + clickAndWait + submit + + + + assertTitle + Faculty, Jane + + + + click + //img[@alt='delete'] + + + + assertConfirmation + Are you sure you want to delete your photo? @@ -894,46 +904,6 @@ Faculty, Jane - - clickAndWait - //img[@alt='delete'] - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - - - clickAndWait - //div[@id='wrapper-content']/section[11]/article/ul/li/a[2] - - - - assertTitle - Edit - - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - comment Verify everything is gone @@ -999,26 +969,6 @@ link=Mozambique - - verifyElementNotPresent - link=Apes - - - - verifyTextNotPresent - Subject Area - - - - verifyElementNotPresent - link=Chimps - - - - verifyTextNotPresent - Subject Area - - verifyElementNotPresent link=Primate Foundation of Africa diff --git a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html index 493e41ea..353ac648 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html @@ -304,41 +304,6 @@ Faculty, Jane - - clickAndWait - //ul[@id='individual-areas']/li/a[2]/img - - - - assertTitle - Edit - - - - clickAndWait - //input[@id='submit' and @value='add a new item to this list'] - - - - assertTitle - Edit - - - - type - name - Apes - - - clickAndWait - submit - - - - assertTitle - Faculty, Jane - - clickAndWait //div[@id='wrapper-content']/section[6]/article[3]/ul/li/a[2]/img @@ -819,11 +784,6 @@ link=Mozambique - - verifyElementPresent - link=Apes - - verifyElementPresent link=Primate Foundation of Africa diff --git a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html index f445e211..21c2ea67 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html @@ -159,16 +159,6 @@ link=Mozambique - - verifyElementPresent - link=Apes - - - - verifyElementPresent - link=Chimps - - verifyElementPresent link=Primate Foundation of Africa diff --git a/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html index cb9e6649..d7589a44 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/SearchFacultyInfo.html @@ -79,21 +79,6 @@ monkey - VIVO Search Results - - verifyElementPresent - link=research - - - - verifyElementPresent - link=Monkeys - - - - verifyTextPresent - Subject Area - - verifyElementPresent link=Monkey Trainer of the Year @@ -129,21 +114,6 @@ link=people - - verifyElementPresent - link=research - - - - verifyElementPresent - link=Apes - - - - verifyTextPresent - Subject Area - - verifyElementPresent link=Ape Trainer of the Decade @@ -224,16 +194,6 @@ link=people - - verifyElementPresent - link=research - - - - verifyElementPresent - link=Chimps - - verifyElementPresent link=Chimp Lover for Life