From f4cbb296bb2a3f908f9de98cedb1a0fff1839e44 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Thu, 27 Jan 2011 01:26:36 +0000 Subject: [PATCH] Holly had to repair the repair mode test. --- .../suites/AddRoles/CheckRepairMode.html | 27 +-- .../suites/AddRoles/DeleteIndexStuff.html | 176 ++++++++++++++++-- .../AddRoles/DeleteTestFacultyMember.html | 2 +- .../suites/AddRoles/DeleteTestLibrarian.html | 2 +- .../suites/AddRolesVB/CheckRepairMode.html | 27 +-- .../suites/AddRolesVB/DeleteIndexStuff.html | 176 ++++++++++++++++-- .../AddRolesVB/DeleteTestFacultyMember.html | 2 +- .../AddRolesVB/DeleteTestLibrarian.html | 2 +- 8 files changed, 352 insertions(+), 62 deletions(-) diff --git a/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html b/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html index e1faa0ee..0959ac95 100644 --- a/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html +++ b/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html @@ -131,7 +131,7 @@ clickAndWait - //div[@id='hasMemberRole']/a + //h3[@id='hasMemberRole']/a/img @@ -156,12 +156,12 @@ type - startYear + startField.year 1999 type - endYear + endField.year 2009 @@ -236,7 +236,7 @@ clickAndWait - link=edit this individual + link=Edit this individual @@ -274,6 +274,16 @@ //input[@value='Delete'] + + assertConfirmation + Are you sure you want to delete the property Member at Large related role? + + + + waitForPageToLoad + 5000 + + comment Verify role is gone @@ -361,7 +371,7 @@ verifyTextPresent - unknown Member at Large (unidentified activity - please edit) + (no linked activity) Member at Large 1999 - 2009 @@ -371,7 +381,7 @@ clickAndWait - //div[@id='hasMemberRole']/ul/li[2]/span/span/a[1] + //div[@id='wrapper-content']/section[2]/article[3]/ul/li[2]/a[2]/img @@ -389,11 +399,6 @@ Membership Type - - verifyTextPresent - Activity Name - - verifyTextPresent Role in Activity diff --git a/utilities/acceptance-tests/suites/AddRoles/DeleteIndexStuff.html b/utilities/acceptance-tests/suites/AddRoles/DeleteIndexStuff.html index 8d19dbe8..ecdf2638 100644 --- a/utilities/acceptance-tests/suites/AddRoles/DeleteIndexStuff.html +++ b/utilities/acceptance-tests/suites/AddRoles/DeleteIndexStuff.html @@ -261,7 +261,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -331,7 +331,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -401,7 +401,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -471,7 +471,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -536,7 +536,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -606,7 +606,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -676,7 +676,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -746,7 +746,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -816,7 +816,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -886,7 +886,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -956,7 +956,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1026,7 +1026,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1096,7 +1096,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1166,7 +1166,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1236,7 +1236,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1306,7 +1306,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1376,7 +1376,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1446,7 +1446,147 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Organization + + + + assertTitle + Organization + + + + clickAndWait + link=LITA + + + + assertTitle + LITA + + + + clickAndWait + link=Edit this individual + + + + 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 individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Organization + + + + assertTitle + Organization + + + + clickAndWait + link=LITA Too + + + + assertTitle + LITA Too + + + + clickAndWait + link=Edit this individual + + + + 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 individual? If in doubt, CANCEL. diff --git a/utilities/acceptance-tests/suites/AddRoles/DeleteTestFacultyMember.html b/utilities/acceptance-tests/suites/AddRoles/DeleteTestFacultyMember.html index 1704d201..cdbaa5d7 100644 --- a/utilities/acceptance-tests/suites/AddRoles/DeleteTestFacultyMember.html +++ b/utilities/acceptance-tests/suites/AddRoles/DeleteTestFacultyMember.html @@ -161,7 +161,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. diff --git a/utilities/acceptance-tests/suites/AddRoles/DeleteTestLibrarian.html b/utilities/acceptance-tests/suites/AddRoles/DeleteTestLibrarian.html index c4a9aabe..22e1e550 100644 --- a/utilities/acceptance-tests/suites/AddRoles/DeleteTestLibrarian.html +++ b/utilities/acceptance-tests/suites/AddRoles/DeleteTestLibrarian.html @@ -156,7 +156,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. diff --git a/utilities/acceptance-tests/suites/AddRolesVB/CheckRepairMode.html b/utilities/acceptance-tests/suites/AddRolesVB/CheckRepairMode.html index e1faa0ee..b98bc62f 100644 --- a/utilities/acceptance-tests/suites/AddRolesVB/CheckRepairMode.html +++ b/utilities/acceptance-tests/suites/AddRolesVB/CheckRepairMode.html @@ -131,7 +131,7 @@ clickAndWait - //div[@id='hasMemberRole']/a + //h3[@id='hasMemberRole']/a/img @@ -156,12 +156,12 @@ type - startYear + startField.year 1999 type - endYear + endField.year 2009 @@ -236,7 +236,7 @@ clickAndWait - link=edit this individual + link=Edit this individual @@ -274,6 +274,16 @@ //input[@value='Delete'] + + assertConfirmation + Are you sure you want to delete the property Member at Large related role? + + + + waitForPageToLoad + 5000 + + comment Verify role is gone @@ -361,7 +371,7 @@ verifyTextPresent - unknown Member at Large (unidentified activity - please edit) + (no linked activity) Member at Large 1999 - 2009 @@ -371,7 +381,7 @@ clickAndWait - //div[@id='hasMemberRole']/ul/li[2]/span/span/a[1] + //div[@id='content']/section[2]/article[3]/ul/li[2]/a[2]/img @@ -389,11 +399,6 @@ Membership Type - - verifyTextPresent - Activity Name - - verifyTextPresent Role in Activity diff --git a/utilities/acceptance-tests/suites/AddRolesVB/DeleteIndexStuff.html b/utilities/acceptance-tests/suites/AddRolesVB/DeleteIndexStuff.html index 8d19dbe8..ecdf2638 100644 --- a/utilities/acceptance-tests/suites/AddRolesVB/DeleteIndexStuff.html +++ b/utilities/acceptance-tests/suites/AddRolesVB/DeleteIndexStuff.html @@ -261,7 +261,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -331,7 +331,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -401,7 +401,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -471,7 +471,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -536,7 +536,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -606,7 +606,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -676,7 +676,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -746,7 +746,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -816,7 +816,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -886,7 +886,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -956,7 +956,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1026,7 +1026,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1096,7 +1096,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1166,7 +1166,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1236,7 +1236,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1306,7 +1306,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1376,7 +1376,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. @@ -1446,7 +1446,147 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Organization + + + + assertTitle + Organization + + + + clickAndWait + link=LITA + + + + assertTitle + LITA + + + + clickAndWait + link=Edit this individual + + + + 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 individual? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + + + assertTitle + VIVO Site Administration + + + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + + + clickAndWait + link=Organization + + + + assertTitle + Organization + + + + clickAndWait + link=LITA Too + + + + assertTitle + LITA Too + + + + clickAndWait + link=Edit this individual + + + + 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 individual? If in doubt, CANCEL. diff --git a/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestFacultyMember.html b/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestFacultyMember.html index 1704d201..cdbaa5d7 100644 --- a/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestFacultyMember.html +++ b/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestFacultyMember.html @@ -161,7 +161,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL. diff --git a/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestLibrarian.html b/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestLibrarian.html index c4a9aabe..22e1e550 100644 --- a/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestLibrarian.html +++ b/utilities/acceptance-tests/suites/AddRolesVB/DeleteTestLibrarian.html @@ -156,7 +156,7 @@ assertConfirmation - Are you SURE you want to delete this entity? If in doubt, CANCEL. + Are you SURE you want to delete this individual? If in doubt, CANCEL.