diff --git a/utilities/acceptance-tests/suites/AddRoles/GrantDisplay.html b/utilities/acceptance-tests/suites/AddRoles/GrantDisplay.html
new file mode 100644
index 00000000..9aacb7cd
--- /dev/null
+++ b/utilities/acceptance-tests/suites/AddRoles/GrantDisplay.html
@@ -0,0 +1,469 @@
+
+
+
+
+
comment |
-
+
|
@@ -86,27 +86,62 @@
comment |
-
+
|
verifyTextPresent |
- Positions |
+ Background |
|
verifyTextPresent |
- Professor, Cornell University 1986 - |
+ awards and honors |
|
verifyTextPresent |
- Associate Professor, Carroll University 1981 - 1985 |
+ Best Professor, conferred by Carroll College, 2002 |
+ |
+
+
+ verifyElementPresent |
+ link=Best Professor |
+ |
+
+
+ verifyElementPresent |
+ link=Carroll College |
|
verifyTextPresent |
- Lecturer, Carroll College 1977 - 1981 |
+ Primate Expert, conferred by Primates-R-Us, 2004 - 2005 |
+ |
+
+
+ verifyElementPresent |
+ link=Primate Expert |
+ |
+
+
+ verifyElementPresent |
+ link=Primates-R-Us |
+ |
+
+
+ verifyTextPresent |
+ Professor of the Decade, conferred by Carroll College |
+ |
+
+
+ verifyElementPresent |
+ link=Professor of the Decade |
+ |
+
+
+ verifyElementPresent |
+ link=Carroll College |
|
diff --git a/utilities/acceptance-tests/suites/CustomAwardsForm/DeleteAwards.html b/utilities/acceptance-tests/suites/CustomAwardsForm/DeleteAwards.html
index 1ce94bf0..266b0f1d 100644
--- a/utilities/acceptance-tests/suites/CustomAwardsForm/DeleteAwards.html
+++ b/utilities/acceptance-tests/suites/CustomAwardsForm/DeleteAwards.html
@@ -31,7 +31,7 @@
comment |
-
+
|
@@ -121,12 +121,12 @@
comment |
-
+
|
clickAndWait |
- css=a.delete-personInPosition > img.delete-individual |
+ css=a.delete-awardOrHonor > img.delete-individual |
|
@@ -136,7 +136,7 @@
clickAndWait |
- submit |
+ id=submit |
|
@@ -146,7 +146,7 @@
clickAndWait |
- css=a.delete-personInPosition > img.delete-individual |
+ css=a.delete-awardOrHonor > img.delete-individual |
|
@@ -156,7 +156,7 @@
clickAndWait |
- submit |
+ id=submit |
|
@@ -166,7 +166,7 @@
clickAndWait |
- css=a.delete-personInPosition > img.delete-individual |
+ css=a.delete-awardOrHonor > img.delete-individual |
|
@@ -176,7 +176,7 @@
clickAndWait |
- submit |
+ id=submit |
|
@@ -186,7 +186,7 @@
comment |
-
+
|
@@ -196,12 +196,222 @@
clickAndWait |
- link=College |
+ link=Award or Honor Receipt |
|
assertTitle |
- College |
+ Award or Honor Receipt |
+ |
+
+
+ clickAndWait |
+ link=Best Professor (Faculty, Jane - 2002) |
+ |
+
+
+ assertTitle |
+ Best Professor (Faculty, Jane - 2002) |
+ |
+
+
+ clickAndWait |
+ link=Edit this individual |
+ |
+
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ clickAndWait |
+ //input[@value='Edit This Individual'] |
+ |
+
+
+ assertTitle |
+ Individual Editing Form |
+ |
+
+
+ click |
+ name=_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 of Contents |
+ |
+
+
+ clickAndWait |
+ link=Award or Honor Receipt |
+ |
+
+
+ assertTitle |
+ Award or Honor Receipt |
+ |
+
+
+ clickAndWait |
+ link=Primate Expert (Faculty, Jane) |
+ |
+
+
+ assertTitle |
+ Primate Expert (Faculty, Jane) |
+ |
+
+
+ clickAndWait |
+ link=Edit this individual |
+ |
+
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ clickAndWait |
+ //input[@value='Edit This Individual'] |
+ |
+
+
+ assertTitle |
+ Individual Editing Form |
+ |
+
+
+ click |
+ name=_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 of Contents |
+ |
+
+
+ clickAndWait |
+ link=Award or Honor Receipt |
+ |
+
+
+ assertTitle |
+ Award or Honor Receipt |
+ |
+
+
+ clickAndWait |
+ link=Professor of the Decade (Faculty, Jane) |
+ |
+
+
+ assertTitle |
+ Professor of the Decade (Faculty, Jane) |
+ |
+
+
+ clickAndWait |
+ link=Edit this individual |
+ |
+
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ clickAndWait |
+ //input[@value='Edit This Individual'] |
+ |
+
+
+ assertTitle |
+ Individual Editing Form |
+ |
+
+
+ click |
+ name=_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 of Contents |
+ |
+
+
+ clickAndWait |
+ link=Organization |
+ |
+
+
+ assertTitle |
+ Organization |
|
@@ -226,7 +436,7 @@
clickAndWait |
- //input[@value="Edit This Individual"] |
+ //input[@value='Edit This Individual'] |
|
@@ -236,7 +446,7 @@
click |
- _delete |
+ name=_delete |
|
@@ -246,7 +456,7 @@
waitForPageToLoad |
- 10000 |
+ 5000 |
|
@@ -259,6 +469,11 @@
link=Index |
|
+
+ assertTitle |
+ Index of Contents |
+ |
+
clickAndWait |
link=Organization |
@@ -271,12 +486,12 @@
clickAndWait |
- link=Carroll University |
+ link=Primates-R-Us |
|
assertTitle |
- Carroll University |
+ Primates-R-Us |
|
@@ -284,9 +499,14 @@
link=Edit this individual |
|
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
clickAndWait |
- //input[@value="Edit This Individual"] |
+ //input[@value='Edit This Individual'] |
|
@@ -296,7 +516,7 @@
click |
- _delete |
+ name=_delete |
|
@@ -306,7 +526,7 @@
waitForPageToLoad |
- 10000 |
+ 5000 |
|
@@ -319,24 +539,29 @@
link=Index |
|
-
- clickAndWait |
- link=Organization |
- |
-
assertTitle |
- Organization |
+ Index of Contents |
|
clickAndWait |
- link=Cornell University |
+ link=Award or Honor |
|
assertTitle |
- Cornell University |
+ Award or Honor |
+ |
+
+
+ clickAndWait |
+ link=Best Professor |
+ |
+
+
+ assertTitle |
+ Best Professor |
|
@@ -344,9 +569,14 @@
link=Edit this individual |
|
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
clickAndWait |
- //input[@value="Edit This Individual"] |
+ //input[@value='Edit This Individual'] |
|
@@ -356,7 +586,7 @@
click |
- _delete |
+ name=_delete |
|
@@ -366,7 +596,7 @@
waitForPageToLoad |
- 10000 |
+ 5000 |
|
@@ -380,13 +610,148 @@
|
- refreshAndWait |
- 10000 |
+ assertTitle |
+ Index of Contents |
|
- verifyElementNotPresent |
- Organizations |
+ clickAndWait |
+ link=Award or Honor |
+ |
+
+
+ assertTitle |
+ Award or Honor |
+ |
+
+
+ clickAndWait |
+ link=Primate Expert |
+ |
+
+
+ assertTitle |
+ Primate Expert |
+ |
+
+
+ clickAndWait |
+ link=Edit this individual |
+ |
+
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ clickAndWait |
+ //input[@value='Edit This Individual'] |
+ |
+
+
+ assertTitle |
+ Individual Editing Form |
+ |
+
+
+ click |
+ name=_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 of Contents |
+ |
+
+
+ clickAndWait |
+ link=Award or Honor |
+ |
+
+
+ assertTitle |
+ Award or Honor |
+ |
+
+
+ clickAndWait |
+ link=Professor of the Decade |
+ |
+
+
+ assertTitle |
+ Professor of the Decade |
+ |
+
+
+ clickAndWait |
+ link=Edit this individual |
+ |
+
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ clickAndWait |
+ //input[@value='Edit This Individual'] |
+ |
+
+
+ assertTitle |
+ Individual Editing Form |
+ |
+
+
+ click |
+ name=_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 of Contents |
|
diff --git a/utilities/acceptance-tests/suites/CustomAwardsForm/SearchAwards.html b/utilities/acceptance-tests/suites/CustomAwardsForm/SearchAwards.html
index a2586c1d..033520c1 100644
--- a/utilities/acceptance-tests/suites/CustomAwardsForm/SearchAwards.html
+++ b/utilities/acceptance-tests/suites/CustomAwardsForm/SearchAwards.html
@@ -31,7 +31,7 @@
comment |
-
+
|
@@ -51,62 +51,7 @@
comment |
-
- |
-
-
- type |
- querytext |
- lecturer |
-
-
- clickAndWait |
- //input[@value='Search'] |
- |
-
-
- assertTitle |
- lecturer - VIVO Search Results |
- |
-
-
- verifyTextPresent |
- Search results for 'lecturer' |
- |
-
-
- verifyElementPresent |
- link=people |
- |
-
-
- verifyElementPresent |
- link=organizations |
- |
-
-
- verifyElementPresent |
- link=Carroll College |
- |
-
-
- verifyTextPresent |
- College |
- |
-
-
- verifyElementPresent |
- link=Faculty, Jane |
- |
-
-
- verifyTextPresent |
- Assistant Professor |
- |
-
-
- comment |
-
+
|
@@ -136,67 +81,7 @@
verifyElementPresent |
- link=organizations |
- |
-
-
- verifyElementPresent |
- link=Faculty, Jane |
- |
-
-
- verifyTextPresent |
- Assistant Professor |
- |
-
-
- verifyElementPresent |
- link=Carroll University |
- |
-
-
- verifyTextPresent |
- University |
- |
-
-
- verifyElementPresent |
- link=Cornell University |
- |
-
-
- verifyTextPresent |
- University |
- |
-
-
- comment |
-
- |
-
-
- type |
- querytext |
- carroll |
-
-
- clickAndWait |
- //input[@value='Search'] |
- |
-
-
- assertTitle |
- carroll - VIVO Search Results |
- |
-
-
- verifyTextPresent |
- Search results for 'carroll' |
- |
-
-
- verifyElementPresent |
- link=people |
+ link=activities |
|
@@ -204,6 +89,56 @@
link=organizations |
|
+
+ verifyElementPresent |
+ link=research |
+ |
+
+
+ verifyTextPresent |
+ Professor of the Decade Award or Honor |
+ |
+
+
+ verifyElementPresent |
+ link=Professor of the Decade |
+ |
+
+
+ verifyTextPresent |
+ Best Professor Award or Honor |
+ |
+
+
+ verifyElementPresent |
+ link=Best Professor |
+ |
+
+
+ verifyTextPresent |
+ Professor of the Decade (Faculty, Jane) Award or Honor Receipt |
+ |
+
+
+ verifyElementPresent |
+ link=Professor of the Decade (Faculty, Jane) |
+ |
+
+
+ verifyTextPresent |
+ Best Professor (Faculty, Jane - 2002) Award or Honor Receipt |
+ |
+
+
+ verifyElementPresent |
+ link=Best Professor (Faculty, Jane - 2002) |
+ |
+
+
+ verifyTextPresent |
+ Carroll College Organization |
+ |
+
verifyElementPresent |
link=Carroll College |
@@ -211,17 +146,7 @@
verifyTextPresent |
- College |
- |
-
-
- verifyElementPresent |
- link=Carroll University |
- |
-
-
- verifyTextPresent |
- University |
+ Faculty, Jane Assistant Professor |
|
@@ -229,59 +154,29 @@
link=Faculty, Jane |
|
-
- verifyTextPresent |
- Assistant Professor |
- |
-
comment |
-
- |
-
-
- clickAndWait |
- link=Carroll College |
- |
-
-
- assertTitle |
- Carroll College |
- |
-
-
- verifyElementNotPresent |
- link=Faculty, Jane |
- |
-
-
- verifyTextNotPresent |
- Faculty, Jane, Lecturer 1977 - 1981 |
- |
-
-
- comment |
-
+
|
type |
- querytext |
- university |
+ name=querytext |
+ primate |
clickAndWait |
- //input[@value='Search'] |
+ css=input.search |
|
assertTitle |
- university - VIVO Search Results |
+ primate - VIVO Search Results |
|
verifyTextPresent |
- Search results for 'university' |
+ Search results for 'primate' |
|
@@ -289,6 +184,11 @@
link=people |
|
+
+ verifyElementPresent |
+ link=activities |
+ |
+
verifyElementPresent |
link=organizations |
@@ -296,82 +196,47 @@
verifyElementPresent |
- link=Cornell University |
- |
-
-
- verifyTextPresent |
- University |
+ link=research |
|
verifyElementPresent |
- link=Carroll University |
+ link=locations |
|
verifyTextPresent |
- University |
+ Primate Expert Award or Honor |
|
- comment |
-
- |
-
-
- clickAndWait |
- link=Carroll University |
- |
-
-
- assertTitle |
- Carroll University |
- |
-
-
- verifyElementNotPresent |
- link=Faculty, Jane |
- |
-
-
- verifyTextNotPresent |
- Faculty, Jane, Lecturer 1977 - 1981 |
- |
-
-
- type |
- querytext |
- university |
-
-
- clickAndWait |
- //input[@value='Search'] |
- |
-
-
- clickAndWait |
- link=Cornell University |
- |
-
-
- assertTitle |
- Cornell University |
+ verifyElementPresent |
+ link=Primate Expert |
|
verifyTextPresent |
- Affiliation |
+ Primate Expert (Faculty, Jane) Award or Honor Receipt |
+ |
+
+
+ verifyElementPresent |
+ link=Primate Expert (Faculty, Jane) |
|
verifyTextPresent |
- people |
+ Primates-R-Us Organization |
+ |
+
+
+ verifyElementPresent |
+ link=Primates-R-Us |
|
verifyTextPresent |
- faculty position |
+ Faculty, Jane Assistant Professor |
|
@@ -379,11 +244,6 @@
link=Faculty, Jane |
|
-
- verifyTextPresent |
- Faculty, Jane, Professor 1986 - |
- |
-
comment |
diff --git a/utilities/acceptance-tests/suites/CustomAwardsForm/Suite.html b/utilities/acceptance-tests/suites/CustomAwardsForm/Suite.html
index a43b7f71..6194885c 100644
--- a/utilities/acceptance-tests/suites/CustomAwardsForm/Suite.html
+++ b/utilities/acceptance-tests/suites/CustomAwardsForm/Suite.html
@@ -1,22 +1,23 @@
-
-
-
-
-
- Test Suite
-
-
-
-
-
+
+
+
+
+
+ Test Suite
+
+
+
+
+